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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Syndicate_Admin
Administrator
Administrator

data from two tables in one gallery

hi Team,

I have a requirement where I need to create one gallery, this gallery should contain the data from two Azure SQL tables, TableA, TableB

 

Schemas of TableA is

TableA : (colA: string, colB: string, colC: int........)

TableB: (colA`: string, colB: bool..........)

ColA and ColA` will contain same value

for a value in colA, there can be multiple entries in TableB

In my gallery I want to display like

ColA, ColB, trueCountFromTableB, falseCountFromTableB, colC

 

Can someone suggest how to achieve this.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @anampelly,

 

You can try 'Merge Queries' in Power Query Editor. A merge queries operation joins two existing tables together based on matching values from one or multiple columns. You can choose to use different types of joins, depending on the output you want.

Merge queries overview - Power Query | Microsoft Learn

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.           

 

 

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @anampelly,

 

You can try 'Merge Queries' in Power Query Editor. A merge queries operation joins two existing tables together based on matching values from one or multiple columns. You can choose to use different types of joins, depending on the output you want.

Merge queries overview - Power Query | Microsoft Learn

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.           

 

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.