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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It 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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.