Forum Discussion
Anonymous
5 years agoNot applicable
Percentage for distinct count
I have a data like this..
.
Report is created on matrix visual like this...
Measure for countvalue is
countvalue = CALCULATE(DISTINCTCOUNT('Sheet1'[Policy]),'Sheet1'[ENDORSEMENT]=0 )
I want (%) percentage value for category type Percenatge of Total based on count values ...
plse help...
Anonymous , Try a mesure like
countvalue % = divide(CALCULATE(DISTINCTCOUNT('Sheet1'[Policy]),filter('Sheet1','Sheet1'[ENDORSEMENT]=0 )),CALCULATE(DISTINCTCOUNT('Sheet1'[Policy]),filter(allselected('Sheet1'),'Sheet1'[ENDORSEMENT]=0 )))
1 Reply
- amitchandak
Super User
Anonymous , Try a mesure like
countvalue % = divide(CALCULATE(DISTINCTCOUNT('Sheet1'[Policy]),filter('Sheet1','Sheet1'[ENDORSEMENT]=0 )),CALCULATE(DISTINCTCOUNT('Sheet1'[Policy]),filter(allselected('Sheet1'),'Sheet1'[ENDORSEMENT]=0 )))