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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi,
Our company sells products a different prices dependant on the sector we trade in. How do I count the number of price points for each product we sell?
Thanks 🙂
Solved! Go to Solution.
Based on your description, you want to count number of prices group on Product level. Right?
In this scenario, you can use ALLEXCEPT() in to calculation to ignore all other filter but Prodct.
Count Of Prices per Product = CALCULATE(DISTINCTCOUNT('Product'[Price]),ALLEXCEPT('Product','Product'[Product]))
Regards,
Based on your description, you want to count number of prices group on Product level. Right?
In this scenario, you can use ALLEXCEPT() in to calculation to ignore all other filter but Prodct.
Count Of Prices per Product = CALCULATE(DISTINCTCOUNT('Product'[Price]),ALLEXCEPT('Product','Product'[Product]))
Regards,
Suppose there is 'Prices' table (Product-Sector-Price) and 'Products' table (other Products info).
They should be linked 1 to many (Products-Prices)
Calculated column in 'Products' table:
Number of different prices per product = CALCULATE(DISTINCTCOUNT('Prices'[Price]))
If you need a measure which will count number of different prices per selected product (or group of products), the formula is the same
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 65 | |
| 50 | |
| 42 | |
| 25 | |
| 22 |
| User | Count |
|---|---|
| 143 | |
| 117 | |
| 56 | |
| 37 | |
| 31 |