Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Syntax of Average monthly balance

Hi,

I am interested in knowing the syntax in the below given given sceario:

A) I have one table with Daily PnL balances for different emerging economies at client level for one year.

B) Daily PnL Balance is an expression which is simply a sum of PnL of different clients.

C) I have to get average monthly PnL balance.

 

How do I go about forming the syntax in my Daily PnL expression incorporating the average to be taken monthly using the daily data in the table?

Let me know if any more clarity is needed in my question here.

Thanks

4 Replies
ashfaq_haseeb
Champion III
Champion III

Hi,

Below document will give you a better start.

http://community.qlik.com/docs/DOC-3324

Regards

ASHFAQ

Not applicable
Author

try:

month as dimension

avg(aggr(sum(balance),date))

//where as month, date and balance put your adequate fields.

Not applicable
Author

How do I break the months using thr dates in my expression formula?

Not applicable
Author

?