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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
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.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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