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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
taeyang
Frequent Visitor

How do I create a YTD which is not affected by month filter

Hi. I would like to create a table showing monthly data and YTD data at the same time.

I want to put a month slicer so that monthly data can change based on month selection in the filter but YTD being unchanged.

 

taeyang_0-1664528280128.png

 

I created two calendar; 1.All months and  2 YTD months.

taeyang_1-1664527317547.png

taeyang_2-1664527330708.png (Max date for YTD is defined here)

 

From DB, I calculate the value in smaller scale (/1000) = "mValue"

taeyang_3-1664527426052.png

 

And my further steps to arrive at YTD

1. Calculate YTD value using TOTALYTD with Calendar dates (Defined period)

taeyang_5-1664527493199.png

2. Define Year in YTD value to arrive at "CYTD" and "PYTD"

taeyang_4-1664527473918.png

3. In filter, I put months from 1. All month Calendar as below.

taeyang_6-1664527796014.png

 

How can I fix the YTD figures so that it does not move along with the month filteration I have ?

 

 

 

2 REPLIES 2
taeyang
Frequent Visitor

Hi, Thanks for the tips. 

Where exactly should I enter the REMOVEFILTERS() ?

lbendlin
Super User
Super User

use REMOVEFILTERS()

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.