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.
I am sure there are tons of ways to do this, but since none of the ones I found here worked, I will share my findings.
Problem: I needed to show the MAX value as a separate line in a time-based Line/Bar combochart AND have the MAXimum value respect the selected time range.
Solution:
Create a new MEASURE, which reads like this:
twsMax = MAXX( ALLSELECTED(weather), CALCULATE(MAX('weather'[tws])) )
And if I am not mistaken, this measure will get all the SELECTED rows in my table called "weather" and returrn the MAX value for the column called "tws".
Solved! Go to Solution.
Hi @CaptainHenkka,
Based on my test, you could refer to below steps:
Sample data
Create a measure
Measure = MAXX(ALLSELECTED(Table1),'Table1'[Value])
Result:
You can also download the PBIX file to have a view.
Regards,
Daniel He
Hi @CaptainHenkka,
Could you please tell me if your problem has been solved? If it is, could you please mark the helpful replies as Answered?
Regards,
Daniel He
Hi @CaptainHenkka,
Based on my test, you could refer to below steps:
Sample data
Create a measure
Measure = MAXX(ALLSELECTED(Table1),'Table1'[Value])
Result:
You can also download the PBIX file to have a view.
Regards,
Daniel He
Thank you @v-danhe-msft, yes this also works and is admittedly a simpler way 🙂 Thanks for the tip!
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 |
---|---|
107 | |
97 | |
75 | |
63 | |
53 |
User | Count |
---|---|
144 | |
103 | |
98 | |
85 | |
64 |