Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Dear Community,
a rather simple issue that I fail to solve.
Initial Situation:
Two or more columns with URLs or a random Text as values.
Sought Output as a new column:
If either one of the columns URL oder Text contain the word "google" then insert "Google" in the Output Column.
The same applies to the other ones >>
- URL oder Text contain the word "xing" then insert "Xing" in the Output Column
- URL oder Text contain the word "facebook" then insert "Facebook" in the Output Column
Solved! Go to Solution.
Hi @raymond
Try this Calculated Column. I think Power Query provides an easier way
Output =
IF (
    OR (
        SEARCH ( "Google", TableName[URL],, 0 ) > 0,
        SEARCH ( "Google", TableName[Text],, 0 ) > 0
    ),
    "Google",
    IF (
        OR (
            SEARCH ( "Xing", TableName[URL],, 0 ) > 0,
            SEARCH ( "Xing", TableName[Text],, 0 ) > 0
        ),
        "Xing",
        IF (
            OR (
                SEARCH ( "FaceBook", TableName[URL],, 0 ) > 0,
                SEARCH ( "FaceBook", TableName[Text],, 0 ) > 0
            ),
            "FaceBook"
        )
    )
)
					
				
			
			
				Hi @raymond
Try this Calculated Column. I think Power Query provides an easier way
Output =
IF (
    OR (
        SEARCH ( "Google", TableName[URL],, 0 ) > 0,
        SEARCH ( "Google", TableName[Text],, 0 ) > 0
    ),
    "Google",
    IF (
        OR (
            SEARCH ( "Xing", TableName[URL],, 0 ) > 0,
            SEARCH ( "Xing", TableName[Text],, 0 ) > 0
        ),
        "Xing",
        IF (
            OR (
                SEARCH ( "FaceBook", TableName[URL],, 0 ) > 0,
                SEARCH ( "FaceBook", TableName[Text],, 0 ) > 0
            ),
            "FaceBook"
        )
    )
)
					
				
			
			
				 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
 
            | User | Count | 
|---|---|
| 84 | |
| 49 | |
| 35 | |
| 31 | |
| 30 |