Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello,
I have a Revenue Data from 2021-2023 in one Table which is linked to a Calendar Table as per the relationship below. When I create a Running Total measure (using the quick measure) which references the Revenue from 1 table and the Date from the Calendar Table, it works as expected but when I Filter the visual to a particular year (like just 2022), the running total doesnt start from zero as its keeps the previous years revenue in the calculation.
I would like the first value in the RT to be $332k then $766k.
Thanks in advance.
Solved! Go to Solution.
Hi,
I am not sure if the calendar table is assigned as a CALENDAR table, but please try something like below whether it produces the desired outcome or not.
Revenue running total in Date =
CALCULATE (
SUM ( 'QryMonthlyProjectRevenueReport'[Revenue] ),
FILTER (
ALLSELECTED ( 'Calendar' ),
'Calendar'[Date] <= MAX ( 'Calendar'[Date] )
)
)
Hi,
I am not sure if the calendar table is assigned as a CALENDAR table, but please try something like below whether it produces the desired outcome or not.
Revenue running total in Date =
CALCULATE (
SUM ( 'QryMonthlyProjectRevenueReport'[Revenue] ),
FILTER (
ALLSELECTED ( 'Calendar' ),
'Calendar'[Date] <= MAX ( 'Calendar'[Date] )
)
)
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.