Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi everyone
Here is my problem. I have a table (LDM LIVE) with a summary,labels and description columns with a slicer (Part number) from another table (EPICOR LIVE). I need to find if the slicer value is found in the table summary.
If just one selected value in the slicer is one I have no problems. I use the following dax measure and then filter with those who have a value of 1
Solved! Go to Solution.
Hi @Anonymous
Please try
IsContained =
IF (
NOT ISEMPTY (
FILTER (
'LDM live',
NOT ISEMPTY (
FILTER (
ALLSELECTED ( 'EPICOR LIVE'[Part number] ),
CONTAINSSTRING ( 'LDM live'[Summary], 'EPICOR LIVE'[Part number] )
|| CONTAINSSTRING ( 'LDM live'[Description], 'EPICOR LIVE'[Part number] )
|| CONTAINSSTRING ( 'LDM live'[Labels], 'EPICOR LIVE'[Part number] )
)
)
)
),
1
)
@Anonymous
Please try
IsContained =
IF (
COUNTROWS ( ALLSELECTED ( 'EPICOR LIVE'[Part number] ) )
<> COUNTROWS ( ALL ( 'EPICOR LIVE'[Part number] ) ),
IF (
NOT ISEMPTY (
FILTER (
'LDM live',
NOT ISEMPTY (
FILTER (
ALLSELECTED ( 'EPICOR LIVE'[Part number] ),
CONTAINSSTRING ( 'LDM live'[Summary], 'EPICOR LIVE'[Part number] )
|| CONTAINSSTRING ( 'LDM live'[Description], 'EPICOR LIVE'[Part number] )
|| CONTAINSSTRING ( 'LDM live'[Labels], 'EPICOR LIVE'[Part number] )
)
)
)
),
1
)
)
@tamerj1 What if I don't want the table to show anything if nothing is selected in the slicer ?
@Anonymous
Please try
IsContained =
IF (
COUNTROWS ( ALLSELECTED ( 'EPICOR LIVE'[Part number] ) )
<> COUNTROWS ( ALL ( 'EPICOR LIVE'[Part number] ) ),
IF (
NOT ISEMPTY (
FILTER (
'LDM live',
NOT ISEMPTY (
FILTER (
ALLSELECTED ( 'EPICOR LIVE'[Part number] ),
CONTAINSSTRING ( 'LDM live'[Summary], 'EPICOR LIVE'[Part number] )
|| CONTAINSSTRING ( 'LDM live'[Description], 'EPICOR LIVE'[Part number] )
|| CONTAINSSTRING ( 'LDM live'[Labels], 'EPICOR LIVE'[Part number] )
)
)
)
),
1
)
)
Hi @Anonymous
Please try
IsContained =
IF (
NOT ISEMPTY (
FILTER (
'LDM live',
NOT ISEMPTY (
FILTER (
ALLSELECTED ( 'EPICOR LIVE'[Part number] ),
CONTAINSSTRING ( 'LDM live'[Summary], 'EPICOR LIVE'[Part number] )
|| CONTAINSSTRING ( 'LDM live'[Description], 'EPICOR LIVE'[Part number] )
|| CONTAINSSTRING ( 'LDM live'[Labels], 'EPICOR LIVE'[Part number] )
)
)
)
),
1
)
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 42 | |
| 37 | |
| 34 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 62 | |
| 31 | |
| 26 | |
| 25 |