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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Victormar
Helper V
Helper V

Distribution chart and column

Hi community,

 

I am facing a problem and I am not sure how to solve it in power bi.

 

I have a table with mileage readings (date) for some vehicles, and I would like to show the distribution of the mileage over the vehicles.

 

My first attempt would be to create a graph with buckets of mileage on the Y axis (0-11,100-200,200-300...) and on the X axis the count of how many days that particular vehicle was in each range, hope it makes sense.

In created a new column on the table with a switch function to classify every mileage reading, but I am not sure how to match it / count, for every vehicle, how many days has it been on every range.

 

Thanks in advance 🙂

 

 

2 REPLIES 2
v-chenwuz-msft
Community Support
Community Support

Hi @Victormar ,

 

It's hard to tell what your data looks like. What kind of results do you need, please share some screenshots to help understand.

 

Best Regards

Community Support Team _ chenwu zhu

Hi @v-chenyue-msft,

 

Thanks for your reply. It would be something like this:

 

Victormar_0-1661762724522.png

Not so good at paint sorry, but I came up with another solution that I thibk fullfills the demand:

 

Victormar_1-1661762767971.png

I created buckets for the mileage distribution, and then counted the number of days in every bucket 🙂

The point was to see the distribution of mileage over days by every chassis.

 

Thanks again for your time

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors