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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
SelflearningBi
Helper III
Helper III

How to subtract different tables and group by to create a bar chart

I would like to show this bar chart, is it possible to show it since I have two tables

SelflearningBi_2-1655794005605.png 
I have two tables, and one table i group by as following: 

SelflearningBi_0-1655794318486.png

and I got this bar chart but I also need to include the ON TIME. 

 

SelflearningBi_1-1655794377296.png

 

I need the ON TIME column which contains in my master table which I group by as following tbale and I need to use the confirmed quantity to subtract the sum of APP Impact quantity to the ON TIME column of Apparel. 

APP: confirmed quantity - (sum of total impact impact of APP)

 

SelflearningBi_2-1655794462614.png

 

 

 

 

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

Hi @SelflearningBi ,

 

Please add a column to second table like below:

delay week = "On Time"

Then union two tables:

table3 = UNION('Table1','Table2')

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

View solution in original post

1 REPLY 1
v-jayw-msft
Community Support
Community Support

Hi @SelflearningBi ,

 

Please add a column to second table like below:

delay week = "On Time"

Then union two tables:

table3 = UNION('Table1','Table2')

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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