The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I have a column called TYPE that holds various employement types (perm, freelance, FTC, intern) and I would likle to create a new column that merges some of these types into one.
For example I would like to create a new column that holds all employement types other than perm.
Can someone advice on a calc i can use to do this?
Many thanks,
Solved! Go to Solution.
Hi @Anonymous,
try this for your calculated column:
NewColum = IF(Table1[Type] = "perm", "perm", "not perm")
@Anonymous - There are several ways to create a new column to group values. However, you would not be excluding Perm - instead you would put it in it's own group. You could use a Custom column in Power Query, a Calculated Column with DAX, or use New Group. In any of the methods, you need to set the new column's value based on the value in the original column.
Here's the New Group option:
Cheers!
Nathan
Hi @Anonymous,
try this for your calculated column:
NewColum = IF(Table1[Type] = "perm", "perm", "not perm")
User | Count |
---|---|
78 | |
74 | |
43 | |
32 | |
28 |
User | Count |
---|---|
104 | |
93 | |
51 | |
51 | |
46 |