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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
sherrybay
Regular Visitor

How to place a calculated measure on a slicer/filter

I have a very simple set of calculations: how many times a consumer has received certain services

# of times a consumer has received an assessment

# of times a consumer has attended a tutoring appointment, etc.

# of times a consumer has received a reminder phone call

 

I have other filters that are typical slicers like site or program that I can easily put on the usual Power BI filters. 

 

Our analysts want to set criteria such as all consumers having more than 1 assessment, 1 reminder call at Site A. 

 

Right now, I can't put the "# of time" calculations on the Power BI slicers. In Power BI desktop I can set them up as Visual slicers on the righthand side, but it doesn't work with the other slicers in the web version. Any ideas on why this doesn't work in the web version? 

 

Thanks for any help. 

 

Best,

Sherry

Sherry

 

1 REPLY 1
stretcharm
Memorable Member
Memorable Member

You cannot use a Measure for slicer.

 

If your calc works as a computed column then this can be a slicer.

 

You can also write a measure that can be added to the filters e.g. MeetCriteria Yes or No and visual/page filter to the desired setting. Bookmarks can let you toggle between the states and a couple of image can trigger the bookmarks.

 

The guys at SQLBI have aslo provided a soltion to this in relation to PowerPivot but it's the same for PowerBI

 

http://www.daxpatterns.com/parameter-table/

 

Hope this helps

 

Phil

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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