Reputation: 1
I made a mini query here to represent the issue I'm having. I'm trying to find a measure or function I can use in power query that will give me the sum of the sales amount but only for rows where "Product Use" says "Kitchen".
FYI I'm using Excel 2016
(https://i.sstatic.net/A2SZsH38.jpg)
I've been researching all day and cannot find anything even though this seems like a very simple thing.
Upvotes: 0
Views: 31
Reputation: 2347
This is the sample data I used for test.
I think you need to do the calculation in powerpivot
Total: =
CALCULATE (
SUM ( Table1[Sales Amount] ),
FILTER ( Table1, [Product Use] = "Kitchen" )
)
Upvotes: 0