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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.