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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Set Analysis in Text Object

Hello!  I have  a text object with a formula =money((sum({<Aspect={'Actuals'}>}[Total Value])/(((today()-min(DateKey))+1)*7)) .   In this formula. I only want to get the Total Value of Actuals /no of days ... This one works if I select the Actuals in the Aspect box.  However,  it recalculates when I select  other aspects  (not actuals) for which I don't understand how its being computed where it shows weird figures.   Thus, is there any way  to freeze the value at the actuals aspect  or to disregard  any selections under Aspect object?

Pls. help...

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Maybe this is what you want:

=money((sum({<Aspect={'Actuals'}>}[Total Value])/(((today()-min({<Aspect={'Actuals'}>}DateKey))+1)*7))


talk is cheap, supply exceeds demand

View solution in original post

4 Replies
Sokkorn
Master
Master

Hi

Try =money((sum({1<Aspect={'Actuals'}>}[Total Value])/(((today()-min(DateKey))+1)*7))

Regards,

Sokkorn

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Maybe this is what you want:

=money((sum({<Aspect={'Actuals'}>}[Total Value])/(((today()-min({<Aspect={'Actuals'}>}DateKey))+1)*7))


talk is cheap, supply exceeds demand
Anonymous
Not applicable
Author

Thank you  for saving me twice, Gysbert...This is what I actually need ! ..

Anonymous
Not applicable
Author

Gysbert,

Can you explain to me why  you add a set  analyisis  on this statement (((today()-min({<Aspect={'Actuals'}>}DateKey))+1)*7)) ?  I really don't quite get it why you used the Aspect={'Actuals'}.... 

Actually,  I have another text object with almost the same concept .  I used this  statement but it didn't work.