Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Evening,
I'm trying to work out if customer's purchased weighted by volume more expensive or cheaper dishes.
I have transaction data for a small venue which has four dishes for example with each dish having a different price point. I would like to weight the percentile figure by volume if that makes any sense as so I can work out, out of all of the dishes purchased in the past period, did customer's buy the more expensive or the cheaper dishes.
My thought is to find the k = 0.51 percentile of dish price points by volume but I'm not sure how to bridge that gap. I'm not sure if I'm making sense in my approach, but I feel I want to find the k=0.51 price point paid vs the average price point for example (Dish1Price+Dish2Price+Dish3Price+Dish4Price)/NumberofDishes.
I'm not sure how to create the measure to find the k=0.51 price point paid by volume.
Here is a link to my pbix if that's of any help to anyone: https://1drv.ms/u/s!At8Q-ZbRnAj8hjIV_LCfjAmx4QJF
Solved! Go to Solution.
Hi @ElliotP,
>> I feel I want to find the k=0.51 price point paid vs the average price point for example (Dish1Price+Dish2Price+Dish3Price+Dish4Price)/NumberofDishes.
If you have the measure to calculate the percent, you can drag it to visual level filter. filter type to "advanced filter", show item when value field to "is", fill in 0.51 to textbox and apply the filte.
If above is not help, please provide more detailed informaiton to explain your requirement.
Regards,
Xiaoxin Sheng
Hi @ElliotP,
>> I feel I want to find the k=0.51 price point paid vs the average price point for example (Dish1Price+Dish2Price+Dish3Price+Dish4Price)/NumberofDishes.
If you have the measure to calculate the percent, you can drag it to visual level filter. filter type to "advanced filter", show item when value field to "is", fill in 0.51 to textbox and apply the filte.
If above is not help, please provide more detailed informaiton to explain your requirement.
Regards,
Xiaoxin Sheng
Thanks for the response.
I'm trying to work out the average price point paid weighted by the volume of orders. I think i'll just weight each price point by the proportion of the total volume and do it that way.
Thoughts?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
67 | |
57 | |
54 | |
36 | |
34 |
User | Count |
---|---|
84 | |
71 | |
55 | |
45 | |
43 |