We're giving away 30 tickets for FREE! Share your story, your vision, or your hustle and tell us why YOU deserve a ticket.
Apply nowWin a FREE 3 Day Ticket to FabCon Vienna. Apply now
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
Solved! Go to Solution.
@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.
Regards,
@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.
Regards,
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