Forum Discussion
Anonymous
6 years agoNot applicable
Distinct/ Distinct count by key category
Hi everyone, I need your help😥 I would like to add red column to my table. Key of the group for distinction would be "show" and "FY". shop item FY item count itme name ...
- 6 years ago
Anonymous , try like
Measure = CALCULATE(COUNTX(VALUES('Item'[Item]),('Item'[Item])),ALLEXCEPT('Item','Item'[shop] , Item'[FY] ))
Measure = CALCULATE(CONCATENATEX(VALUES('Table'[Item]),('Table'[Item])),ALLEXCEPT('Table','Item'[shop] , 'Item'[FY] ))
Anonymous
6 years agoNot applicable
Thank you !😆
Would you please advice me how to add a key to distinct?
I would like to distinct shop and FY.
amitchandak
6 years agoSuper User
Anonymous , Try like
Measure = CALCULATE(COUNTX(VALUES('Item'[Category]),('Item'[Category])),ALLEXCEPT('Item','Item'[Brand]))