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

Reply
Anonymous
Not applicable

how to add 1 day to my date time column

Hi,

if i use dateadd function in DAX ,it is considering next day 12 AM(if i add 1 day),but i need with hours also, the hours are not showing ,by default it showing 12 AM for next day,how to show with hours.

 

Regards

Mallikarjunarao 

1 ACCEPTED SOLUTION
v-sihou-msft
Microsoft Employee
Microsoft Employee

@Anonymous

 

In DAX, when using DATEADD() function, it will return a column of dates so that the timestamp will be truncated into 12 AM. I suggest your directly "+1" on your date/time column.

 

6.PNG

 

Regards,

View solution in original post

3 REPLIES 3
v-sihou-msft
Microsoft Employee
Microsoft Employee

@Anonymous

 

In DAX, when using DATEADD() function, it will return a column of dates so that the timestamp will be truncated into 12 AM. I suggest your directly "+1" on your date/time column.

 

6.PNG

 

Regards,

Anonymous
Not applicable

Thanks Simon,

 

i got solution,

 

same time if i want add hours,months and years,

 

Can you please provide solution for this as well,it will helpfull to me.

 

Regards

Mallikarjunarao

I found this Date.AddDays( date , number ) worked great! There are a bunch of other methods as well. https://msdn.microsoft.com/en-us/library/mt296606.aspx

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.

Top Solution Authors
Top Kudoed Authors