Forum Discussion
Karthikgayathri
3 years agoHelper I
undefined
rubayatyasmin i need output as text without the bracket ex : Head Office I used to write the code Right ( dim( customer) , search("(" , dim( customer) 1, len ( dim( customer )+1)-1) ...
Karthikgayathri
3 years agoHelper I
tamerj1 plz reply
tamerj1
3 years agoCommunity Champion
Bill to Customer 2 =
VAR String = dimCustomer[Bill to Customer]
VAR Items =
SUBSTITUTE ( SUBSTITUTE ( String, "(", "|" ), ")", "|" )
RETURN
COALESCE ( PATHITEM ( Items, 2 ), "N/A" )- Karthikgayathri3 years agoHelper I
Still N/A not displayed
- tamerj13 years agoCommunity Champion
Try
Bill to Customer 2 = VAR String = dimCustomer[Bill to Customer] VAR Items = SUBSTITUTE ( SUBSTITUTE ( String, "(", "|" ), ")", "|" ) VAR Result = PATHITEM ( Items, 2 ) RETURN IF ( Result = BLANK ( ), "N/A", Result )- Karthikgayathri3 years agoHelper I
ok I will try your code . Above image see my code and my output. in output head office showing but in N/A only showing A alone wht is the issue in my code plz tell .