Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Convert Access IIF to Qlikview

Can anyone tell me how to convert IIF(Right(Left(Purchase_order],7,5) = 0, Mid([Purchase_order], 8,5), Right(Left([Purchase_Order],7,5)) from Access to Qlikview?  Thank you for your help.

1 Solution

Accepted Solutions
calvindk
Creator III
Creator III

Qlikview uses & to concatenate with so do that instead:

Select IDPON,

'0000' & If(Right(Left(([IDPON],7,5))) = 0, Mid([IDPON],8,5), right(Left([IDPON],7,5)) as NewPurchase_Order,

From ThisTable

View solution in original post

4 Replies
IAMDV
Luminary Alumni
Luminary Alumni

Have you tried to use regular IF Statment? Because QlikView supports Right(), Left() & Mid() functions. Please post the sample QV file if possible.

IF(Right(Left(Purchase_order],7,5) = 0, Mid([Purchase_order], 8,5), Right(Left([Purchase_Order],7,5))

Thanks,

DV

www.QlikShare.com

Not applicable
Author

Here is what I'm trying to do:

Select IDPON,

'0000' AND If(Right(Left(([IDPON],7,5))) = 0, Mid([IDPON],8,5), right(Left([IDPON],7,5)) as NewPurchase_Order,

From ThisTable

calvindk
Creator III
Creator III

Qlikview uses & to concatenate with so do that instead:

Select IDPON,

'0000' & If(Right(Left(([IDPON],7,5))) = 0, Mid([IDPON],8,5), right(Left([IDPON],7,5)) as NewPurchase_Order,

From ThisTable

Not applicable
Author

Thank you so much!