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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ncbshiva
Advocate V
Advocate V

Power BI Dax : Matrix

Hi Friends,

 

Below is my input table with two columns

 

Difficulty to bridge the gapHow large is the gap to fill
 (1 is no gap to fill, 5 is large gap to fill, i.e. several resources, if medium choose 3)
Easy1
Easy5
Hard5
Hard1
Medium5
Medium1
Medium3
Hard1
Easy3
Easy5
Hard3
Medium1

 

Kindly help me to write DAX function to get the below output.

 

 1 No Gap3 Medium5 Large
Easy112
Medium211
Hard211

 

I want to count the number of time the Gap no for each of the difficulty level

For Example : Easy has 1 time for No Gap and 2 time for Large Gap.

 

Thanks

1 ACCEPTED SOLUTION
luxpbi
Helper V
Helper V

Hi @ncbshiva

 

You don't need no DAX for this... 
 

You can use a Matrix visual. Put how large is the gap to fill in the columns and count this same colmn as I show you in the pictures. 

 

Captura2.PNGCaptura.PNG

Regards,

View solution in original post

2 REPLIES 2
luxpbi
Helper V
Helper V

Hi @ncbshiva

 

You don't need no DAX for this... 
 

You can use a Matrix visual. Put how large is the gap to fill in the columns and count this same colmn as I show you in the pictures. 

 

Captura2.PNGCaptura.PNG

Regards,

Thank you

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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