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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Analyst_in_prog
Frequent Visitor

calculating number of accidents per lakh vehicles

hey guys , i am having a probelm , I have accidental datarecord, some columns are 
1. number of vehicles involved in accident (numercial column contains 1,2,....6 )
2. measure (total number of accidents )
3. Months name ( its is in dates table)
i want to calculate number of accidents per lakh vehicles ,over months .
 # number of accidetns per lakh vehicles means .... Total Accidetns *100000 /vehicles  over each month 
please help me ..

 

 

3 REPLIES 3
v-jialongy-msft
Community Support
Community Support

Hi @Analyst_in_prog

 

Use the following DAX formula for your measure:

 

Accidents Per Lakh Vehicles = SUM('YourTableName'[measure]) * 100000 / SUM('YourTableName'[number of vehicles involved in accident])

 

 

 

Best Regards,

Jaylen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

rajendraongole1
Super User
Super User

Hi @Analyst_in_prog - Can you please provide some sample data with available fields from your dataset for reference.

 

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





hey @rajendraongole1 
the Data is in different tables , and there are several columns , thats why i am sending you  the columns that we require :
is there any specific thing so please ask me i'll try to provide .

Analyst_in_prog_1-1718699228349.png

Analyst_in_prog_2-1718699441329.png

 for total accidents i have created a measure .

Total_Accidents = COUNT(v3_dimensional[Crime Number])

 

 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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