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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
wheelerma55
Frequent Visitor

Help with - How to Slice by the results of a measure

I would like to have the functionality of a column-based slicer using a measure column as my slicing feature.

 

What I would like my slicer by measure to produce.

wheelerma55_6-1622155776845.png

 

What I get is a semi sort of the select item that disappears if reverse sorted.

 

wheelerma55_7-1622155815651.png

Slicing method based on: DAX Fridays #204: Slice by the results of a measure

https://www.youtube.com/watch?v=xO9Caya9Qxw

 

PBIX attached link: https://drive.google.com/file/d/129-Wk-Dhfh2H6FqQgb8okyz4Vf8zn2SY/view?usp=sharing

 

All data anonymized.

 

2 REPLIES 2
lbendlin
Super User
Super User

You probably know that slicers only work with columns (native or calculated), not with measures. Maybe explain your goal a bit more.

I understand that typically one slices with a column. In this case, I have constucted a measure which calculates a category. I would like to use this measure category to filter my table results. If the measure is placed within the filter panel and then a specific category entry is applied it filters as expected. I want this type of functionality usable in some type of selectable button which shows only the selected results. There are solutions referenced which can do this based on a measure number range. I would like to have this same functionality based on a text based category. I have this partially working within the example pbix file. I am hoping someone can help sort out how to get it working based on reference solution. 

 

Slicing method based on: DAX Fridays #204: Slice by the results of a measure

// https://www.youtube.com/watch?v=xO9Caya9Qxw

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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