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

calcul rate using the last day

Hello,

I have to calcul rate and i use this in the script :

(sum(value)/ day((Date)) ) as Rate

Now i need to replace day(date) by the last day of the month

Thanks for help

Regards

1 Solution

Accepted Solutions
rahulpawarb
Specialist III
Specialist III

May be this:

Sum(value)/Day(MonthEnd(Date)) AS Rate

Regards!

Rahul

View solution in original post

1 Reply
rahulpawarb
Specialist III
Specialist III

May be this:

Sum(value)/Day(MonthEnd(Date)) AS Rate

Regards!

Rahul