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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

variable math - result is always the numerator

Of the 2 variable expressions below, the first produces a result, where the numerator value is expressed as the result.  The second expression produces an expected result.  

$(vOverheadCost) / $(vUnitCount)  

$(vNetProfitYTD) / $(vSalesYTD)

I found a community discussion log entry that suggested adding the  '='  to the expression:

=$(vOverheadCost) / $(vUnitCount)

This produced no difference in the result. 

This problem would not seem to be a result of syntax.  I'm hoping the Community can offer an explanation and I offer my thanks in advance!

0 Replies