Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.