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
venkik79
Frequent Visitor

Visual Filter based on data from a different table - Need help GURUS

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.

1 ACCEPTED 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

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

View solution in original post

3 REPLIES 3

@amitchandak 

 

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

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

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.