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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
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

Labels (1)
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..