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
jdriscoll
Helper I
Helper I

Measure to Return Filtered Column

Hi all,

 

I'm trying to do something that I would think would be extremely straightforward, but I'm not having any luck. I want to filter down a column, "Ref #", by the values in some other columns and just return the remaining list of items in Ref # using this measure:

Act_Comp_but_not_Closed = CALCULATE(VALUES(Log_Table[Ref #]), NOT(ISBLANK(Log_Table[Act Comp])), Log_Table[Status] <> "Closed")

 

The measure doesn't give any errors, but it won't let me drop the measure into the rows or values of a matrix visual. (This would be the only component of the table.)

2 REPLIES 2
DataVitalizer
Super User
Super User

Hi @jdriscoll 
Check this post it looks similar to what you are trying to achieve

https://community.powerbi.com/t5/Desktop/How-to-retrieve-values-not-selected-in-a-slicer/td-p/629916


Did it work ? 👌 Mark it as a solution to help spreading knowledge 👉 A kudos would be appreciated

Hi,

I read through that post and it doesn't seem like it's the same. I essentially want to build a slicer into one of my columns. I know I could achieve this through putting filters on the visuals also, but I thought it would be just as easy to create a measure that would achieve the same thing.

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.