Forum Discussion
Set Values For Slicer
- Anonymous9 years ago
Hi atat0105,
It is possible, you can refer to below steps:
Tables: Sheet1,sheet2.
Measures:
Sheet2.
Select value:
Select value = if(HASONEVALUE(Sheet2[Amount]),VALUES(Sheet2[Amount]),BLANK())Sheet1.
Get the status of select values:
Active Status = IF(max([Amount])<[Select value],"Active","Passive")Percent of passive:
Percent of Passive = COUNTAX(FILTER(ALL(Sheet1),[Active Status]="Passive"),[ID])/COUNTROWS(ALL(Sheet1))Create visuals.
Table:
slicer:
card:
Result:
Regards,
Xiaoxin Sheng
Hi atat0105,
It is possible, you can refer to below steps:
Tables: Sheet1,sheet2.
Measures:
Sheet2.
Select value:
Select value = if(HASONEVALUE(Sheet2[Amount]),VALUES(Sheet2[Amount]),BLANK())
Sheet1.
Get the status of select values:
Active Status = IF(max([Amount])<[Select value],"Active","Passive")
Percent of passive:
Percent of Passive = COUNTAX(FILTER(ALL(Sheet1),[Active Status]="Passive"),[ID])/COUNTROWS(ALL(Sheet1))
Create visuals.
Table:
slicer:
card:
Result:
Regards,
Xiaoxin Sheng