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
Anonymous
Not applicable

Combine two datasets for making one measure for piechart

Hi,

 

I have the following data model:

2019-07-31 09_04_46-Werma.png

 

I need a piechart with the sum of the uptime duration and the sum of the downtime duration per machine ID, where the downtime duration should also present the downtime description as a legend. Is there anybody who has an idea how to fix this in one piechart? Maybe a measure to combine these data?

5 REPLIES 5
Anonymous
Not applicable

@Anonymous 

 

It is difficult to provide a solution without sample data.

Quick solution is to use Both cross filter direction between Machine ID and Machine data downtime tables and keep "Apply security filters on both sides".

 

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

 

kranthi82
Helper I
Helper I

Hi @Anonymous ,

 

Probably silly suggestion but try merging queries if possible?

Anonymous
Not applicable

Can you help how to do that?

@Anonymous 

 

Try this: https://www.youtube.com/watch?v=hVWSxX-uF-0, hope it helps.

Anonymous
Not applicable

Hi,

 

I am working in direct query mode and merging tables is taking too long (> 0.5 hour and still not ready). Also filter on tables going both directions does not result in a solution, but I think I need some advice how to continue after setting the filters going both ways. Or maybe another solution possible? Thanks in advance for your help!

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.