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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
NOTDK
New Member

Need help working with Column Charts

Hello! 

 

I have some data pulled from different sources. 

 

One table contains invoice data / Sales data, which I'm pulling to get a total amount of sales revenue per year, month, day etc.

 

The other three tables consist of expense data, one for labor costs, another for cost of goods sold, and one more for average daily expenses. 

 

Is there an easy way to group the data for the three expense tables, so I can stack those up as a total and compare it side by side to the sales data. 

 

Here is a picture of what I'm working with right now. Power BiPower Bi

 

So basically, the three columns on the left I'd like stacked on top of eachother so I can see how expenses compare to revenue. 

 

Any help would be appreciated!! 

 

Thanks 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@NOTDK , One way is append. You can append all three tables into one , if they same structure.

https://radacad.com/append-vs-merge-in-power-bi-and-power-query

 

Otherwise you have create a measure

Total cost = Sum(cost1[Cost])+ Sum(cost2[Cost]) + Sum(cost3[Cost])

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@NOTDK , One way is append. You can append all three tables into one , if they same structure.

https://radacad.com/append-vs-merge-in-power-bi-and-power-query

 

Otherwise you have create a measure

Total cost = Sum(cost1[Cost])+ Sum(cost2[Cost]) + Sum(cost3[Cost])

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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