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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

undefined

I have a series of orders, the total number of units for each order is different, in an order you can have 3 products or 2 products or only 1 product
I need a table or measure that shows me the participation by the possible totals
example:

quantities ordered

products possible            quantity ordered
1                                     78% of orders
2                                    10% of orders
3                                     12% of orders

that is to say that 78% of the orders only invoiced one product

3 REPLIES 3
v-xiaotang
Community Support
Community Support

Hi @Anonymous 

Thanks for reaching out to us.

>> 

vxiaotang_0-1658221536841.png

Is the data in this table your original data? If not, please share some sample data and the expected result.

 

 

Best Regards,

Community Support Team _Tang

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

Anonymous
Not applicable

Thank you so mucho.

amitchandak
Super User
Super User

@Anonymous ,

Are you looking for Measure segmentation

 

Bucket/Segment code
measure
Measure = Count(Table[productid]) //

 

new Table
bucket = Generateseries(1,100,1)

 

 

new Measure =
Countx(filter(Values(Table[user]), [Measure ] = max(bucket[Value])), [User])

 

Now you can calculate %

 

divide([new Measure ], calculate([new Measure], allselected()) )

 

refer if needed

Dynamic segmentation -Measure to Dimension conversion: https://youtu.be/gzY40NWJpWQ

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.