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
Maesknoll
Regular Visitor

Changing a display date

Hi,

I have some data that comes from email, this is transformed via a script, the date of my data is picked up from the email header, this is the day after the data is collected.  How can I change my displayed data in the visual to show -1 day from the date in the table?

2 ACCEPTED SOLUTIONS
muhammad_786_1
Solution Supplier
Solution Supplier

Hi @Maesknoll 

 

There are multiple ways to do this.

 

I assumed you have this kind of data:

muhammad_786_1_0-1724848863963.png

 

You just need to go to the Modeling tab and add a new column using this DAX:

NewDate = 'EmailData'[OriginalDate] - 1

 

You'll get this output:

muhammad_786_1_1-1724848915199.png

 

Please see, if this is what you want.


Best Regards,
Muhammad Yousaf

 

If this post helps, then please consider "Accept it as the solution" to help the other members find it more quickly.

 

LinkedIn

View solution in original post

Maesknoll
Regular Visitor

Perfect, thank you

View solution in original post

2 REPLIES 2
Maesknoll
Regular Visitor

Perfect, thank you

muhammad_786_1
Solution Supplier
Solution Supplier

Hi @Maesknoll 

 

There are multiple ways to do this.

 

I assumed you have this kind of data:

muhammad_786_1_0-1724848863963.png

 

You just need to go to the Modeling tab and add a new column using this DAX:

NewDate = 'EmailData'[OriginalDate] - 1

 

You'll get this output:

muhammad_786_1_1-1724848915199.png

 

Please see, if this is what you want.


Best Regards,
Muhammad Yousaf

 

If this post helps, then please consider "Accept it as the solution" to help the other members find it more quickly.

 

LinkedIn

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.