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
asdf1608
Helper V
Helper V

Dateadd in power BI

Converting the tableau convertion in power BI.

DATEADD('day', -1,[Calendar day])

For Example: if the date is "1/1/2022" after substracting by -1 the result should be 31/12/2022.

This is possible in Tableau

asdf1608_0-1683621273475.pngasdf1608_1-1683621289895.png

But in power BI for dateadd

Column 3 = DATEADD(Merge1[Calendar day],-1,DAY)

it becomes blank

asdf1608_2-1683621381692.png

How do I get the result of tableau in power BI

If the date is 1/1/2023 then the result should be 12/31/2022

 

Help in this is needed. 
Thanks in advance

 

 

1 ACCEPTED SOLUTION
FreemanZ
Super User
Super User

hi @asdf1608 

do it like:
Column 3 = Merge1[Calendar day]-1

View solution in original post

1 REPLY 1
FreemanZ
Super User
Super User

hi @asdf1608 

do it like:
Column 3 = Merge1[Calendar day]-1

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.