Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
21 | |
15 | |
11 | |
10 | |
10 |