Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hi,
I have 2 tables.
1) Store sales
Columns: Id, StoreId, ProductId, SoldCount
Id is a unique key. A row means a sale of a product.
2) Store info
Columns: StoreId, Loc_State
StoreId is a unique key. A row means a store.
I want to create visualization for this question.
"% of stores that sold product x more than y" where x and y are user-defined values and x is ProductId and y is just a number.
Can Power BI plot data to answer this question?
Expected visualization would be simple 2 slice pie chart.
Thanks,
-Minsuk
I would imagine that you could put ProductId in a filter and SoldCount or a measure based upon SoldCount (like a measure that sums SoldCount) into a filter and then allow the user to change those filters as necessary.
The only interesting one would be getting a % of stores from that, I'll have to think about that.
User | Count |
---|---|
10 | |
4 | |
4 | |
3 | |
3 |