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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Need help in DAX

 

Name

Skills

Mahesh

Power BI, Cognos, Tableau

Saravan

Tableau, Cognos

Raju

Power BI, MSBI

Nagesh

MSBI, Tableau

Ravi

Tableau, Power BI

 

 

Requirement is to know get the number of users having the each skill Power BI , Tableau, MSBI, Cognos. Need to be shown data in bar char or Pie chart

1 ACCEPTED SOLUTION
TomMartens
Super User
Super User

Hey @Anonymous ,

 

here you will find a pbix that contains a solution that does rely on data modeling instead of using DAX: https://tommartens-my.sharepoint.com/:u:/g/personal/tom_minceddata_com/EZ1UYqubNL5OrQP-VIdgBEsBF93buB8kEzbOZhVW35sslA?e=Zj62yj

 

I created a second table using Power Query that looks like this:

image.png

Then I creatd a Many-To-Many relationship between both tables like so:

image.png

 

This data model allows to create the visuals you mentioned:

image.png

 Hopefully this provides what you are looking for.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

3 REPLIES 3
v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

You could use split the "Skills" column and unpivot new columns in the query editor. 

1-1.PNG

Then use "trim" to remove blank value.

1-2.PNG

Here is the result.

1-3.PNG

Here is my test file for your reference.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.
TomMartens
Super User
Super User

Hey @Anonymous ,

 

here you will find a pbix that contains a solution that does rely on data modeling instead of using DAX: https://tommartens-my.sharepoint.com/:u:/g/personal/tom_minceddata_com/EZ1UYqubNL5OrQP-VIdgBEsBF93buB8kEzbOZhVW35sslA?e=Zj62yj

 

I created a second table using Power Query that looks like this:

image.png

Then I creatd a Many-To-Many relationship between both tables like so:

image.png

 

This data model allows to create the visuals you mentioned:

image.png

 Hopefully this provides what you are looking for.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
SivaMani
Resident Rockstar
Resident Rockstar

@Anonymous,

 

Please check this DAX function - https://docs.microsoft.com/en-us/dax/containsstring-function-dax

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.