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.
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.
Solved! Go to Solution.
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.
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
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?
@nirupreddy This might be one way of doing this is...
Unpivot your table as below (In power query editor)
That's it, now you can see the result as expected.
Proud to be a PBI Community Champion
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.
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
week | a | b | c | d |
1 | 10 | 30 | 40 | 25 |
2 | 20 | 40 | 79 | 30 |
3 | 40 | 23 | 47 | 85 |
4 | 29 | 41 | 70 | 55 |
5 | 30 | 56 | 90 | 100 |
6 | 36 | 77 | 51 | 65 |
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.
@nirupreddy This might be one way of doing this is...
Unpivot your table as below (In power query editor)
That's it, now you can see the result as expected.
Proud to be a PBI Community Champion
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.
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?
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.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
83 | |
70 | |
60 |
User | Count |
---|---|
150 | |
115 | |
104 | |
89 | |
65 |