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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Super User
Super User

Can you add a column to Total Order like:

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

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


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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