Forum Discussion

garrettw's avatar
garrettw
Frequent Visitor
5 years ago
Solved

Calculated column in Calculated table only populates first 430ish rows. Help?

Hi All,   I'm having a very odd issue with Power BI.    I have a calculated date table created with the CALENDAR function to handle a range of dates. I then have a calculated field "Fiscal Year" ...
  • Anonymous's avatar
    Anonymous
    5 years ago

    Hi garrettw ,

     

    The problem is with the DATEADD() function. The column will be blank value when the calculated date is greater than the maximum date in the table.

    You could use EDATE() function instead.

    Fiscal Year = YEAR(EDATE('date table'[Date],'date table'[fiscal offset]))

     

    Best Regards,

    Jay