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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Vishal_2202
New Member

Previous date

I want to create a custom column for previous date of sys date (sys date -1)

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Vishal_2202,

I'd like to suggest you use today function to create a calculated column show the previous date of running system date. (the result will change when system date changes)

PreviousDate = TODAY()-1

TODAY function (DAX) - DAX | Microsoft Learn

Regards,

Xiaoxin Sheng

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @Vishal_2202,

I'd like to suggest you use today function to create a calculated column show the previous date of running system date. (the result will change when system date changes)

PreviousDate = TODAY()-1

TODAY function (DAX) - DAX | Microsoft Learn

Regards,

Xiaoxin Sheng

Vishal_2202
New Member

There is a last_run_date column which contains date and want to compare it with sys_date -1

hi @Vishal_2202 

 

what is sys_date? a column, a measure?

 

p.s. please consider @someone, if you seek further sugestions. 

FreemanZ
Super User
Super User

hi @Vishal_2202 

could you provide some sample data?

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.