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: 
gauthamchilled
Creator
Creator

expression total and excel total not tie up

In the attached qlikview, the variance and variance % total is not tie up with excel calculations. can any one help?Capture.JPG

Regards,

Gautham

14 Replies
MK_QSL
MVP
MVP

Looks like your QVW is empty.

gauthamchilled
Creator
Creator
Author

sorry...attached the updated one now

tresesco
MVP
MVP

Your expressions do not tie. Try expression: =(column(3)/column(1))*100   for Variance%

vinieme12
Champion III
Champion III

Remember BODMASS

(column(2)-column(1))/ column(1)*100

earlier it was evaluating

1)Column 1 / Column 1 first then

2)  * 100 then

3)column 2 - result !

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
rong
Contributor II
Contributor II

Hi Gautham,

You need to isolate the subtract first, so add bracket as shown below in your expression for variance %

((column(2)-column(1))/column(1))*100

gauthamchilled
Creator
Creator
Author

not sure in my data model...total alone is not correct when i use expression total...cant share the data

any one knows what could be the reason?

MK_QSL
MVP
MVP

Use this expression for last Column...

((column(2)-column(1))/column(1))*100

or

Num((sum(Proforma)/sum(Existing))-1,'#0.00%')

gauthamchilled
Creator
Creator
Author

Capture.JPG

MK_QSL
MVP
MVP

check attached file..