Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I am trying to show the MAX value from this column which is made up from a measure
The first picture displays a when i drill down I see all the milages but when i drill back up I get a random number (235,729) when I want to be seeing the MAX value (175,884).
Solved! Go to Solution.
Hi @EMSSS22
please try
Miles (in selected date range) 2 =
MAXX ( VALUES ( 'Table'[VehicleNumber] ), [Miles (in selected date range)] )
Hi, @EMSSS22
You can try the following methods. IF [Miles] is a measure.
Measure = IF(HASONEVALUE('Table'[VehicleNumber]),[Miles],MAXX('Table',[Miles]))
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you for your response - the issue is when I drill back up on the matrix it's still giving me a random number
Hi @EMSSS22
please try
Miles (in selected date range) 2 =
MAXX ( VALUES ( 'Table'[VehicleNumber] ), [Miles (in selected date range)] )
Thank you this worked!!!!
Hi @EMSSS22
As far as I understand, you want to get maximum value based on unitnumber, for this you should write a dax code like in the example below.
Since the value you get in the matrix is a numerical value, it will automatically enter the sum operation, so you should choose max instead of sum in the field you are calculating, as I show in the screenshot.
Best regards,
Ezgi Naz Aslankara
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly