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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Measure to identify selected items using separate slicer table

Dear community,

I'm looking for assistance in making a measure that identifies which items have been selected by using a seperate slicer table

I have Tables as follows:
NetworkTable

IDFromStepToStepFromSeriesToSeriesValue
1A1A2AA0.5
2B4A2BA1
3A2C5AC0.7
4A2A3AA0.9


SeriesTable

SerieSerie_Name
ASeries A
BSeries B
CSeries C


I have a slicer using the SeriesTable[Serie_Name] column: Series A | Series B | Series C
The slicer should have 1 or more selections active.

My desired result is a measure 'IsSelected' that would give a result like this:
If the User selects 'Series A'

IDFromStepToStepFromSeriesToSeriesValueIsSelected
1A1A2AA0.51
2B4A2BA10
3A2C5AC0.70
4A2A3AA0.91

 

If the User selects 'Series A' and 'Series C'

IDFromStepToStepFromSeriesToSeriesValueIsSelected
1A1A2AA0.51
2B4A2BA10
3A2C5AC0.71
4A2A3AA0.91


IsSelected = 1 when either FromSeries or ToSeries is matching the Slicer
Due to various other exisiting relationships, I cannot make a relationship between these two Tables.
All rows of the NetworkTable should remain unfiltered.
I've been experimenting with 'SELECTEDVALUE' and 'HASONEVALUE', etc. but without a lot of success.
Any suggestions how I can accomplish this would be greatly appreciated. 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , make sure SeriesTable is an independent table then try a measure like below in visual or visual level filter

 

new measure =

var _tab = summarize(allselected(SeriesTable), SeriesTable[Series])

return

countrows(filter(NetworkTable, NetworkTable[FromSeries] in _tab || NetworkTable[toSeries] in _tab) )

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , make sure SeriesTable is an independent table then try a measure like below in visual or visual level filter

 

new measure =

var _tab = summarize(allselected(SeriesTable), SeriesTable[Series])

return

countrows(filter(NetworkTable, NetworkTable[FromSeries] in _tab || NetworkTable[toSeries] in _tab) )

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak , thank you. That did exactly what I needed! Works like a charm

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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