Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

Filter On Same Table

Hi All,

I put together this measure to count the number of sites placing an order last year, but i can't get it to work:

Ordering Sites LY = CALCULATE(DISTINCTCOUNT(SalesItemByDay[outletId]), FILTER(ALL(SalesItemByDay), SalesItemByDay[GrossSalesLastYear] > 0))

 

I'm aware i'm trying to filter on the same table - is that where i'm fallling down?

1 Reply