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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.