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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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