Forum Discussion
kpansia
8 years agoFrequent Visitor
Slicer Not Working as Intended
Hey I have a small sample table example below this. When I am creating visualizations, specifically the stacked column chart, I use a slicer to seperate and count distinct values by year. So If I cho...
- 8 years ago
Hi kpansia,
I reproduce your scenario and get expected result, please follow the steps below.
1. Create a measure using the formula below.DistinctCount = COUNT(Table2[id])
2. Create a stacked column chart, select the Id as x-axis, the measure as value. Create a slicer including Year field.
select 2012 yearselect 2013 year
Please download the .pbix for reviewing more details.
Best Regards,
Angelia
v-huizhn-msft
Microsoft Employee
8 years agoHi kpansia,
I reproduce your scenario and get expected result, please follow the steps below.
1. Create a measure using the formula below.
DistinctCount = COUNT(Table2[id])
2. Create a stacked column chart, select the Id as x-axis, the measure as value. Create a slicer including Year field.
select 2012 yearselect 2013 year
Please download the .pbix for reviewing more details.
Best Regards,
Angelia