Forum Discussion
Michalison
Helper II
2 years agoPowerBI Customn column
I want to add a custom column that looks at the completed date i.e. 22/06/2019 looks at years to next course column i.e. 3 then puts a new date in the custom column of 3 years since the complet...
- 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
ryan_mayu
Super User
2 years agoyou 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
- Michalison2 years ago
Helper II
Yes thank you I tried both methods and they both worked many thanks
- ryan_mayu2 years ago
Super User
you are welcome