Forum Discussion
Fidzi8
6 years agoHelper V
Wrong 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
Fidzi8
6 years agoHelper V
amitchandak,
I hope that pbix will open.
https://drive.google.com/file/d/1VhR7oDN4ksv_cxgcrXkgJtj06n1GpKOt/view?usp=sharing
Thank you,
Ondřej
v-chuncz-msft
6 years agoCommunity Support
Just use MAX instead of SUM.
Measure =
MAX ( 'Profitabilita own fleet AGG'[KM] )
Measure 2 =
DIVIDE ( SUM ( 'Profitabilita own fleet AGG'[KC] ), [Measure] )
- Fidzi86 years agoHelper V
I 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 agoHelper 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