Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hello all,
I would like to calculate the sum of the respective plants via the customer in PowerBI. (Plant A1 => Customer 2 = 250)
Unfortunately, I am still quite new to PowerBI and need help, as I don't know how to do it. The SumX formula did not work for me, so I am quite confused how i can calculate a something like a sumif with two conditions in PowerBI.
Thank you very much for your help.
Best Regards
Sandro
Solved! Go to Solution.
@Anonymous Well, you could create a calculated table like:
Table = SUMMARIZE('Table',[Plant],[Customer],"Sales",SUM('Table'[Sales]))
Thank you for your fast response/help.
The suggestion worked. But Is there a possibility to get the resulting values in a seperate row? As I want to use the resulting values in a Slicer for numeric ranges?
For example I just want to see customers which sales are higher than 300 in the visualization.
Thank you!
Kind regards
Sandro
@Anonymous Well, you could create a calculated table like:
Table = SUMMARIZE('Table',[Plant],[Customer],"Sales",SUM('Table'[Sales]))
@Anonymous Try:
Column =
VAR __Plant = [Plant]
VAR __Customer = [Customer]
RETURN
SUMX(FILTER('Table', [Plant] = __Plant && [Customer] = __Customer),[Sales])
Measure =
VAR __Plant = MAX([Plant])
VAR __Customer = MAX([Customer])
RETURN
SUMX(FILTER('Table', [Plant] = __Plant && [Customer] = __Customer),[Sales])
User | Count |
---|---|
64 | |
59 | |
47 | |
32 | |
31 |
User | Count |
---|---|
84 | |
73 | |
52 | |
50 | |
44 |