Forum Discussion
Selectvalue with slicer
I have this measure. Now its get the correct result for each of them but while I apply the slicer with SELECT ALL, this measure doesnt get any result instead showing empyt. I would like to dispay when I select TWO paracel status will get these two status % and select all will get result as well.
And also this measure, when I select in production/in transtion/received will coun the correct sample order
Now its only counting the received sample. Can the NAME(TEXT) also change according to the filer selection?
- Anonymous3 years ago
Hi SelflearningBi ,
I have created a simple sample, but I cannot reproduce the issue.
Measure = VAR _selectesample = CALCULATE ( COUNT ( 'Table'[model name] ), FILTER ( ( 'Table' ), 'Table'[parcel status] = SELECTEDVALUE ( 'Table'[parcel status] ) ) ) VAR totalsampleorder = CALCULATE ( COUNT ( 'Table'[model name] ), ALL ( 'Table' ) ) RETURN DIVIDE ( _selectesample, totalsampleorder )received sample no = COUNTROWS(FILTER('Table','Table'[parcel status]="Received"))If I have misunderstood your meaning, please provide your pbix file without privacy information and desired output with more details.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
1 Reply
- AnonymousNot applicable
Hi SelflearningBi ,
I have created a simple sample, but I cannot reproduce the issue.
Measure = VAR _selectesample = CALCULATE ( COUNT ( 'Table'[model name] ), FILTER ( ( 'Table' ), 'Table'[parcel status] = SELECTEDVALUE ( 'Table'[parcel status] ) ) ) VAR totalsampleorder = CALCULATE ( COUNT ( 'Table'[model name] ), ALL ( 'Table' ) ) RETURN DIVIDE ( _selectesample, totalsampleorder )received sample no = COUNTROWS(FILTER('Table','Table'[parcel status]="Received"))If I have misunderstood your meaning, please provide your pbix file without privacy information and desired output with more details.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.