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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
PowerTrouble
Frequent Visitor

Filter multiple columns that have the same possible values and display only columns with x

The title is a little messy, so I want to clarify.

 

I have a table, in this table are people and qualifications, a lot of qualifications that are separate columns. These qualifications all have the same possible values, but I just want to display all of the qualifications that say "Certified" and leave the rest. As I said though, there are a lot and I was wondering what the best method of doing this is, especially so it would just work if, for example, a new qualification was added.

 

Here's an example of what the table looks like:

TableExample.png

1 ACCEPTED SOLUTION

Hi @PowerTrouble ,

 

I found that the data structure of your table is similar to what I guessed. After you "Unpivot the table", filter out the rows with [Value] = "Certified". Isn't this what you want?

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

10 REPLIES 10
v-lionel-msft
Community Support
Community Support

Hi @PowerTrouble ,

 

Has your problem been solved?

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Not yet sadly.

amitchandak
Super User
Super User

@PowerTrouble , Create a measure like

calculate(countrows(Table), Filter(Table, Table[qualifications] ="Certified"))

 

 

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Hey, I've updated the post with an example image if that is any help.

Hi @PowerTrouble ,

 

I found that the data structure of your table is similar to what I guessed. After you "Unpivot the table", filter out the rows with [Value] = "Certified". Isn't this what you want?

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

This looks to be correct, thanks a lot for the help.

Ah, sorry I was unclear. Each qualification is separate, so for example, an IT column and a Fitness Instructor column, etc. This is what's causing the headache. I didn't make the table but I've been asked to display the quals this way. 

Hi @PowerTrouble ,

 

Is your table like this?

v-lionel-msft_0-1621908096108.png

Maybe you can 'Unpivot the columns'.

v-lionel-msft_1-1621908136976.png

 

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I also updated the post with an example of how the table is formatted.

I'm gonna look into this! Thanks for pointing it out.

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors