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

Show % based on 2 tables

Hello everyone, I have 2 different tables in my power bi that I am interested in making a pie chart. Is there any way to combine this great tgt dataset? I give an example below

Total order
1
2
3
4
5

OrderSuccess
1Yes
2Yes
3Yes


I would like to show a pie chart of Sucess based on the Total Order column (which would obviously be 60%) but my powerbi still shows it as 100% based on the order of the columns even after the addition of many-many relationships between Order and Total Order.

How does this work with thanks!

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@mdjoshua94 

 

See solution in post below.

https://community.powerbi.com/t5/Desktop/Show-based-on-2-tables/td-p/1075652

 

Community Support Team _ Sam Zha
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

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@mdjoshua94 

 

See solution in post below.

https://community.powerbi.com/t5/Desktop/Show-based-on-2-tables/td-p/1075652

 

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Greg_Deckler
Community Champion
Community Champion

Can you add a column to Total Order like:

LOOKUPVALUE('Orders'[Success],'Orders'[Order],'Totals',[Total order])

Or MAXX(FILTER(...),...)?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

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.

Top Solution Authors