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
PowerBIUser99
New Member

Creating a measure that is independent of filters

Hi all,

 

I hope that there is one in this community who could be helpful - I have two measures: 1) YTD numbers and 2) FY numbers. However, on the report there is also a filter on months, so what I need is to create a function of FY numbers to be independent of the filtering from the variable months.

 

Can anybody be helpful here?

4 REPLIES 4
amitchandak
Super User
Super User

@PowerBIUser99 , If FY is current FY ?

 

One way is

New FY = calculate([FY], removefilters(Date[Month Year]))

 

or

 

New FY = calculate([FY], all(Date]))

 

Here FY should have its own filter for date

 

or

calculate(Sum(Table[Value]), filter(all(Date), [FY] = max([FY]))

 

or use slicer on an independent date table

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
PowerBIUser99
New Member

@amitchandak Thank you for the response. I tried all three measures, but none of them worked.

PowerBIUser99_0-1631878087709.png

See the picture, in one table I have YTD and FY giving the exact same amount because of filtering Year-To-Date, however the table next is giving the exact amount supposed for FY. I need a measure for the one in the table to the left giving the same amount as the one in the right. 

@PowerBIUser99 ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak Nevermind, I took the wrong month variable, which was the reason behind the measure not working! Sorry, but also thank you! Now it works perfectly ๐Ÿ˜„

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric 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.

Users online (25)