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
Raymo3u99
Helper I
Helper I

Hiding columns in a matrix based on a filter

I have a table with the following columns

 

Region

Category

Org_comment

Region_comment

Cat_comment

Eff_month

Variance_amt

 

I have a filter where the user selects the type of comment to display : Org / Region / Cat

 

I need to display the following in a matrix: ( The comment column should show either org_comment, region_comment or Cat_comment based on user selection)

Region Category and Comment are the rows

 Eff_Month is the column and

Variance_amt is the value

 

RegionCategoryCommentEff Month
    
    

 

Thanks for your help.

 

Raymond

3 REPLIES 3
amitchandak
Super User
Super User

Thanks @amitchandak .

That worked for me. The only issue I found was that it dropped null values from the unpivoted column, so I had to create a view and replace nulls with blanks.

 

Hi @Raymo3u99 ,

 

"That worked for me. The only issue I found was that it dropped null values from the unpivoted column, so I had to create a view and replace nulls with blanks."

Please show a sample data table, maybe I can help you complete the table conversion work.

 

Best regards,
Lionel Chen

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

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.