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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Relation between Bar Chart and Table Visual in PBI Desktop

Hello,

Need your help.

 

I have 2 visual. One is bar chart which is plotted against Zipcode and second one is a tale visual which contains the demographic data of that zip code. Both are 2 separate sql server tables which are joined with zipcode column (common in both tables) with 1:N relation in PBI. ZIpcode_detail is a master table and 2nd is detail tables, so 1:N relationship.

 

The bar graph is on details table (x axis has zipcodes)

 

Capture.PNG

 

The zipcode master table has its demographic data.

 

Capture.PNG

 

Now the relation is not working as expected. I have just 1 record (as of now) for zip code 10566 in master table. So when I select any other zipcode e.g. 11378 then the details table visual should not show any data in. It should only show data when 10566 is selected in bar chart.

 

Could you please advise what I am missing here?

 

Thanks

Harshad

 

 

 

 

1 ACCEPTED SOLUTION
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

I create sample table and test, please edit the cross filter direction as "Both" as follows. Then Bar Chart and Table Visual will affect with each other.

1.PNG

When you select a Zipcode value in bar chart, the table visual only display the related value.

select 11378select 11378select 11779select 11779
When we select a value in table visual, the bar chart will be affacted as follows.

4.PNG

Best Regards,
Angelia

View solution in original post

2 REPLIES 2
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

I create sample table and test, please edit the cross filter direction as "Both" as follows. Then Bar Chart and Table Visual will affect with each other.

1.PNG

When you select a Zipcode value in bar chart, the table visual only display the related value.

select 11378select 11378select 11779select 11779
When we select a value in table visual, the bar chart will be affacted as follows.

4.PNG

Best Regards,
Angelia

Anonymous
Not applicable

Thanks @v-huizhn-msft.

 

It worked!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors