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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. 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
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.