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
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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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