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: 
upaliwije
Creator II
Creator II

Date Calculation

Hi all

I have attached QV document where I have created a Pivot Table. But when I collapse Following fields

figure do not appear

Total Days, Days Left and Unused Amount.

But when I expand the table figure do appear. I want to show figures when fields are collapsed as well. Pls help me

1 Solution

Accepted Solutions
sundarakumar
Specialist II
Specialist II

FPA. Please let me know if it is correct or u want some logic to be implemented on it.

View solution in original post

9 Replies
MK_QSL
MVP
MVP

Change your expressions

SUM(TOTAL_DAYS)

SUM(DAYS_LEFT)

upaliwije
Creator II
Creator II
Author

still the unused amount does not get calculated

MK_QSL
MVP
MVP

SUM(if(DAYS_LEFT>0,NRP,0))*(DAYS_LEFT/TOTAL_DAYS)

upaliwije
Creator II
Creator II
Author

Thanks for you reply

  • but still the unused amount remain blank. Pls try with my example and reply

thanks

sundarakumar
Specialist II
Specialist II

This is bec when u r collapsing multiple values are returned for a single dimension entry, u should use an aggregate function to it like sum(), max(), etc...

-sundar

upaliwije
Creator II
Creator II
Author

Could u please modify in my QV document and upload back

sundarakumar
Specialist II
Specialist II

FPA. Please let me know if it is correct or u want some logic to be implemented on it.

Anonymous
Not applicable

here is it

upaliwije
Creator II
Creator II
Author

Thanks all