This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi All,
I have an excel file with 3 columns: "Month", "Name" and "Quantity" as you can see below.
I've created a first measure to have the max value for each customer by month:
Max by customer = CALCULATE(MAX(Feuil1[Quantity]))
Below is the result for the month "11":
That's great, but when I went a level up and displayed the values by month, I got the result below:
For the month 11 I got the maximun value 250.00 but what I need is to the the SUM of each max value for each customer, which will be : 250.00 + 172.40 + 120.80 + 110.20 + 78.10 + 25.60 = 757.10
How I can fix fix it ? and modify my measure to get the SUM of the maxinum values for each month ?
Below is how I diplay my data:
Thanks in advance 🙂
Solved! Go to Solution.
@Anonymous
Give this a try.
Sum Max = SUMX ( VALUES ( YourTable[Name] ), [Max by customer] )
You will have to change the measure to match your table name.
@Anonymous
Give this a try.
Sum Max = SUMX ( VALUES ( YourTable[Name] ), [Max by customer] )
You will have to change the measure to match your table name.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 31 | |
| 24 | |
| 23 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 63 | |
| 36 | |
| 28 | |
| 23 | |
| 22 |