Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi all
How can I return in a dax measure the month whose got the highest volume in any month?
In this case the highest volume is march, therefore the dax should return me March:
I already have calculated the maximum volume for march:
How could I get the march month with dax?
Thanks.
@o59393 ,
You can try something like this:
MaxMonth = CALCULATE( MAX( Query1[Month 445] ),
FILTER( Query1, Query1[Rolling with % produced by plant] =
[Month Max demand] ))
I have tried my best to interpret your table and column names. You may have to adjust the syntax if I have not got them correct.
Hope this helps.
Regards,
Hi @rsbin
I got this error:
To summarize what each means:
@o59393 ,
Then please try this:
MaxMonth = CALCULATE( MAX( Query1[Month 445] ),
FILTER( Query1, Query1[KO Volume] = [Month Max demand] )) =
Regards,
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
104 | |
95 | |
80 | |
67 | |
62 |
User | Count |
---|---|
146 | |
110 | |
107 | |
86 | |
63 |