The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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"
)
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
20 | |
19 | |
18 | |
18 | |
14 |
User | Count |
---|---|
38 | |
35 | |
23 | |
20 | |
17 |