Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
This is my table:
I don't know why, but the cross total at the bottom is right although the values in some cols are wrong. You can calculate by yourself, the result for nearly every column is "wrong". The number itself is right but with the numbers shown in the table it should be another result. Do you know why the measure doesn't calculate right although the result at the bottom is still right?
Here is my measure:
M_C running total in Date = CALCULATE( [M_E]; FILTER( ALLSELECTED('Master'[Date]); ISONORAFTER('Master'[Date]; MAX('Master'[Date]); DESC) ) )
Here is the M_E measure:
M_E = sumx(master; (ABS(Master[Rev]*1000)*related('Product'[Enabled])*related(Risk[Risk_Enabled])*related('Status'[Enabled])))
I show M_E in a separate table and in this table the values are ok. I don't know why it works in this table and after the M_C measure it doesn't work properly
Hi mafioso,
Modify DAX formula like below and check if it can work:
M_C running total in Date = CALCULATE ( [M_E]; FILTER ( Master; ISONORAFTER ( 'Master'[Date]; MAX ( 'Master'[Date] ); DESC ) ); ALLSELECTED ( 'Master'[Date] ) )
Regards,
Jimmy Tao
@v-yuta-msft Ok i finally found the problem. Can you help me to fix it?
I marked the lines red. I need the value from 2019 in every other column.
So I want it to look like that:
-256 -768 -768 -768 -768 -768
Hi mafioso,
What's the logic of values you want to achieve from "2019 in every other column"? Could you give more details about your table and measure you are using and also more details about your expected requirement?
Regards,
Jimmy Tao
Thanks for your answer but that is not really the answer i was looking for. I want to have a cumulative total by year and somehow some values are not counting. Your solution gives me the correct numbers, now I need to summarize them.
For example:
2018: 5 (5)
2019: 9 (4)
2020: 16 (7)
2021: 20 (4)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
77 | |
63 | |
51 | |
47 |
User | Count |
---|---|
212 | |
82 | |
61 | |
60 | |
57 |