Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric certified for FREE! Don't miss your chance! Learn more

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
Anonymous
Not applicable

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

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@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...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@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.

Anonymous
Not applicable

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

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.