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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Saes
Helper I
Helper I

Creating a Histogram Decile Chart

Hi all, I'm trying to create a histogram that shows the count of properties by decile group. The raw data I have looks like this:

Property IDRentLocal Comparator
Property 1£82.50£100.00
Property 2£90.00£100.00
Property 3£117.50£100.00
Property 4£98.50£100.00
Property 5£126.50£100.00


I have a measure that divides the rent by the local comparator and, using the Ceiling function, rounds the result upwards to the next decile - for example:

Property IDRentLocal ComparatorDecile
Property 1£82.50£100.0090%
Property 2£90.00£100.0090%
Property 3£117.50£100.00120%
Property 4£98.50£100.00100%
Property 5£126.50£100.00130%


When I put the information into a graph, the results look like this:

Saes_0-1631013167832.png
I would like the bars to show the count of properties by decile group, but cannot figure how to do this. Can anyone help?

5 REPLIES 5
Anonymous
Not applicable

Hi @Saes ,

 

Try to use stacked column chart and it works fine

10.png

 

 

Best Regards,

Stephen Tao

 

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

mahoneypat
Microsoft Employee
Microsoft Employee

Did you select the 100% Stacked Chart (Y axis has % values)?  If so, change it to a regular stacked or clustered chart.

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Hi Pat, the example shows a regular chart.

amitchandak
Super User
Super User

@Saes , Decile is a new column?

 

like this  ?

roundup(divide([Rent],[Local Comparator]),-1)

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

Hi @amitchandak , the decile calculations is a measure, not a column. I wanted to try to avoid using a column, as I need to build other comparators later which would add many columns to the model.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.