The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
I have a simple date table:
Table: = CALENDARAUTO(10)
First column Date
Scond column calculated: OffsetDate = DATEADD('Date Table'[Date],2,MONTH)
For some reason, only around 300 rows are calculated, the remaining rows are empty.. What am I missing?
Solved! Go to Solution.
I found my mistake, DATEADD takes a column and returns a table. It is not meant for calculation on a single date. Your comment helped me realize that the formula didn't just accept [Date] as argument.
Instead, I need to use a datetime function such as EDATE.
Side note: EDATE(12/31/2019,2) will return 2/29/2020.
I found my mistake, DATEADD takes a column and returns a table. It is not meant for calculation on a single date. Your comment helped me realize that the formula didn't just accept [Date] as argument.
Instead, I need to use a datetime function such as EDATE.
Side note: EDATE(12/31/2019,2) will return 2/29/2020.
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
21 | |
12 | |
10 | |
7 |