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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
saumyashah90
Specialist
Specialist

Current Month and Previous month data in chart and waterfall chart same time

Hi ,

I have data like,

Table1:

CGIDDATEID
1623430/04/20161
1623831/03/20162
12344531/03/20163
42371230/04/20164
21321330/04/20163
34234
31/03/2016
4
545325430/04/2016

Table2:

CGIDDATETypeSubType
1623430/04/2016NCa
1623431/03/2016DCb
12344530/04/2016NC`a
21321331/03/2016NCd
545325430/04/2016DCe
545325431/03/2016DCd
21321330/04/2016DCe
42371231/03/2016NCb
42371230/04/2016NCa

No i have key of CGID&DATE between both

I want waterfall chart based on SubType

Start month will  be count(CGID) for March

and all others will be count(CGID) for April.

In a chart i have DATE Type as  a dimension and expression i need countof CGID for current month and previous month.

And all this should filter with ID's.

and Current month (April) is selected.

7 Replies
saumyashah90
Specialist
Specialist
Author

any help?

saumyashah90
Specialist
Specialist
Author

guyz anyhelp?

jagan
Partner - Champion III
Partner - Champion III

Hi Saumya,

Do you want two dimensions in chart? DATE and Type?  Can you attach sample file so that it will save time.

Regards,

Jagan.

saumyashah90
Specialist
Specialist
Author

Yes i need Date and Subtype in dimension and in expression 1 column i need count of CGID for previous month and

2nd column of current month

For example when i select April month.

Dimension

I should have April Month dates and their subtype in dimension and Count of CGID in expression for April month in and 2nd expression will have count of CGID in previous month.

Will try to attach example if possible.

Anil_Babu_Samineni

Like this? You are expecting

Capture.PNG

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anil_Babu_Samineni

Or this

Capture.PNG

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
saumyashah90
Specialist
Specialist
Author

Hi Anil,

On selection of April month. only 30/04/2016 records should be seen.

And their subtypes current month count and previous month count.

If you see i my image attached.

e subtype is having some count in April and Mar.(both should come in same row).

And output i need is

DTSubTypeCurrMonthPrevMonth
30/04/2016e22
30/04/2016a30

This should be the output when i select April month in filter. and ID i a filter which should affect this chart.

Similarly it should work the same with Mar month filter showing march month records