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

Announcements
Posting on Qlik Community is temporarily paused. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
devender
Contributor II
Contributor II

Year or month to dates

hi,

I am new to qlik and here i have question.

I have data in months suppose.i have to make bar chart,sales vs date.which means if i select a customer the data i wanted is to show sales till date.

Labels (2)
5 Replies
G3S
Creator III
Creator III

hi,

you could try set analysis:

Sum({$<yourdatefield={'$(<=today())'}>}Sales)

devender
Contributor II
Contributor II
Author

thx for reply.i think i have confused you.let me try to make it clear.data in my server is in month now i wanted covert that months into dates so that i can make chart date as dimension and sales as measures.

sidhiq91
Specialist II
Specialist II

@devender I guess you might need to create a master calendar that would help you to create dates, months etc.

Please see below link to create a master calendar.

https://community.qlik.com/t5/QlikView-App-Dev/How-to-Create-Master-Calendar/td-p/103109

devender
Contributor II
Contributor II
Author

okay @sidhiq91 ,

assume i am done with master calender.so what would be further process

sidhiq91
Specialist II
Specialist II

@devender You can use that date as Dimension and sales as Measure to create a Bar chart.