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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
SpokingAround
Regular Visitor

How do you combine two running totals in a Dax measure?

Hi,

 

This my first post, so please bear with me... I have tried to give as much info as possible but it is commercially sensitive data so am unable to share the file itself.

I have two tables of records. Each table has a recordID column of unique values, that I use to count the number of distinct records. I have successfully created two running totals.

However, I now wish to combine them, and am completely stumped on how to handle the scenario where one of the running totals has no new data for a given date.

SpokingAround_0-1634289448582.png

 

I have read multiple blogs on this, which conclude that linking to a central date table was the answer along with using the USERELATIONSHIP function. I believe I have this set up correctly.

SpokingAround_1-1634289518004.png


SpokingAround_2-1634289569249.png

SpokingAround_3-1634289591752.png
I am pulling my hair out on the issue... Where am I going wrong?

Thanks

 

SpokingAround

 

1 REPLY 1
lbendlin
Super User
Super User

You will want to include a calendar table in your data model, and then use the date column from that calendar table as your base for the calculation of the measures.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.