Skip to main content
Question

COLUMN COMBINED IN DATA SOURCE DESIGNER


Forum|alt.badge.img+7

Ok so i am having a massive brain cramp and know that this will probally be a easy fix. LOL

 

i am trying to create a column that register if something is in bay 1 with a WDR of bay 2, below is what i thought was the answer but i keep getting error messages, Any help would be greatly appreciated

 

CASE WHEN (BAY_NO = 'LM' and WAIV_DEV_REJ_NO = 'G%') THEN '1' ELSE '0' END)

This topic has been closed for comments

3 replies

Forum|alt.badge.img+28
  • Superhero (Customer)
  • 1482 replies
  • October 1, 2021

Try

 

CASE WHEN (BAY_NO = 'LM' and WAIV_DEV_REJ_NO LIKE 'G%') THEN '1' ELSE '0' END)

 

You can’t equal a wildcard.


Forum|alt.badge.img+20

If this is the exact syntax you are using the parenthesis are not correct. Remove last end parenthesis if that is the case.

CASE WHEN (BAY_NO = 'LM' and WAIV_DEV_REJ_NO LIKE 'G%') THEN '1' ELSE '0' END

 


Forum|alt.badge.img+7
  • Author
  • Sidekick
  • 65 replies
  • October 1, 2021

@Tomas Ruderfelt @ShawnBerk 

Thank you both,  both suggestions worked i knew it was somthing simple thank you again


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings