Add a new calculated column
I have a table with citizen information, including the citizen's age. I would like to create a new calculated column called [Age Distribution] that categorizes the citizen's age into fixed ranges. So far, I have created the age distribution in Power Query as follows:
if [Age] >= 45 and [Age] < 63 then "45-62" else if [Age] >= 63 and [Age] < 75 then "63-74" else if [Age] >= 75 and [Age] < 87 then "75-86" else if [Age] >= 87 and [Age] <= 98 then "87-98" else if [Age] >= 99 then "99+" else "Unknown"
Is it possible in TARGIT?
Best regards
Per-Bo Pirschler
Comments
1 comment