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

The Fabric Community site will be in read-only mode on Monday, Feb 24 from 12:01 AM to 8 AM PST for scheduled upgrades.

Reply
PJOS_1
Frequent Visitor

Filtering a table based on slicer input

Greetings all, I'm new to PBI so hopefully this is a comically easy question.

 

I have a small lookup table that has each of my properties' names listed along with the operating company that operates them. Each property name is unique and each has an associated management company in the same record. There are only a small number of management companies in the table so each management company might have 3 or 4 different properties they run. I have a slicer that updates my report based on the property name.  


What I would like to do is, upon selection of a property name in my slicer, I'd like to show a list in a matrix of all other properties that share the same managment company. My gut tells me this is super easy. I can do the math for the set of properties but I can't seem to produce a list of them.

I thought producing it with CALCULATETABLE would work but I've learned that they don't take slicer input. 

Here's my DAX that is wrong:

 
Operator Properties =
var operator = SELECTEDVALUE(Properties_General[Operator])
RETURN
CALCULATETABLE(Properties_General,Properties_General[Operator]=operator)




1 ACCEPTED SOLUTION
v-yiruan-msft
Community Support
Community Support

Hi @PJOS_1 ,

I created a sample pbix file(see attachment) for you, please check whether that is what you want.

yingyinr_0-1613373272876.png

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yiruan-msft
Community Support
Community Support

Hi @PJOS_1 ,

I created a sample pbix file(see attachment) for you, please check whether that is what you want.

yingyinr_0-1613373272876.png

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
lbendlin
Super User
Super User

This is called "Filtering up" - have a look at this similar post

 

Solved: Filtering most detailed level, but displaying valu... - Microsoft Power BI Community

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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