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
Anonymous
Not applicable

How to keep some filters with CALCULATETABLE or ignore some external filters?

I am building a report that will have a couple of filters applied to all pages. The filters will be the company and the year. Each page in the report will show related data about the selected company in the selected year. However, i have one scenario where I need to display a history for that company that will span for all years in the dataset. I need to generate a  table that retains the company filter, but excludes the year filter. How do I accomplish this?

 

The sample file:

report pbix 

 

Sample dataset:

InnerSpace_0-1627215473030.png

Company and year selected on page 1:

InnerSpace_1-1627216067017.png

What I want to show on page two (ignoring the year filter):

InnerSpace_2-1627216121685.png

What I am getting instead:

InnerSpace_3-1627216165058.png

 

using this expression:

InnerSpace_4-1627216210270.png

 

6 REPLIES 6
daxer-almighty
Solution Sage
Solution Sage

More precisely, a page-level filter can't be overriden in the sense that data displayed in visuals as labels (attributes of dimensions) will always obey the filter. But in DAX measures you CAN override page- and report-level filters to do calculations on data that's not visible on the page.

daxer-almighty
Solution Sage
Solution Sage

I don't think it's possible. A filter for a page or a report is one that can't be overridden in DAX. The same is true for RLS. So, if you want to show different data on different pages, you have to use page-level filters, not report-level ones.

Anonymous
Not applicable

In the pbix i provided I demonstrated overriding the page filter in "table 3":

InnerSpace_0-1627223865668.png

I assume you are saying that you know its possible to do it that way, but that it can't be done dynamically using the current filter context based on the page filter selections?

Hi @Anonymous ,

 

I think you need to add a new table: 

Table2 = GROUPBY('Table','Table'[ID],'Table'[Year])

vkkfmsft_0-1627368539812.png

 

Then create relationship between Table[ID] and Table2[ID]:

vkkfmsft_1-1627368627060.png

vkkfmsft_2-1627368678433.png

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

Best Regards,
Winniz

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

@v-kkf-msft  This does not work for me. I couldn't open your workbook because I am using an earlier version of the desktop app.  But I can't create the relationship because there are non-unique values in both tables. 

 

Hi @Anonymous ,

 

If you don't want to add other tables, you can try to synchronize slicers for the Year column instead of a report-level filter. Then change the interaction type for the visual to none.

 

image.png

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

Best Regards,
Winniz

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