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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello everyone
I'm putting together a panel and I need to have the accumulated data (YTD). I don't know how I can do it. I have the following formula (these are words)
I have 2 measures:
(the blue line is the if)
Thanks a lot
Solved! Go to Solution.
Hi @Anonymous,
I'd like to suggest you use allselected filters on the fact table and use the current calendar date as conditions to filter on records.
if_acumlado =
CALCULATE (
[IF],
FILTER ( ALLSELECTED ( 'Fact' ), 'fact'[Date] <= MAX ( 'date'[Date] ) )
)
If the above not help, please share more detailed information to help us clarify your scenario to test.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
Thanks for the answer, but I tell you that I have created the calendar table connected with the other tables, but when making the formula, I only see values in 0.
occupy the following formula:
(In blue the if field)
I don't realize I'm doing wrong.
Hi @Anonymous,
I'd like to suggest you use allselected filters on the fact table and use the current calendar date as conditions to filter on records.
if_acumlado =
CALCULATE (
[IF],
FILTER ( ALLSELECTED ( 'Fact' ), 'fact'[Date] <= MAX ( 'date'[Date] ) )
)
If the above not help, please share more detailed information to help us clarify your scenario to test.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
@Syndicate_Admin , where is cumulative logic
Both with help from date table and column on axis come from date table, Assume IF is the measure used
calculate([IF], datesytd('Date'[Date]))
calculate([IF], filter(allselected('Date'),'Date'[Date] <= max('Date'[Date])))
To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!