Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi guys!
Is there a way to use an auxiliar table (as slicer) with values to search in the DAX below, instead of writing the string to search?
Eg: the string "Beer" would be modified by the value selected in the slicer.
Coluna = IF (
ISBLANK ( SEARCH ( "Beer"; 'Speech Lines'[text]; 1; BLANK () ) );
"Not Found";
"Found"
)
Thanks in advance!
Solved! Go to Solution.
Hi, In a calculated Column is not possible.
Is possible in a measure.
Coluna = IF (
ISBLANK ( SEARCH ( Values(Auxiliar[SlicerValue]); Values('Speech Lines'[text]); 1; BLANK () ) );
"Not Found";
"Found"
)
Hi, In a calculated Column is not possible.
Is possible in a measure.
Coluna = IF (
ISBLANK ( SEARCH ( Values(Auxiliar[SlicerValue]); Values('Speech Lines'[text]); 1; BLANK () ) );
"Not Found";
"Found"
)
Thanks @Vvelarde!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
100 | |
76 | |
74 | |
49 |
User | Count |
---|---|
146 | |
108 | |
106 | |
90 | |
62 |