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! Learn more

Reply
Anonymous
Not applicable

Ignore Slicer filter on matrix visual Rows but should apply on Values

Hello All,

 

I have a data as below 

Image.PNG

Power Query to generate data.

 

let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("jdLLCsIwEAXQXyldR8ijycSlsb61Fbel+P9/YZOZKC68CJ3bFM5AOsk0tVZb/dTUqnaT+iXTYxzyx1LLY72RnNVPm9gao3QXPwvQsZUOipLA9my9J0lgd2x1KeD27NalgDuwI+WDfb+BP7J3jgPIU65m1eQ5U96HC3DH1ac//Vkm3AVJYC9sQyngrjK1SJLA3uTUSEsCO9T7YySBHevNIUlg77lkxiF2JeEP1ob03TC/AA==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type text) meta [Serialized.Text = true]) in type table [YearPeriod = _t, SourceName = _t, DestinationName = _t, Platform = _t, ModelScenarioName = _t, #"History Cases" = _t, #"Model + Scenario Cases" = _t]),
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"YearPeriod", type text}, {"SourceName", type text}, {"DestinationName", type text}, {"Platform", type text}, {"ModelScenarioName", type text}, {"History Cases", Int64.Type}, {"Model + Scenario Cases", Int64.Type}})
in
    #"Changed Type"

 

 

I am using matrix visual, and i dragged Source, Destination, Platform, ModelscenarioName in Rows, and Year in Columns and Historycases and Model+Scenario Cases in Values.

 

From slicer Modelscenarioname, whenever i choose some value, it will filter out all the related values of Source, Destination, Platform, ModelscenarioName.

 

What i am trying to get is, whenever i choose modelscenarioname, it should not filter out any of the Source, Destination, Platform, ModelscenarioName values but it should filter and show the sum value of historycases and model+scenariocases for only that selected model scenario name.

 

Any suggestions please.

 

Thanks,

Mohan V.

 

 

 

2 REPLIES 2
Anonymous
Not applicable

HI @Anonymous 

Looks like an unique ask.

What I would do is to create a measure to return 1 for selected value and 0 otherwise.

and on the visual go to format pane and in conditional formatting backgroung and text color as white so that even though the data is present it will hide from plain view.

amitchandak
Super User
Super User

@Anonymous , if you do not it filter, you use edit interaction of all

https://docs.microsoft.com/en-us/power-bi/create-reports/service-reports-visual-interactions

 

calcullate([measure],all(Table[modelscenarioname])

https://www.linkedin.com/pulse/five-recent-power-bi-functions-you-should-use-more-often-amit-chandak

 

In case you want swap measure on use isfiltered

if(isfiltered(Table[modelscenarioname]), [Measure1],[measure2])

 

https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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