Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! 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
)
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 55 | |
| 49 | |
| 33 | |
| 16 | |
| 15 |
| User | Count |
|---|---|
| 85 | |
| 70 | |
| 38 | |
| 28 | |
| 25 |