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
Anonymous
Not applicable

Use Single Processing Date for Calculations

I'm pretty new to Power BI and this may be an obvious item for many of you, but would greatly appreciate the help.  

 

I have a set of data that is loaded each night after the day's processing.  The data includes information on customers and purchases.  One of the measurements I need to create is the Days Since Customer Added.  I have a table with the date that a customer registered and need to compare that to the Processing Date for the platform that comes in on table with one row of data and one column (cannot use system date/time, have to use the value from the control table).  

 

Simple Structure - Customers 

Customer NumberDate Registered
1003/1/2021
1013/15/2021
1024/1/2021
1034/15/2021

 

Processing Date Table

System Processing Date
6/1/2021
 

 

What I need is a measure or a column that does a DATEDIFF between the Date Registered value and the System Processing Date value.  If adding new column I'd need it to look like this....

CustomerDate RegisteredDays Since Registration
1003/1/202192
1013/15/202178
1024/1/202161
1034/15/202147
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Is there relation between two table or a common column ?

 

if not try like

 

a new column in table 1

= datediff([date registered], max(Table[System Processing Date]), day)

 

if there is a common column, get the value first, refer to these methods

refer 4 ways to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , Is there relation between two table or a common column ?

 

if not try like

 

a new column in table 1

= datediff([date registered], max(Table[System Processing Date]), day)

 

if there is a common column, get the value first, refer to these methods

refer 4 ways to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Thanks!  using the Max function worked!  

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.

Top Kudoed Authors