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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Crime Rate Calculation Help!

I am trying to figure out how to calculate crime rates within the Power BI Desktop app. 

 

In Excel, it would look like: (Total Amount of Crime ÷ Population * 1,000)

 

I currently have the following variables:

  • CRID (when using distinct count, this provides a total amount of crime)
  • Location (3 different cities)
  • Population (Split up into 9 variables by city and by year)
  • Year (2016-2020)

 

What I really need is a way to get crime rates for each city and each year for a total of 9 individual crime rates

 

(e.g. CRID ÷ Location Population for Specific Year * 1,000)

 

Is there a way to do this??

2 REPLIES 2
v-diye-msft
Community Support
Community Support

Hi @Anonymous 

 

If the above posts help, please kindly mark it as a answer to help others find it more quickly. thanks!

If not, please kindly elaborate more.

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
amitchandak
Super User
Super User

@Anonymous ,

It would be like

divide(sum(Table1[Total Amount of Crime]),Sum(Table2[Population)) * 1000

 

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

 

Please provide your feedback comments and advice for new videos
Tutorial Series Dax Vs SQL Direct Query PBI Tips
Appreciate your Kudos.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.