Forum Discussion
Sondre
2 years agoFrequent Visitor
Only used data with item count over given number
Hi, I have a page for scrap tracking showing: A matrix for Employee (Emp), with count, scrap and scrap%. A matrix with corresponding Gridsheet scrap location (B02 - T30). I want to sort it s...
mh2587
Super User
2 years agoMeasure = //Try this
CALCULATE(
COUNTROWS('Gridsheet'),
FILTER(
VALUES('Gridsheet'[Emp]),
CALCULATE(
COUNTROWS('Query'),
FILTER('Query', 'Query'[Emp] = 'Gridsheet'[Emp])
) >= 300
)
)Sondre
2 years agoFrequent Visitor
Thanks for the reply!
I have all data for this in one query. Tried the following. Total is correct, but no gridsheet location is shown.
Measure =
CALCULATE(
COUNT(Query[Gridsheet_location]),
FILTER(
VALUES(Query[Emp]),
CALCULATE(COUNTROWS(Query)) >= 300
)
)