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
Anonymous
Not applicable

Measure on Axis

Hello

I have some student data as follows  (Blue fields are measures)...

Students.PNG

I want to plot the students by the Pass Range, but when I pull the Passed Range measure onto a chart, it doesn’t show the groupings (just the 25-49 % Range) and I don’t get the ‘Don’t Summarize’ option.

The Pass Range measure is …

 

Pass Range = IF( [pct Passed Exams] <= 0.24,

"0-24 % Range",IF([pct Passed Exams]> 0.24 && [pct Passed Exams] <= 0.49,

"25-49 % Range",IF([pct Passed Exams]> 0.49 && [pct Passed Exams]< 0.74,

"50-74 % Range","75-100 % Range")))

 

If I pull the Student_ID, I get the correct value per student, but I can't seem count students by Passed Range 

 

Any suggestions how I fet this to work?

 

Thanks in advance

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thanks for pointing out the article.

 

It's not what I'm looking for, but I managed to solve the issue using Calc Cols.

 

Regards/

View solution in original post

5 REPLIES 5
parry2k
Super User
Super User

@Anonymousjust checking you are adding passed range as column in your model not measure



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

Thank for getting back to me

The passes range is a measure. In the table students can have multiple exams, so I count the number of exams and the number of exams passed, so It nees to be a measure and not a Calc Col?

 

regards/

@Anonymous I had similar solution provided in another post, take a look and make the changes accordingly. 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

Thanks for pointing out the article.

 

It's not what I'm looking for, but I managed to solve the issue using Calc Cols.

 

Regards/

@Anonymous glad to know it worked. May be you want to put your solution so that others can take benefit. Cheers!



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

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.