February 2024

Case statement in webi report throwing error

Hello Frnz,   I am trying to modify a webi report and adding a @prompt condition to it, but its throwing invalid relational operator error. Any suggestions please. Adding the query below i am using. Report is a custom SQL report. case when ‘ALL’ in @prompt(‘BT:’,’A’,,Multi,Free,Not_Persistent,{‘ALL’,’B’,’D’},User:0) then 1when ‘B’ in @prompt(‘BT:’,’A’,,Multi,Free,Not_Persistent,{‘ALL’,’B’,’D’},User:0) thenCase when trim(table.col1)) not …

Case statement in webi report throwing error Read More »

Case statement in webi report throwing error

Hello Frnz,   I am trying to modify a webi report and adding a @prompt condition to it, but its throwing invalid relational operator error. Any suggestions please. Adding the query below i am using. Report is a custom SQL report. case when ‘ALL’ in @prompt(‘BT:’,’A’,,Multi,Free,Not_Persistent,{‘ALL’,’B’,’D’},User:0) then 1when ‘B’ in @prompt(‘BT:’,’A’,,Multi,Free,Not_Persistent,{‘ALL’,’B’,’D’},User:0) thenCase when trim(table.col1)) not …

Case statement in webi report throwing error Read More »

Scroll to Top