Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Chithra
Contributor
Contributor

Qlik sense

Chithra_0-1645270345972.pngChithra_1-1645270373229.png

I should get the sum of SCHdays based on each project ID.If I give like this I am getting average of schdays:

Num(Avg(Aggr(Avg({<Practiceold={'IDS','TS'}>}SCHDays),E2ETATHOLDPROJECTID)),'#,##0' ), how to modify this expression to get sum of schdays  in Qlik sense table.

Labels (4)
3 Replies
PrashantSangle

Try by writing Sum in outer aggregation,

Like 

Num(Sum(Aggr(Avg({<Practiceold={'IDS','TS'}>}SCHDays),E2ETATHOLDPROJECTID)),'#,##0' )

 

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 🙂
Chithra
Contributor
Contributor
Author

Thank you so much Prashant for your update.

If I give Sum in outer aggregation , it will work when I consider individual IDs however when I want to see Quartely or monthly ,it is not giving the correct value.

PrashantSangle

Can you explain in details?

Like what is your current expression, Dimesion

Also if possible can you share the sample data with expected output.

 

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 🙂