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
Godio
New Member

DAX Formula or measure to create running total from 4 dates

Hi, 

    I have the data of an app that offers several products at the same time:

    - Digital Wallet 

    - Taxi

    - Bus

    - Bike 

 

   The app registers each users data in a separate table which has the necessary key value to recognize the user in any of the 4 tables mentioned above. 

    I created a calculated column for each of those 4 tables that looks for the last date of the last transaction of each user and calculates the date difference between that date and today. 
    So, for each user we have the amount of days since last transaction. And I pull that to the users table in order to start creating a user profile. Now, the problem; 

 

      I need a measure or calculated column that calculates the 4 date differences I created based on the month. So, right now I have the current values, I need to calculate this date differences for each month. 

Ex: For November: set a MAX for November 30th and calculate de last date of every user in each of the 4 tables 

 

anyone can help?

1 REPLY 1
lbendlin
Super User
Super User

Please provide sample data in usable format and show the expected outcome.

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.