Forum Discussion
Anonymous
3 years agoNot applicable
Max value from a time range
Hi, I am trying to show the highest value in a certain time frame (time slicer on the right). In the image below you can see that the highest value is 8787 on April, is there any way I can show these...
Anonymous
3 years agoNot applicable
Hi Anonymous ,
Please have a try.
Create 2 columns.
year=year(table[date])month=month(table[date])
Then create a measure.
measure =
VAR _1 =
CALCULATE (
SUM ( table[value] ),
FILTER (
ALL ( table ),
table[year] = SELECTEDVALUE ( table[year] )
&& table[month] = SELECTEDVALUE ( table[month] )
)
)
RETURN
MAXX ( ALLSELECTED ( table ), _1 )
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.