Forum Discussion
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:
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 ChenIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
10 Replies
- amitchandakSuper 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.
- PowerTroubleFrequent Visitor
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.
- v-lionel-msftCommunity Support
Hi PowerTrouble ,
Is your table like this?
Maybe you can 'Unpivot the columns'.
Best regards,
Lionel ChenIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- PowerTroubleFrequent Visitor
Hey, I've updated the post with an example image if that is any help.
- v-lionel-msftCommunity Support
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 ChenIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- v-lionel-msftCommunity Support
Hi PowerTrouble ,
Has your problem been solved?
Best regards,
Lionel ChenIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- PowerTroubleFrequent Visitor
Not yet sadly.