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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors