Forum Discussion
Help with Measure for contains
- 9 years ago
jfinley1128,
Remove the parts which are red underlined, then input them manually, this should be syntax symbol errors.
Errortype = iF( ISERROR( SEARCH("Phone", AuditLog[Description])), iF( ISERROR( SEARCH("Address", AuditLog[Description])), iF( ISERROR( SEARCH("name", AuditLog[Description])), "null", "Name"), "Address"), "Phone")Or copy and paste the code from here.
If any further assistance needed, please post back.
Regards
Hi Michael,
Thanks for the assistance and providing a precise querry. I tried both pasting and typing in the querry and get the following error when I try to add the calculated column on the modeling tab:
The following syntax error occurred during parsing: Invalid token, Line 1, Offset 155, “.
jfinley1128,
Remove the parts which are red underlined, then input them manually, this should be syntax symbol errors.
Errortype = iF(
ISERROR(
SEARCH("Phone", AuditLog[Description])),
iF(
ISERROR(
SEARCH("Address", AuditLog[Description])),
iF(
ISERROR(
SEARCH("name", AuditLog[Description])),
"null",
"Name"),
"Address"),
"Phone")Or copy and paste the code from here.
If any further assistance needed, please post back.
Regards
- jfinley11289 years agoRegular Visitor
This worked. Thankyou very much!
- Anonymous9 years agoNot applicable
Hi,
Is it posible to search a string based on a measure?
as SEARCH([Measure],Column Name)? I tried this one but it didnt work.
Regards,
Maddy