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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
I would like to create a new column (not in a query) so that return a value of "ERROR" if values in either "WorksetName" and "TypeWorksetName" do not start with "Links CAD".
This is not working
Thank you
Solved! Go to Solution.
@Anonymous -
Hard to tell without sample data. I gave it a shot anyways.
FileType using SEARCH =
IF (
OR (
SEARCH ( "Links CAD", 'LinkAndImportInstances2-4'[WorksetName], 1, 0 ) = 1,
SEARCH ( "Links CAD", 'LinkAndImportInstances2-4'[TypeWorksetName], 1, 0 ) = 1
),
"OK",
"Wrong Workset"
)
SEARCH ( ) returns the starting position of the text -> '0Links CAD" returns 2
Proud to be a Super User!
@Anonymous -
Hard to tell without sample data. I gave it a shot anyways.
FileType using SEARCH =
IF (
OR (
SEARCH ( "Links CAD", 'LinkAndImportInstances2-4'[WorksetName], 1, 0 ) = 1,
SEARCH ( "Links CAD", 'LinkAndImportInstances2-4'[TypeWorksetName], 1, 0 ) = 1
),
"OK",
"Wrong Workset"
)
SEARCH ( ) returns the starting position of the text -> '0Links CAD" returns 2
Proud to be a Super User!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 93 | |
| 81 | |
| 73 | |
| 46 | |
| 35 |