I would liek to calculate age in PowerQuery but some rows doesnt have the data in the column, therefore I'd like it to have age 0. Tried that (convert value) but it keeps giving me error. I am calculting age using ribbon in Transform data
Go to Solution.
Hi @Pbiuserr I assume that you have a column with birth dates. If yes, then you can create custom column like this:
Remember to change the birth date data type to datetime and after adding the age column change its type to whole/decimal number.
View solution in original post
Would you be able to send an example of your data?
I would recommend creating a calculated column using an IF statment for Blank values to show 0
Click here to learn more about the September 2022 updates!
Mark your calendars and join us on Thursday, September 29 at 11a PDT for a great session with Ted Pattison!