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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Use a slicer only filter one specific column

Hi, 

 

How do I use a slicer in which it only filters me a specific column? For example have the "study version filter" filter the column of the "Actual" value and have the "reference version" filter the value of the comparison. 

Here's an example:

filter.PNG

 

Best regards

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Anonymous & @rax99

 

The solution; 

Create two tables: One table with Study Version and other table with Reference version. 

After use this measure [example]:

Measure= SWITCH(SELECTEDVALUE('Scenario'[Study Version]), "Actual", CALCULATE(SUM(FactFinance[STU])), "Actual LY", CALCULATE(SUM(FactFinance[STU]............

Measure= SWITCH(SELECTEDVALUE('Scenario2'[Reference Version]), "Actual", CALCULATE(SUM(FactFinance[REF)), "Actual LY", CALCULATE(SUM(FactFinance[REF]............

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

@Anonymous & @rax99

 

The solution; 

Create two tables: One table with Study Version and other table with Reference version. 

After use this measure [example]:

Measure= SWITCH(SELECTEDVALUE('Scenario'[Study Version]), "Actual", CALCULATE(SUM(FactFinance[STU])), "Actual LY", CALCULATE(SUM(FactFinance[STU]............

Measure= SWITCH(SELECTEDVALUE('Scenario2'[Reference Version]), "Actual", CALCULATE(SUM(FactFinance[REF)), "Actual LY", CALCULATE(SUM(FactFinance[REF]............

rax99
Helper V
Helper V

Dont know if this a viable solution but can you split out the table into seperate charts/tables/cards and edit the interactions between the filter and the chart? So only that filter, interacts with that specific chart?

Anonymous
Not applicable

Hi @Anonymous

 

You cant filter values just for one column in the visual based on slicer selection. Any contex alteration you can do in the DAX measure. I agree with @rax99 suggestion on this.

 

Thanks

Raj

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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