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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Cobalt58_9
Frequent Visitor

Merging Totals from Different Data Sets

I'm stuck.

I have four different Tables:

Cobalt58_9_0-1720726958191.png

Each of those has a column titled "Count." I've made Table visuals showing the breakdowns and the overall total.

My question is how can I take those grand totals from the "Count" columns and combine them into one table?

I've tried making a new table, with the the sum=wave1[count] DAX and so on, but kept getting a message of "The SUM function only accepts a column reference as an argument."

What am I missing?

1 ACCEPTED SOLUTION
audreygerred
Super User
Super User

Are you wanting to show the sum of teh counts from all 4 tables?

You can create explicit measures for each:

Count Wave 1 = SUM('Wave 1'[Count])

Count Wave 2A = SUM('Wave 2A'[Count])

Count Wave 2B = SUM('Wave 2B'[Count])

Count Wave 3 = SUM('Wave 3'[Count])

Total Count = [Count Wave 1]+[Count Wave 2A]+[Count Wave 2B]+[Count Wave 3]

 

Also, you should have a star schema in place, that way any dimesnions come from dimension tables and these can be shared between the fact tables.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

2 REPLIES 2
Cobalt58_9
Frequent Visitor

Oh my that's it! I thought I could do it as a Sum= + drawn out DAX. Thank you!

audreygerred
Super User
Super User

Are you wanting to show the sum of teh counts from all 4 tables?

You can create explicit measures for each:

Count Wave 1 = SUM('Wave 1'[Count])

Count Wave 2A = SUM('Wave 2A'[Count])

Count Wave 2B = SUM('Wave 2B'[Count])

Count Wave 3 = SUM('Wave 3'[Count])

Total Count = [Count Wave 1]+[Count Wave 2A]+[Count Wave 2B]+[Count Wave 3]

 

Also, you should have a star schema in place, that way any dimesnions come from dimension tables and these can be shared between the fact tables.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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