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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply

Need Help!!!!

Hi everyone.

 

I am having some issues bringing a date into a card into BI.

 

Basically, I have a date column which gets updated randomly (around once a week) I have a column with the latest date in as that is simple (lastdate function) However, I want last but one date in the column and every measure i have tried, it comes up with the day before the last date when there is no data in there for that date.

 

Example: - Last date is currently 13/08/2018. Previous date before that is currently 10/08/2018. How do I bring in this date. I thought it would be like lastdate - last date -1 or previous day function but nothing works.

 

Can someone help please..

 

Thank you

1 ACCEPTED SOLUTION
rajulshah
Resident Rockstar
Resident Rockstar

Hello @TheLegendTamer,

 

Hopefully below link will help you going in the similar direction.

https://community.powerbi.com/t5/Desktop/How-to-get-previous-row-value-for-text-column/td-p/312560

 

Hope this works.

 

Regards.

View solution in original post

2 REPLIES 2
rajulshah
Resident Rockstar
Resident Rockstar

Hello @TheLegendTamer,

 

Hopefully below link will help you going in the similar direction.

https://community.powerbi.com/t5/Desktop/How-to-get-previous-row-value-for-text-column/td-p/312560

 

Hope this works.

 

Regards.

YES RAJULSHAH!! Nice one dude!

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.