cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nirupreddy Frequent Visitor
Frequent Visitor

Column Selection in matrix / table visualization

I have a table with columns a,b,c,d. Is there a way where I can show only columns selected based on a slicer?
Suppose if user chooses A and B only column a,b should be displayed on visualization.

3 ACCEPTED SOLUTIONS

Accepted Solutions
Community Support Team
Community Support Team

Re: Column Selection in matrix / table visualization

Hi @nirupreddy,

 

Normally, if you create the slicer with A,B,C,D and select the value on the slicer, the other visual will be filtered by the value you selected.

 

Untitled.png

 

If you still need help, could you share your data sample and your desired output so that we could help further on it.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

jthomson New Contributor
New Contributor

Re: Column Selection in matrix / table visualization

You could try a bit of pivoting so that you get a model that looks something like this:

 

week - column - value

1 - a - 10

1 - b - 30

...

6 - d - 65

 

Then you could try putting the column attribute into the columns in the matrix, and that ought to work in a filter?

View solution in original post

Highlighted
Super User
Super User

Re: Column Selection in matrix / table visualization

@nirupreddy This might be one way of doing this is...

 

Unpivot your table as below (In power query editor)

 

image.png

 

That's it, now you can see the result as expected.

 

image.png



Did I answer your question? Mark my post as a solution !

Proud to be a Datanaut !





View solution in original post

7 REPLIES 7
Community Support Team
Community Support Team

Re: Column Selection in matrix / table visualization

Hi @nirupreddy,

 

Normally, if you create the slicer with A,B,C,D and select the value on the slicer, the other visual will be filtered by the value you selected.

 

Untitled.png

 

If you still need help, could you share your data sample and your desired output so that we could help further on it.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

nirupreddy Frequent Visitor
Frequent Visitor

Re: Column Selection in matrix / table visualization

Hi cherry,

Thank you for the clarification.
I think framed my question wrongly.
The columns a,b,c,d are not columns , they are  calculated measures on the report.

nirupreddy Frequent Visitor
Frequent Visitor

Re: Column Selection in matrix / table visualization

weekabcd
110304025
220407930
340234785
429417055
5305690100
636775165

On, revisiting the solution Here a ,b,c,d are my column names. How  can i have slicer for column names.?

This would be my sample data @v-piga-msft

jthomson New Contributor
New Contributor

Re: Column Selection in matrix / table visualization

You could try a bit of pivoting so that you get a model that looks something like this:

 

week - column - value

1 - a - 10

1 - b - 30

...

6 - d - 65

 

Then you could try putting the column attribute into the columns in the matrix, and that ought to work in a filter?

View solution in original post

Highlighted
Super User
Super User

Re: Column Selection in matrix / table visualization

@nirupreddy This might be one way of doing this is...

 

Unpivot your table as below (In power query editor)

 

image.png

 

That's it, now you can see the result as expected.

 

image.png



Did I answer your question? Mark my post as a solution !

Proud to be a Datanaut !





View solution in original post

nirupreddy Frequent Visitor
Frequent Visitor

Re: Column Selection in matrix / table visualization

hi @PattemManohar

Thank you for the response.
is there a way to do it if my column a,b,c,d are calculated measures and not columns.

nirupreddy Frequent Visitor
Frequent Visitor

Re: Column Selection in matrix / table visualization

Hi @jthomson
Thank you for
the response.
is there a way to do it if my column a,b,c,d are calculated measures and not columns.

Helpful resources

Announcements
New Topics Started Badges Coming

New Topics Started Badges Coming

We're releasing new versions of the badge that everyone's talking about. ;) Check your inbox for notifications.

MBAS 2020

Save the new date (and location)!

Our business applications community is growing—so we needed a different venue, resulting in a new date and location. See you there!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)