I am new to powerBI and i have created a measure using two tables as given below.
Paid Users =
VAR current_month = MAX('Date'[Dates])
VAR customers = CALCULATE(sum('users'[CustomersOrNot]), FILTER(ALL('users'),'users'[CustomersOrNotDate] <= current_month && 'users'[CanceledDate] > current_month && 'users'[category] IN {"001","002","003"}))
return customers
so we have users table and Date table but when i try to create a chart of paid Users with category i am getting same values for all the categories instead of different values for different categories. Users Table Dates
FILTER(ALL(...)...)
syntax which removes all the filters on the users table and later on introduce a filter on users by category in 001, 002, 003. Remove the ALL() and you should get your result:ALCULATE(sum('users'[CustomersOrNot]), FILTER('users',......
– user12493039