The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Trying to use the Calculate function to filter out the orders on the SubCat2 field that have "Filler" only and do not have any other SubCat values associated with it.
I have this so far but am getting orders with Molding, Finish Panel, etc associated with that order number included.
Solved! Go to Solution.
Create a measure (you should really shorten the column names to make life a bit easier)
CountSubCat = CALCULATE(COUNT(TableJ[Sub cat]), ALLEXCEPT(TableJ, TableJ[Control ID Key]))
You then pull Control ID Key on to a table visual with the measure ( and Sub category if you need it ).
Use the visual filters pane to choose "Filler" for sub category.
If the CountSubCat is equal to 1 -> that's the winner. And there were none in the sample picture.
Hope it helps. Also can you post data rather than a picture next time. It always helps.
Create a measure (you should really shorten the column names to make life a bit easier)
CountSubCat = CALCULATE(COUNT(TableJ[Sub cat]), ALLEXCEPT(TableJ, TableJ[Control ID Key]))
You then pull Control ID Key on to a table visual with the measure ( and Sub category if you need it ).
Use the visual filters pane to choose "Filler" for sub category.
If the CountSubCat is equal to 1 -> that's the winner. And there were none in the sample picture.
Hope it helps. Also can you post data rather than a picture next time. It always helps.
User | Count |
---|---|
77 | |
75 | |
36 | |
31 | |
29 |
User | Count |
---|---|
94 | |
80 | |
55 | |
48 | |
48 |