Forum Discussion

jerpic's avatar
jerpic
Frequent Visitor
4 years ago
Solved

How to identify column with specific value?

Hello,

 

I'm facing to a new problem which consists to identify the list of "skills" on which users must progress.

 

The skills to identify have the notation "1".

 

Imagine that datasource:

 

 

With the users dimension, if I choose the USER 1, I would like to see an information like this :

 

USER 1 : SKILL 4

 

For USER 2 

 

USER 2 : SKILL 1, SKILL 2

 

For USER 3 

 

USER 3 : SKILL 3, SKILL 4

 

And for USER 4 

 

USER 4 : SKLL 2

 

If you have an idea/suggestion or example to help me it would be nice 😉 

Best Regards,
Jérôme.

 

 

2 Replies

  • jerpic the best approach is to unpivot your data:

     

    - transform data

    - select user column > right click > unpivot other columns

     

    it will get you two new column, attribute and value, rename these columns as you see fit, close and apply

     

    in a matrix visual, put user on rows, attribute on column and value on values, and filter this matrix visual on where value = 1 and that will do it

     

    ✨ Follow us on LinkedIn

     

    Learn about conditional formatting at Microsoft Reactor

    My latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

     

    ⚡ Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡

    • jerpic's avatar
      jerpic
      Frequent Visitor

      Hi parry2k 

       

      This is exactly what I needed! Many thanks for your efficient answer!

      Have a good day!