Forum Discussion

Danbert's avatar
Danbert
Frequent Visitor
6 years ago
Solved

Working with non-standard date fields

I have 2 columns in my dataset - these columns are used to show the financial month and year period. Because of this they are not formatted in a friendly way for use in formulas so I have a need to t...
  • Anonymous's avatar
    Anonymous
    6 years ago

    Hi Danbert,

     

    I am confused. The formula below (which is from the code above) does what you are asking and does not require editing.

     

    Regards,

    Mike

     

    Date.AddMonths(#date(2000+Number.From(Text.Start([Year],2)),Number.From(Text.Start([Month],2)),1),4)