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.
Hello
Table 1
Name Process1 Process2 Process3 Process4
joe1 1 3 2 4
Joe2 0 2 4 2
joe3 3 2 2 2
I have a visual based on the above table. I have one more table
Table 2
Group Process
ABC Process1
ABC Process2
XYZ Process3
XYZ Process4
I would like to set a filter on table 2 - group , so if the user clicks ABC only the process 1 and Process 2 shows up in the Visual.
How do i make this happen? currently i am struggling - would i do this in EXCEL and import a new table or change in powerbi query..if you could explain the logical steps then if i click the ABC in the filter pane the visual updates to show only the process 1 and process 2 columns.
Solved! Go to Solution.
Hi @venkik79 ,
You will need to unpivot table1 in Query Editor.
Select the Name column and use unpivot other columns feature.
Create a martix using Name as rows, Attribute as columns and Value as values.
Then the slicer should work.
Best Regards,
Jay
@venkik79 , better to unpivot the first table and create a common dimension.
https://radacad.com/pivot-and-unpivot-with-power-bi
Transpose : https://yodalearning.com/tutorials/power-query-helps-transposing-data/
Else try something very similar to
https://radacad.com/change-the-column-or-measure-value-in-a-power-bi-visual-by-selection-of-the-slic...
https://community.powerbi.com/t5/Desktop/Slicer-MTD-QTD-YTD-to-filter-dates-using-the-slicer/td-p/50...
Could you please explain the steps in how i go about doing it.
I don't want to change anything in Table 1 - its the main table where i am plotting a BI visual.
for Table 2 should i import and create a relation ship - if yes any article or if you could write generic logic steps then i can pick it from there.
Hi @venkik79 ,
You will need to unpivot table1 in Query Editor.
Select the Name column and use unpivot other columns feature.
Create a martix using Name as rows, Attribute as columns and Value as values.
Then the slicer should work.
Best Regards,
Jay
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 | |
82 | |
70 | |
60 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |