Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
dsharmaqv
Creator III
Creator III

Show Comparison month value

Hi I have a requirement where I have to display current month and comparison month value side by side.

MonthCountryStatus
JanINDHigh
JanAUSHigh
JanUKMed
JanUSLow
DecINDLow
DecAUSHigh
DecUSHigh

Output

MonthCountryCurrent Month StatusComparison Month Status
JanINDHighLow
JanAUSHighHigh
JanUKMed-
JanUSLowHigh

Note: Current month and Comparison Month both are static and can be selected by user

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

4 Replies
MK_QSL
MVP
MVP

You want at front end or back end?

MK_QSL
MVP
MVP

LOAD Date#(Month,'MMM') as Month,

     Country,

     Status

FROM

[https://community.qlik.com/thread/247333]

(html, codepage is 1252, embedded labels, table is @1);

Create a Straight Table


Dimension

=Month(Today())

Country

Expression

Only({<Month = {'$(=Month(Today()))'}>}Status)

Only({<Month = {'$(=Date(Month(Today())-1,'MMM'))'}>}Status)

dsharmaqv
Creator III
Creator III
Author

Can I get a sample app please

MK_QSL
MVP
MVP

Enclosed..