Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Calendar Object

Hi Friends,

I have 2 calendar object and one bar chart. I need to select start date from 1st calendar and end date from 2nd calendar.

The data should be displayed for the selected range in bar chart.

Please help me out how to achieve this?

Below are the 2 tables i have.

A:

MonthBilling AmountPaid Amount
(in Millions)(in Millions)
1/11/20141.11.15
2/13/20141.21.1
3/13/20141.151
4/13/201411.1
5/10/20141.11.2
6/13/20141.21.3

B:

Month1NationalStateHospital
1/13/201413.213.413.3
2/13/201412.112.413.6
3/15/201411.311.513.1
4/13/201413.213.113
5/13/201411.411.612.9

Kind Regards,

Anitha

8 Replies
sujeetsingh
Master III
Master III

You can achieve this by either providing two buttons each with different time calender and use the one in your expression with set analysis as date should be in range of the two

MK_QSL
MVP
MVP

what are the bar chart

dimension and expression?

VishalWaghole
Specialist II
Specialist II

Hi Anitha,

Better way i would like to suggest you.

Create one master calendar, and use that master calendar date and your A and B calendar date in set analysis.

Hope you understand this.

- Regards,

Vishal Waghole

Anonymous
Not applicable
Author

Can you please help me out ?

Anonymous
Not applicable
Author

Take billing amount as Dimension

Expression can be any, say ex, sum(state)

Anonymous
Not applicable
Author

Can you please explain. I dont understand

sujeetsingh
Master III
Master III

Anitha ,

Actually the selection for two different date fields depends on the linking .

The association of time dimensions should be perfect with the data model

Roop
Specialist
Specialist

Hi,

I have used the following in the past:

sum({$<Month={$(=MonthName)}, Year = {$(#=Only(YearNumber))}>} SummedValue)

I created a table in QlikView with just the years and the months of the tables that I was interested in - you can obviously do this with just dates as in your example. The advantage of this approach is that you can set the list bar to select only one value from the underlying values. So the table holds the fields MonthName and YearNumber and the Month and Year are fields in your fact table.

This was a simple solution and enabled me to use the same date for a whole variety of fields that did not have to be linked in the underlying schemas

I hope that this helps

R