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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

DATEADD doesn't allow duplicates?

Hey Community,

 

I have a question that might be beyond basic but its got me and I can't find anything here or on google. 

 

When I try and use dateadd on a column any duplicate value returned is blank. 

 

I have a column called that is just =TODAY() and when I try and run a dateadd on it I get all blanks.

 

In another small table I put together by hand I only get results on uniqe values. Is this by design or maybe a setting I can change?

 

 

For context, I am simply trying to filter a related table to get a rowcount of just things on that table that happened yesterday. 

1 ACCEPTED SOLUTION
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous ,

 

By my tests and research, I'm afraid that your scenario is not caused by duplicate date.

 

Based on this document, which has mentioned that the result table includes only dates that exist in the dates column.

 

DATEADD.PNG

 

For your scenario, you may could create a canlendar table and then use DATEADD function.

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous ,

 

By my tests and research, I'm afraid that your scenario is not caused by duplicate date.

 

Based on this document, which has mentioned that the result table includes only dates that exist in the dates column.

 

DATEADD.PNG

 

For your scenario, you may could create a canlendar table and then use DATEADD function.

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

"The result table includes only dates that exist in the dates column." Yeah, I didn't really understand what this meant but it's the cause of the error I am having. So it is working as advertised, just disappointingly so. Thank you for taking the time to review my issue and reply back!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.