Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
win_anthony
Partner - Contributor III
Partner - Contributor III

Comparing Multiple Values

Is it possible in QlikView to compare multiple values? My project is to compare current month's employee data vs. previous month's employee data. The goal is to highlight any changes between the 2 months (ex: if a name changes, position change, employee joining/departing, manager change, etc...). If this is possible, how would you approach this? Below are the following examples: March 2020 / April 2020 / Difference between March vs. April 

Mar-20
DateIDEmpIDLastNameFirstNamePositionManagerCity
2020030110DoeJohnCashierJordan, MichaelNew York
2020030111SmithJaneManagerRogers, TomChicago
2020030112MoneyFloydDishwasherPacquiao, MannyLas Vegas

 

Apr-20
DateIDEmpIDLastNameFirstNamePositionManagerCity
2020040110DoeJohnCashierJordan, MichaelNew York
2020040111RoseJaneReg. MgrSteven, JimChicago
2020040113BryantKobePlayerJohnson, MagicLos Angeles

 

Difference Between April 2020 vs March 2020
ChangeEmpIDLastNameFirstNameOldNewManagerCity
LastName11RoseJaneSmithRoseSteven, JimChicago
Position11RoseJaneManagerReg. MgrSteven, JimChicago
Departed12MoneyFloydDishwasher Pacquiao, MannyLas Vegas
Joined13BryantKobe PlayerJohnson, MagicLos Angeles
2 Replies
Architect
Partner - Creator
Partner - Creator

HI,

if this is a checking between current and previous month only,

from my high-level observation, you can assign two-variable containing these two dynamic months and in the stagging layer can consolidate one table containing both data. Next, introduce a flag column to check if the data corresponding to any ID in two months have a difference in value.

And from Visual Cues, you can add color to the column depending on your flag '1' or '0'.