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

How to use aggr function with no effect of Year and month selection

Hi,

In my expression, I am using aggr function, but if I select Year and Month Filter the expression should not be changed.

Please help me to solve this issue..

Regards,

Kavita

1 Solution

Accepted Solutions
PrashantSangle

Hi,

Try to nullify in Outer Sum() also

like

Sum({<Month=,Year =>} Aggr(Sum({<Month=,Year =>} Sales),Aggregated_field))

If it wont work, Please share sample apps.

Regards

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 🙂

View solution in original post

10 Replies
Not applicable

Use Set Analysis in the AGGR or update the sample file.

ziadm
Specialist
Specialist

Hi

Sum({<Month=,Year =>} Sales)

This should ignore the Month and Year selections

Regards

Ziad

kavita25
Partner - Specialist
Partner - Specialist
Author

Yeah I know that....

I want to use aggr function along with the expression u gave it to me.

Regards,

Kavita

PrashantSangle

Hi,

On what basis you need to aggregate your existing Expression

General Syntax:

Sum(Aggr(Sum({<Month=,Year =>} Sales),Aggregated_field))

Regards

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 🙂
satheshreddy
Creator III
Creator III

hi,

alternative states option available in  QV11 so ,


why you can no't use that option?


thanks

s reddy

kavita25
Partner - Specialist
Partner - Specialist
Author

How Can I use Alternate State in Straight table only for one expression???

Regards,

Kavita

kavita25
Partner - Specialist
Partner - Specialist
Author

This doesnt work....

PrashantSangle

Hi,

Try to nullify in Outer Sum() also

like

Sum({<Month=,Year =>} Aggr(Sum({<Month=,Year =>} Sales),Aggregated_field))

If it wont work, Please share sample apps.

Regards

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 🙂
kavita25
Partner - Specialist
Partner - Specialist
Author

Thank  You Soo much....