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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
vardhancse
Specialist III
Specialist III

Calculated Dimension

Hi,

Have a requirement is that,

   

sum(Cost)sum(Cost)YOYYOY
Period2013201420132014
Team2013201420132014
TeamA1020
TeamB1525

As of now which ever value is higher its showing ▲ or ▼.

but now it should calculate the difference between period 2014 and 2013 and only if difference > 2 then only the ▲ should display in YOY.

PFA QVW for reference

2 Replies
vardhancse
Specialist III
Specialist III
Author

gwassenaarjagan‌ Can please help me in getting the same

tresesco
MVP
MVP

Try expression :

=if(fabs(Sum(Cost)-After(Sum(Cost)))>2,'▲','▼')