cancel
Showing results for 
Search instead for 
Did you mean: 

BODS Query interval pattern

former_member189905
Participant
0 Kudos

Hello,

How can I make an interval condition in the ifthenelse function ?

I tried this : ifthenelse (variable = '[0-9]%', value, value).

But BODS returns a syntaxe error.

Does any one have an idea ?

Thank you for your help.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member202087
Active Participant
0 Kudos

If I am following your logic it appears that if the variable is between 0 and 9% you want to do the if?

Try this...

ifthenelse (variable >= '0%' and variable <= '9%', value, value).

former_member205887
Active Participant
0 Kudos

post the sample query you are trying ....  with sample data and expected result...

As far as my understand goes, you should try with true/false expressions like

(condition and condition) and (condition or condition).....

Former Member
0 Kudos

Can you show sample source data..