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 All,
I try to find cummulative total but i'm getting wrong result
herewith i have attached sample data
i have used
Cumm.Total= CALCULATE( SUM('table'[ Rep currency]),
FILTER(
ALLEXCEPT('table', 'table''[L2]),
'table''[Date]<=MAX( table''[Date])
))
Can anyone recommend a solution for this?
Solved! Go to Solution.
Hi, @Anonymous
It’s my pleasure to answer for you.
You can try like this:
Cumm.Total =
CALCULATE (
SUM ( 'table'[ Rep currency] ),
FILTER ( ALLSELECTED ( 'table' ), 'table'[Date] <= MAX ( 'table'[Date] ) )
)
If it doesn’t solve your problem, please feel free to ask me.
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
Which column do you want to run the calculation on - A or B? Why do both those columns have the same heading? From when should the accumulation start - January of each year or since the very inception?
Hi, @Anonymous
It’s my pleasure to answer for you.
You can try like this:
Cumm.Total =
CALCULATE (
SUM ( 'table'[ Rep currency] ),
FILTER ( ALLSELECTED ( 'table' ), 'table'[Date] <= MAX ( 'table'[Date] ) )
)
If it doesn’t solve your problem, please feel free to ask me.
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Yes. Get a calendar table. You should never attempt time intelligence calculations without a calendar table.
here are some of my articles
https://exceleratorbi.com.au/power-pivot-calendar-tables/
https://exceleratorbi.com.au/dax-time-intelligence-beginners/
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 |
---|---|
114 | |
97 | |
86 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |