Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Solved! Go to Solution.
Hi,
this is the solution.
@amitchandak,
I hope that pbix will open.
https://drive.google.com/file/d/1VhR7oDN4ksv_cxgcrXkgJtj06n1GpKOt/view?usp=sharing
Thank you,
Ondřej
Just use MAX instead of SUM.
Measure =
MAX ( 'Profitabilita own fleet AGG'[KM] )
Measure 2 =
DIVIDE ( SUM ( 'Profitabilita own fleet AGG'[KC] ), [Measure] )
Hi @v-chuncz-msft, @amitchandak
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
Hi,
this is the solution.
@Fidzi8 , It should be like
divide(Sum[Table[KC]),Sum(Table[KM])), replace with the correct columns
@Fidzi8 , 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 , yes, not sure what the name of the column so used that
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
@Fidzi8 ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
@Fidzi8 , you can upload to drop box or onedrive and share link
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
97 | |
96 | |
81 | |
74 | |
66 |
User | Count |
---|---|
126 | |
106 | |
105 | |
86 | |
72 |