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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.