Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Shelley
Post Prodigy
Post Prodigy

How one of my Running YTD total doesn't filter correctly?

I'm probably (I Hope) missing something simple, but I can't figure it out. I am still having a hard time understanding the logic with some of the DAX commands. So I appreciate the help!

 

We are on Septemeber fiscal year end and I am trying to calculate running sums for three variables, Plan (AOP), Current Year Revenue and Last Year's Revenue. These are my formulas.

 

Fiscal YTD Plan(AOP) Revenue = TOTALYTD([Total AOP Revenue Value], 'RA_Daily_Calendar'[Date],ALL(Daily_Calendar[Date]),"9/30")

Fiscal YTD Revenue = TOTALYTD([Total Revenue Converted], 'RA_Daily_Calendar'[Date],ALL(Daily_Calendar[Date]),"9/30")

Last Fiscal YTD Revenue = CALCULATE([Fiscal YTD Revenue], SAMEPERIODLASTYEAR(Daily_Calendar[Date]))

 

Using these formulas and no slicer filters, everything works great. I can click on the region, sales territory and sales office slicers, the calendars (month, quarter, year), and all works great. However, when I click to filter a Business Unit slicer, the YTD Plan numbers remain calculating for all Business Units. There is Plan data for individual business units). I don't know if I should use ALLSELECTED or ALLEXCEPT (instead of ALL)? Or am I missing something else?

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@Shelley,

 

Share us a simplified example. It really helps to understand your situation.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors