Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
channah1
New Member

Measure issue - question

Hi,

 

I am attempting to create a new method of tracking qualifications.

The data is in the format below

Employee Name // Equipment // Qualification

 

There are around 50 pieces of equipment

There is 3 levels of qualification for each piece of equipment (Basic, Intermediate & Advanced)

Each Qualification is put in as a new line item. So someone who is advanced at a certain piece of equipment will have 3 line items for one piece equipment. Someone who is intermediate will only have two.

The main issue I am having is that a lot of the qualification names have changed over the years e.g. BASIC for a specific piece of equipment can have 8 different names but all represent the same qualification.

 

Would a measure or column like the following be possible?

 

IF(qualification column) = (Basic Option 1,Basic Option 2,Basic Option3…) = basic OR IF(qualification column) = (Intermediate Option 1, Intermediate Option 2, Intermediate Option 3….) = Intermediate OR IF(qualification column) = (advanced Option 1, advanced option 2, advanced option 3…) = advanced OR IF(qualification column) ≠ (Basic Option 1,Basic Option 2,Basic Option3… + Intermediate Option 1, Intermediate Option 2, Intermediate Option 3…. + advanced Option 1, advanced option 2, advanced option 3…) = NA

 

If it is possible would someone be able to help with an example format or how to input the coding? 

 

Thank you for your time. 

CH

 

Thanks for your help. 

1 ACCEPTED SOLUTION
colacan
Resolver II
Resolver II

@channah1  Hi, you can create a calculate column using SWITCH function as below;

 

Equipment2 =
SWITCH(TRUE,
Yourtable[Equipment] in {"BasicOption1","BasicOption2","BasicOption3"}, "Basic",
Yourtable[Equipment] in {"InterOption1","InterOption2","InterOption3"}, "Intermediate",
Yourtable[Equipment] in {"AdvanOption1","AdvanOption2","AdvanOption3"}, "Advanced")
 

colacan_0-1633612721457.png

 

Please mark as soluntion if this helped.

View solution in original post

1 REPLY 1
colacan
Resolver II
Resolver II

@channah1  Hi, you can create a calculate column using SWITCH function as below;

 

Equipment2 =
SWITCH(TRUE,
Yourtable[Equipment] in {"BasicOption1","BasicOption2","BasicOption3"}, "Basic",
Yourtable[Equipment] in {"InterOption1","InterOption2","InterOption3"}, "Intermediate",
Yourtable[Equipment] in {"AdvanOption1","AdvanOption2","AdvanOption3"}, "Advanced")
 

colacan_0-1633612721457.png

 

Please mark as soluntion if this helped.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.