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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
JuanD
New Member

Creating Bined Histogram from Subtotals

 

I want to create a histogram of sales information.

I currently have a single table givin me

- OrderID, type of product, quantity, price

 

As such if you buy 3 different types of products, you would get 3 different lines in the DB.

 

I'm trying to create a histogram of size of order. But if I used the standarized Group / Bins on the quantity metric I get the histogram at a product level (quantity of each product).

How can I make subtotal ranges for the same OrderID so I can later use them as bins in the histogram.

 

Order sizes 1-10, 10-20, 20-30...etc up to 1500.

 

Thanks everyone.

1 REPLY 1
lbendlin
Super User
Super User

Power BI does not support dynamic bucketing. You need to bring your own precompiled list of all possible buckets. 

 

Your buckets won't work as they are overlapping.

Helpful resources

Announcements
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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.