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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

how to create a new table that the data comes from different excel sheets and filter visuals by it

hi team,

1. I have an excel file that contains 4 sheets. 

 

2. I have uploaded the excel file with above 4 sheets into powerBI Desktop, and create 4 charts already.

   Now I want to filter the 4 charts by SFDC, CMN and CMID together. But I can't do this directly, the behavior now is that if i add sheet1->CMN column into 'Filters on this page' section, then only the chart based on sheet1 will be filtered, the rest 3 charts won't be affected.  If I add sheet2->CMN into filter sections as well, then there will be two CMN fitlers which is unexpected.

 

Help needed:

How can i filter the 4 charts in 1 page by SFDC, CMN and CMID together?? I need some data processing by DAX to build relationship for these 4 sheets, right? how to achieve it?

 

 

 

 

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @Anonymous 

you can create 3 lookup tables (SFDC, CMN and CMID) each containing one column of all unique values. Example:

SFDC= 

DISTINCT (UNION ( VALUES (Table1[SFDC]),VALUES (Table2[SFDC]),VALUES (Table3[SFDC]),VALUES (Table4[SFDC])))

then connect the three new tables with the original 4 tables with one to many relationships (total 12 relationships)

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

@tamerj1  thank you for the solution. I tried in powerBI Desktop and It works.

tamerj1
Super User
Super User

Hi @Anonymous 

you can create 3 lookup tables (SFDC, CMN and CMID) each containing one column of all unique values. Example:

SFDC= 

DISTINCT (UNION ( VALUES (Table1[SFDC]),VALUES (Table2[SFDC]),VALUES (Table3[SFDC]),VALUES (Table4[SFDC])))

then connect the three new tables with the original 4 tables with one to many relationships (total 12 relationships)

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.