Forum Discussion
jacosmit
7 years agoRegular Visitor
Filter in DISTINCTCOUNT question
New to the forum. Snippet of db below. Using Powerbi I would like to figure out how many staff ate at the restaurant. But I only want them to be counted if they ate at the restaurant more than 5...
themistoklis
Community Champion
7 years ago
Create a new measure using the following formula
Measure = DISTINCTCOUNT(Table[Meal])
Then create a table and add UserID, Month as Dimensions and the measure.
See workspace on this link
Also you can use the filter pane to filter those who ate more than 5 times