Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
chinnuchinni
Creator III
Creator III

Need Help

is there  any way to comparison same as alternate states with out using alternate states .

7 Replies
YoussefBelloum
Champion
Champion

Hi,

describe your scenario, the way you want to make comparison

martinpohl
Partner - Master
Partner - Master

create seperate fields with the values you want to compare (year, customer, region, product group) twice

then create expressions like

sum({<region={$=concat(region1,',')}year={}$=concat(year1,',')>} sales)

and for the other selection

sum({<region={$=concat(region2,',')}year={}$=concat(year2,',')>} sales)

regards

chinnuchinni
Creator III
Creator III
Author

Sales comparison with year and month selection

chinnuchinni
Creator III
Creator III
Author

its not giving the desired result

MK9885
Master II
Master II

Maybe right click on the object and use 'Set Reference' it is inbuilt qlik feature

krishnacbe
Partner - Specialist III
Partner - Specialist III

Share some Sample data and expected output

uroboros
Creator
Creator

Use Set analysis, some like this:

Sales of this month:     Sum({<month={=$(Max(month))}, year={$(=Max(Year)))}>} value)

last Year Sales.           Sum({<month={=$(Max(month))}, year={$(=Max(Year)-1))}>} value)

This is an example to do. You only need use some like this.

Regards.

Miguel