Forum Discussion
PowerBI Customn column
- 2 years ago
you can try to create a column in PQ (pls make sure the date is in date type)
=Date.AddYears([Completed],[Years until next course])
or use DAX to create a column
Column = EDATE('Table'[Completed],'Table'[Years until next course]*12)pls see the attachment below
hi Michalison
Try calculated column
I hope I answered your question!
- Michalison2 years agoHelper II
Thank you for your answer I have tried this but get an error
It doesnt seem to like month/day etc
- Michalison2 years agoHelper II
I have re-done it as
still getting an error
- Uzi20192 years agoCommunity Champion
Hi Michalison
Take the calculated column.
right click on 3 dots > then select new columnand write the formula which i have shared.
- Uzi20192 years agoCommunity Champion
Hi Michalison
I got your problemYou complted column is not in Date data type. It is in text format.
Please convert your complted column into date column format so that my dax formula will work for you.
Process> select your complted column > change data type > Date
I hope I answered your question!