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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.