Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
ArjunPrasad
Contributor III
Contributor III

find out Upcoming number of Birthdays monthwise in Script

Hi All,

I have a table like below with data

Data:
LOAD [Date of Joining],
[Emp Name],
[Date of Birth],
[last day at office]
FROM
[C:\Users\Documents\Data.xlsx]
(ooxml, embedded labels, table is Sheet1);

Data:

Date of JoiningEmp NameDate of Birthlast day at office
4/8/2019Raghu14/01/1990Null
5/5/2019Ashok3/3/19932/2/2020
20/3/2017Sai4/5/19956/5/2020
5/3/2015Ramu31/3/19901/8/2020

 

Would like achieve in script to know right from Jan to Dec how many number of cakes to be ordered to celebrate the birthday of emp every month wise.

Can you please suggest me on this.

Thanks in Advance..

 

-Arjun

 

1 Reply
tresesco
MVP
MVP

It should be pretty simple - counting the Date of Birth month wise. If you have a master calendar you can do that joining this count to it. However, using UI expression would be simpler; you can just take one table chart and month as dimension, expression being something like : Count( [Date of Birth])