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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
krmvacar
Creator II
Creator II

Show KPI calculation monthly

 

Hi All, 

I have a KPI and my calculatıon:

(SUM(if(Date<=Today(),DBALANCEUSD))-1686000) / SUM(if(YEAR(Date) > 2020,DBALANCEUSD))

If I select 2023 as the year, I get the following image

krmvacar_0-1701936904963.png

I want to get the trend analysis of this calculation on a monthly basis.But it brings me wrong data. Could you help?

Month Dimension: Month(Date)

Year Dimension:Year(Date)

OVERDUE RATIO Measure:(SUM(if(Date<=Today(),DBALANCEUSD))-1686000) / SUM(if(YEAR(Date) > 2020,DBALANCEUSD))

krmvacar_1-1701937240136.png

 

Thank you.

 

Labels (1)
2 Replies
brunobertels
Master
Master

Hi 

May be try to aggr your mesure by month and year ? 

aggr(

(SUM(if(Date<=Today(),DBALANCEUSD))-1686000) / SUM(if(YEAR(Date) > 2020,DBALANCEUSD))

, MONTH, YEAR ) 

krmvacar
Creator II
Creator II
Author

Hi @brunobertels ,

Thank you for reply.

I tried but it didn't work.