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! 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!
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.