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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
I have two columns, one of which contains the names of products and the other the count for how many of those products were sold. I wish to remove a specific product (ACCESSORIES) from the total count of the second column if possible. Here are the two columns and the measure I used to get that total. Any help will be greatly appreciated.
Hi @SerDontos
if @Chthonian idea will not help you, maybe you can try smth like
TotalMeasure = CALCULATE(COUNTROWS('Back End'),
ALLEXCEPT('Back End', 'Back End'[Aftermarket Desc. 2]),
'Back End'[Aftermarket Desc. 2] <> "ACCESSORIES"
)
at first glance of your example you want to calculate count grouped by products
Hi @SerDontos
Just a rough idea on how to get what you need
TOTAL AFTERMARKET = CALCULATE(
COUNTROWS('products'),
'products'['Aftermarket Desc 2'] <> "ACCESSORIES"
)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 21 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 19 | |
| 12 | |
| 10 |