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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
lucacebraak
Regular Visitor

Sum values on same date (different tables)

Hi everyone, 

 

I would like to ask you something. Can someone help me out. 

I made those two graphics using different tables. 

 

lucacebraak_0-1637741102532.png

 

I would like to sum the values of the same date. So for example: 3835 + 73800 = 77635. 

 

Can someone tell me how I can sum the values where the date is equal? 

Probably important to know.

 

- I used count(table[kolom]) to get the amount in both graphics

- I already tried to make a join between the two tables on date. 

 

Thanks in advance 

1 ACCEPTED SOLUTION
rbriga
Impactful Individual
Impactful Individual

@jppv20 is right. 

If you have a calendar table that each of these fact tables can connect to (best practice),

a measure such as Total = SUM('TableA'[Sales]) + SUM('TableB'[Sales])

will work perfectly, assuming your visual uses the year\ month\ dates from the calendar table.

-------------------------
Data analyst by day, hockey goalie by night.
Did I help? Then please hit that "kudos" or "accept as a solution" button!

View solution in original post

4 REPLIES 4
lucacebraak
Regular Visitor

@jppv20 

 

Hi, 

I just create a date table and joined both tables with this table. It worked! So now it is possible to but them both in the visual. 

lucacebraak_0-1637751149026.png

 

I am wondering if I can also use DAX to make a measure. So I will not see dark blue and light blue, but just one. 

I know I can manipulate this as wel with 'Formatting', but I would like to do this on a correct way. 

 

Thanks in advance!

rbriga
Impactful Individual
Impactful Individual

You can always create a measure that does that!

Aggregate =  SUM('TableA'[Sales]) + SUM('TableB'[Sales])

 

There you have it- a measure with one number to rule them all.

-------------------------
Data analyst by day, hockey goalie by night.
Did I help? Then please hit that "kudos" or "accept as a solution" button!
jppv20
Solution Sage
Solution Sage

Hi @lucacebraak ,

 

Do you have a date table to connect both tables?

 

rbriga
Impactful Individual
Impactful Individual

@jppv20 is right. 

If you have a calendar table that each of these fact tables can connect to (best practice),

a measure such as Total = SUM('TableA'[Sales]) + SUM('TableB'[Sales])

will work perfectly, assuming your visual uses the year\ month\ dates from the calendar table.

-------------------------
Data analyst by day, hockey goalie by night.
Did I help? Then please hit that "kudos" or "accept as a solution" button!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.