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: 
joris_lansdaal
Creator
Creator

Set Analysis - Graph

Hi all,

I've got a challenge that I'm not able to tackle. Below graph shows the volume progress over the month compared with last month and a lineair projection. The challenge is that the the 'Day' axis always shows 31 instead of the number of days in the currenth month.

monthprogress.PNG

When I select 'Sep' in the dimension Month the graph obviously will show 30 days. So I tried below set analysis with

=Sum({<CurMTDFlag={1},Month={"=Month(maxDate)"}, Local_Flag={1}>} $(VarFact)), but that doesn't do the trick.

Should I use the Day dimension or is my set analysis incomplete/wrong?

Thanks

12 Replies
Anonymous
Not applicable

you Should need to use Date->'DD'as dimension

sunny_talwar

Are you trying to get rid of the extra days which doesn't have a bar?

joris_lansdaal
Creator
Creator
Author

September has 30 days and I'm trying to get rid of day 31

sunny_talwar

May be try using Day(Date) as your dimension and see what happens

NickHoff
Specialist
Specialist

Day(MonthEnd(YourDateField))

joris_lansdaal
Creator
Creator
Author

This is the end result I'm looking for. (Don't mind the table and meter...)Sep.PNG

sunny_talwar

Did you try using Day(Date) as your dimension?

joris_lansdaal
Creator
Creator
Author

Yes, Day(Date) is the used dimension

sunny_talwar

Can you check your calendar to check if September somehow have 31 days in the script