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
neil37
Advocate I
Advocate I

Measure Development Help Needed: Incident Rate per 100 - Example Data (xlsx) Attached

 

Hello, 

 

I am trying to develop a measure that enables me to calculate the crime rate for data that is organized like the attached example data set per 100 students. 

 

We have 10 years of data of incidents occurring in ~200 schools.

Each year there is a different enrollment number of students 

Each year, various incidents occur within each school

I need your help developing a measure that would enable me to calculate the rate of incidents occurring in each school, per incident, per 100 students (i.e. 36.9 out of every 100 students experienced some sort of incident).

 

I have splicers with Academic Year and Incident Type to break that rate down further for specific Years and Incident types. I just need help writing a measure that accurately calculates the rate utilizing the data within the attached sheet. 

 

 

School Name School NumberEnrollment AY2009-2010Enrollment AY2010-2011
School Name 11261189
School Name 22298349
School Name 33346160
School Name 44335105
School Name 55292220
School Name 66216125
School Name 77312117
School Name 88325179
School Name 99180323
School Name 1010142127
School Name 111131884
School Name 1212244266
School Name 1313349154

 

 

School NumberIncident TypeAY
7Assault20102011
10Robbery20102011
7Harassment2011-2012
12Assault2013-2014
13Threat - Verbal20102011
7Disorderly Conduct20102011
5Assault2011-2012
1Robbery2013-2014
6Harassment20102011
5Assault20102011
2 REPLIES 2
AlB
Super User
Super User

Hi @neil37

Where is the data for the number of incidents?? Please show (an exaple of) the expected result based on the data provided

 

SU18_powerbi_badge

Please accept the solution when done and consider giving a thumbs up if posts are helpful. 

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

 

Hi @AlB  - For some reason it is not allowing me to post my clarification response, so I had to take a screenshot of it...

 

PowerBIAssistanceSS.PNG

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.