Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
zeref
Contributor
Contributor

Need help with a variant (?

Hi, i'm New at Qlikview, and i'm trying to simplify my code but i can't do it.For example this is my code when I load information from an excel source.

Load
Period,
[Company Code] as [CC],
Amount,
Amount * -1 as [Negative Amount],
[Negative Amount] /1000 as [Neg Amount in miles]

The code write with Bold, doesn't work, probably because "[Negative Amount]" it's not recognized from the source of the excel. But I need it to work, cause i'm on more complex formulas, and I need them to look easy to understand.

Pleasee help,

Labels (2)
1 Solution

Accepted Solutions
Aditya_Chitale
Specialist
Specialist

Replace [Negative Amount] with Amount*-1 or use preceeding load

Regards,

Aditya

View solution in original post

1 Reply
Aditya_Chitale
Specialist
Specialist

Replace [Negative Amount] with Amount*-1 or use preceeding load

Regards,

Aditya