Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 66 | |
| 48 | |
| 43 | |
| 26 | |
| 19 |
| User | Count |
|---|---|
| 198 | |
| 126 | |
| 102 | |
| 67 | |
| 50 |