Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
I tried to use the Dateadd function but on some row I get no dates. Can you help me to find the problem?
Solved! Go to Solution.
Hi @Anonymous ,
The DATEADD function requires contiguous date selections , while your date is intermittent.
To work around the issue, you can create a calendar table using DAX below.
Calendar = CALENDAR(MIN(Table1[End date]),MAX(Table1[End date]))
Or
Calendar =CALENDARAUTO()
Then you can create column in your original table.
Column1= DATEADD(Calendar[Date],-1,MONTH)
Best Regards,
Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Does that make sense? If so, kindly mark the proper reply as a solution to help others having the similar issue and close the case. If not, let me know and I'll try to help you further.
Best regards
Amy
Hi @Anonymous ,
The DATEADD function requires contiguous date selections , while your date is intermittent.
To work around the issue, you can create a calendar table using DAX below.
Calendar = CALENDAR(MIN(Table1[End date]),MAX(Table1[End date]))
Or
Calendar =CALENDARAUTO()
Then you can create column in your original table.
Column1= DATEADD(Calendar[Date],-1,MONTH)
Best Regards,
Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Please correct the date format. Below datatype, you have the format option. The date is in the DD-MM-YY format. That is not detected as date yet in the model.
Hi,
The date format is on both columns the same. Still not all the fields have a date.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
93 | |
75 | |
62 | |
50 |
User | Count |
---|---|
147 | |
107 | |
105 | |
87 | |
61 |