Forum Discussion
Fidzi8
Helper V
6 years agoWrong value in Matrix
Hi, Please, I need advice. My matrix works badly and I donť know how edit DAX My data tabel is here: Thank you Ondřej
- 6 years ago
Hi,
this is the solution.
1. Max km = MAX('Profitabilita own fleet AGG'[KM])2. sum max = SUMX(SUMMARIZE(VALUES('Profitabilita own fleet AGG'[KM]);'Profitabilita own fleet AGG'[KM];"ABCD";'Profitabilita own fleet AGG'[Max km]);[ABCD])Ondrej
amitchandak
Super User
6 years agoFidzi8 , I am not able see the level name in you table. but seem like you need sum till a level then take max of Avg for KM.
Try like
maxx(values(Table[level3]),sum(Table[KM]))
Where Level3 is name level having that 1481 value
Fidzi8
Helper V
6 years ago- amitchandak6 years ago
Super User
Fidzi8 , yes, not sure what the name of the column so used that
- Fidzi86 years ago
Helper V
but column maxx is same as column KM, what should I do next?
I donť know how I have to write formula
Thank you, Ondřej- amitchandak6 years ago
Super User
Fidzi8 ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.