cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Avian65
Helper I
Helper I

How to use calculated measure value in slicer

Hello All

 

I have created calculated measure as 

ScoreZero = (calculate(count('PDB'[Id]),'PDB'[Score]=0)).
This measure is calculating the count of score that which record has how may zero. Till now min count is 1 and maximum 39. Now I I want ot use ScoreZero measure in slicer dropdown, so if end user wants to see which plants have three 3 zero count, he can select from drop down.
 
I tried to add measure directly in measure, but it is not allowing. Please advise how to display this measure in slicer, so depending on selected slicer data shoud be filtered.
 
Regards
 Avian
1 ACCEPTED SOLUTION
HotChilli
Super User
Super User

You can't put a measure in a slicer.

The choices are :

1: You can use measures in the filter pane to filter some visuals 

or

2: create a summary table and use a dimension table with numbers (1,2,3 etc) to slice it.

View solution in original post

1 REPLY 1
HotChilli
Super User
Super User

You can't put a measure in a slicer.

The choices are :

1: You can use measures in the filter pane to filter some visuals 

or

2: create a summary table and use a dimension table with numbers (1,2,3 etc) to slice it.

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors