Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
krithikarees
Contributor III
Contributor III

KPI is not same as totals in table

The expression I used to calculate 0 days is

=sum(if ($(vClearing) and num($(vCalendarDate)) - num([Net due date]) <= 0  , [Debit/Credit Amount],0))

when I use the same expression in KPI it gives me a different total.

any help would be appreciated!

3 Replies
Anonymous
Not applicable

=sum(if ($(vClearing) and num($(vCalendarDate)) - num([Net due date]) <= 0 ....


this is correty and?


maybe this....


=sum(if (num($(vClearing)) = (num($(vCalendarDate)) - num([Net due date])) <= 0 .....


jomar_ebonite
Partner - Contributor III
Partner - Contributor III

Sample qvf would help.

Thanks

PrashantSangle

can you post variable definition?

Just guess I think you required aggr()

Sum(aggr(sum(if ($(vClearing) and num($(vCalendarDate)) - num([Net due date]) <= 0  , [Debit/Credit Amount],0)),YourAllDimensionIncludedInChart)).

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 🙂