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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
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.