
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Tags:
- new_to_qlikview
Accepted Solutions


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

.png)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you so much!
