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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Kapcer
Frequent Visitor

Remove Outside Filters

Hi, 
I have a martix and a column chart.
The martix shows a person, their score (a measure) and about 40 other columns for that person. The matrix has an applied filter on visual for a date column. It is needed for all the measures to calculate correctly.
The chart is supposed to show how score changes over time for a person selected on a matrix. 

When selecting someone from the martix all I see on the chart is last month data (which is the filter on the martix). 
How do I filter the Calculate(Score, ...) statement so that it retains the context of a month from the column chart and the selected person from the martix without also carring over all the other filters. Appreciate any assistance which can be provided. 

Thanks,
Kacper

3 REPLIES 3
JFAR49ER
Frequent Visitor

Hi Kapcer,

sorry that hasn't worked, could you provide the code for your measures? 
Does the column chart show all months when there is no selection on the matrix? 

thanks 

JFAR49ER
Frequent Visitor

Hi,
I think the dax function that you would want to use is ALLEXCEPT, you can use this in the second part of a CALCULATE function to ignore all filters 'except' the specified column filter that you're interested in. 

In this case i think you would do something like CALCULATE(your expression, ALLEXCEPT(PersonTable, PersonID)) -- hopefully this basic example helps you. This would ignore the specific month column from the matrix and show all months to show the change over time but doesn't ignore the person you've selected from the matrix.

Find the microsoft document on the dax funciton ALLEXCEPT here: https://learn.microsoft.com/en-us/dax/allexcept-function-dax
This area is really useful for different dax functions.

Let me know if this helps 🙂

Hi, this doesn't work. The column chart still filters to last month when a person is selected.

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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.