cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NMonte
Helper I
Helper I

DATEADD Error

So whenever I add a measure to a visual, it breaks the visuals and gives me this error " 'DATEADD' expects a contigous selection when the date column is not unique, has gaps or it contains time portion."  I already have a date table with each row being the first day of the months from X-Y  years, and this date table is related to my other tables. There is no time portion so that is not the issue, I dont think it is due to gaps because I am replicating another PowerBi Desktop version and it uses the same date table perfectly fine. Does anyone know what the problem could be? 

1 REPLY 1
amitchandak
Super User
Super User

@NMonte , Make sure the date table has all dates and marked as a date table. Marked as a date table . Usally these two things make sure you have a continuous date

 

if not,

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

 

 

 

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.

Top Solution Authors
Top Kudoed Authors