The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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.
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.
User | Count |
---|---|
24 | |
10 | |
8 | |
7 | |
6 |
User | Count |
---|---|
31 | |
12 | |
10 | |
10 | |
9 |