Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Filtering A Visual Without Applying Filters


I am trying to create a Comparison View between two sides, and am having trouble getting a common table to reference each side of the comparison. As you can see below, I have selected a total of "$1,080,571" but the below table is instead showing the full sales for that SKU instead of the filtered value.


The problem is applying the filter to make those numbers match results in an error with the other side of my comparison, since you can't reference two different SKU's from two different Accounts at the same time.


If there is DAX that can show a filtered value without the visual having a filtered applied, please let me know where I can read up on that capability. Otherwise, let me know if you might have a suggestion to fix this.


Thank you!


 Totals Mismatch.PNG

Helper I
Helper I

I am not sure what you want to achieve here exactly, and probably it will be hard to guess without having a view into your data model.


Probably there are two main reasons why your values are not matching:

- When you select value from the table, it has specific filter applied which is not propagated to second visual (can be done with DAX or proper data model)

- There is at least one filter which is propagated from one visual to another, that should be removed using DAX


If you would like to share more information, maybe I will be able to help you.

Hi @PawelWrona ,

Appreciate the response. I am trying to achieve what you had mentioned there, selecting a value with specific filters that aren't being applied to the second visual. Would you mind advising which DAX might be able to filter to this value? Both visuals share the same table, which is it's own Dimension table hooked up to my Fact table.


Thank you!

Can you share calculation for "Current Sales Table 1"? Could you somehow mask the data and share pbix file?

@PawelWrona My formula is currently:

Current Sales Table 1 = CALCULATE('FACT_SALES'[Current Sales], FILTER('DIM_SKU',DIM_SKU[Product name]= SELECTEDVALUE('Comparison_Table 1'[Product name])))

And [Current Sales] from Fact_Sales is:
Current Sales = VAR EndDate=EOMONTH(DATE([EndYear],[EndMonth],1),0)
VAR StartDate=DATE([BeginningYear],[BeginningMonth],1)
CALCULATE([Net Sales], DATESBETWEEN(DIM_DATE[Date],StartDate,EndDate))
I will work on removing data for a PBI file to share, but let me know if you may have an idea based on that formula. Thanks!

Could you provide the calculation for [Net Sales] as well? Still, pbix file would be the best option here.


And small off-topic here. Try not to use FILTER function within CALCULATE, especially when you pass entire table as an argument, it's a performance killer.

@PawelWrona Net Sales is:

Net Sales = CALCULATE(SUM(FACT_SALES[Value]),FACT_SALES[Attribute]="Net")
And understandable if you may need the model to troubleshoot this. Appreciate the headsup on the Filter function.
Thank you

Helpful resources

May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Solution Authors