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
v-chuncz-msft
Community Support
6 years ago
Just use MAX instead of SUM.
Measure =
MAX ( 'Profitabilita own fleet AGG'[KM] )
Measure 2 =
DIVIDE ( SUM ( 'Profitabilita own fleet AGG'[KC] ), [Measure] )
Fidzi8
Helper V
6 years agoI have still problem with calculation Kč/km.
When I calculate Max km and this value used to divide Kč/Max km than result is wrong.
thank you
Ondřej
- Fidzi86 years ago
Helper V
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