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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
joshua1990
Post Prodigy
Post Prodigy

REMOVE filter from different Visual using DAX

I have a report that shows 2 visuals.

The first one displays the top 10 Sales for the current week on the article level as a matrix. There is a filter on this visual using a week offset.

The second visual shows the Sales overall (not article level) for the current year on a weekly level (axes).

 

The measure for Sales is a simple SUM measure : Sales = SUM(Sales[Value])

 

Now, I would like to click in the matrix on an article. Then the second visual should be filtered to this code.

When I do it now, just the current week is displayed in the second visual, but I need them all.

 

What kind of measure do I need in the second visual to display always all weeks but when selecting 1 article in the matrix this is filtered in the visual?

Adding ALL doesn't help here:

CALCULATE(SUM(Sales[Value]), ALL (Calendar))

 

 

2 REPLIES 2
VahidDM
Super User
Super User

Hi @joshua1990 

 

Can you share a sample of your data?

BTW, try this:

CALCULATE(SUM(Sales[Value]), removefilters(Week))

 

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

Appreciate your Kudos!!

 

@VahidDM : Thanks for your support. Currently, I am not able to provide an example. 

But using your approach doesn't work. 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.