Forum Discussion
Syndicate_Admin
Administrator
5 years agoDAX measure
Hello. I need help!!! I'm having trouble creating a dax measure. I have a table with person ID / appliance status ID / appliance status ID. I want to build a measure that tells me how many people h...
- 5 years ago
@Syndicate_Admin , Try a measure like
countx(filter(summarize(TABLE, Table[Id persona], "_1", calculate(count(Table[Id persona]), filter(Table, table[Id appliance]-1 && table[Id state] ?2))
, "_2", calculate(count(Table[Id persona]), filter(Table, table[Id appliance]-15 && table[Id state] ?3))) , [_1] >0 && [_2] >0 ), [Id persona])
amitchandak
Super User
5 years ago@Syndicate_Admin , Try a measure like
countx(filter(summarize(TABLE, Table[Id persona], "_1", calculate(count(Table[Id persona]), filter(Table, table[Id appliance]-1 && table[Id state] ?2))
, "_2", calculate(count(Table[Id persona]), filter(Table, table[Id appliance]-15 && table[Id state] ?3))) , [_1] >0 && [_2] >0 ), [Id persona])
- Syndicate_Admin5 years ago
Administrator
Thanks a lot!!! It was just what I needed!!!