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: 
Harish7
Partner - Contributor
Partner - Contributor

Getting Days in a Month

Hi all, i'm new to qlik

I want count of days in a month from starting of month to till yesterday in set analysis

For example, today is 24th January, i need count of days from 1/1/2023 to 1/23/2023

Labels (1)
3 Replies
PrashantSangle

try simple 

num(today())-num(monthstart(today()))

Regards,

Prashant Sangle

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Harish7
Partner - Contributor
Partner - Contributor
Author

Thanks Prashant it is working, I'm using 'Date' dimension field, and i need it count function with set analysis...

MarcoWedel

day - script and chart function

This function returns an integer representing the day

 

https://help.qlik.com/en-US/qlikview/May2022/Subsystems/Client/Content/QV_QlikView/Scripting/DateAnd...