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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
alexcatala
Helper IV
Helper IV

Filter values from different fields into a new column or measure

Hi,

 

I am working in a 9 box performance and I would like to produce a box where it filters that contain values between 2 of the filters. Ex. Below  and little/no

 

candidatestorebelowachieveexceedslittle/nosome()high()
Anne709X  X  
Kevin709 X X  

 

I would like to add an extra field where displays the names of those who are marked in the fields below and little/no.

 

Any suggestion?

 

thanks for your help

6 REPLIES 6
amitchandak
Super User
Super User

@alexcatala ,The information you have provided is not making the problem clear to me. Can you please explain with an example.
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Appreciate your Kudos.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak 

 

alexcatala_0-1611852442588.png

there are 2 extra columns, (employee name) and (Store) 

 

I would like to create a new column where it looks at column( below) and little/no and displays only the names of the employees who are marked in both of these columns like the last of the image attached.

 

Thanks

@amitchandak 

 

Any suggestion for this issue?

Hi  @alexcatala ,

 

Go to power query>select all the filters>unpivot the columns;

Then create 2 measures as below:

Measure = IF(CALCULATE(DISTINCTCOUNT('Table'[Attribute]),FILTER(ALL('Table'),'Table'[Value]<>BLANK()&&'Table'[candidate]=MAX('Table'[candidate])))=2,1,0)
Measure 2 = IF(CALCULATE(MAX('Table'[Value]),FILTER(ALL('Table'),'Table'[Attribute]="little/no"&&'Table'[candidate]=MAX('Table'[candidate])))<>BLANK(),MAX('Table'[candidate]),BLANK())

And you will see:

v-kelly-msft_0-1612164204304.png

 

For the related .pbix file,pls see attached.

 

Best Regards,
Kelly

Did I answer your question? Mark my post as a solution!

@v-kelly-msft 

 

Hi Kelly,

 

My concern was to look at 2 columns, not only 1. As you selected the (little/no) but also is needed with (below), similar than vlookup in excel. 

 

What I am trying to obtain is if both have value, then appear in a new column/ measure.

 

I am trying to create a succession plan.

 

alexcatala_0-1612176379017.png

 

As you can see I have 6 columns ( Below, Achieves, Exceed) and (Little/no, Some ( 1 up), High ( 1 + up) 

 

I want to create a measure to could create in each a combination between the Horizontal values ( Below, Achieves, Exceed) with Vertical ( Little/no, Some ( 1 up), High ( 1 + up).

Only if they have a value. Ex if they have a value in Below and Value in Little/no, then automatically appear inbox on the bottom left.  Having multiple choices to fill all these boxes and do not have to make this manually.

 

Any suggestion?

 

Thanks for your help

 

Hi @alexcatala ,

 

After reflection,I really have no idea on how to get a result,would you pls clearly advise me an expected output?

 

Best Regards,
Kelly

Did I answer your question? Mark my post as a solution!

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors