Forum Discussion
Anonymous
6 years agoNot applicable
Constrained Running Total
Hi all, my first post/question! New to Power BI, enjoying learning. I have a single table data model that has columns like this: Stuf...Type....Value...Data...Stuff For each "Type", ...
- 6 years ago
Hi Anonymous
Try something like this
CumulativeX = CALCULATE ( [X], FILTER ( ALLEXCEPT( Table, Table[Type] ), Table[Date] <= MAX ( Table[Date] ) ) )Best Regards,
Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.
LinkedIn
Mariusz
6 years agoCommunity Champion
Hi Anonymous
Try something like this
CumulativeX =
CALCULATE (
[X],
FILTER (
ALLEXCEPT( Table, Table[Type] ),
Table[Date] <= MAX ( Table[Date] )
)
)
Best Regards,
Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.
LinkedIn
Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.
- Anonymous6 years agoNot applicable
Many thanks Mariusz!