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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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
Top Kudoed Authors