# App Development

Announcements
Action-Packed Learning Awaits! QlikWorld 2023. April 17 - 20 in Las Vegas: REGISTER NOW
cancel
Showing results for
Did you mean:
Partner - Creator

## Table and Text Object Value Mismatch

Hi,

I want to get sum of rows value as final value in my text.

Kindly see the below screenshot.

Here, what i want is 2.78%(25% column) to be displayed in text object. this 2.78 % i am getting by enabling total function as sum of rows.

to calculate 25% , I have used this formula

if(sum(NET_WT)>sum(PJTD_SALE_WT),(25/count(TOTAL DISTINCT BRANCH_CLEAN))/100)

Thanks

Labels (4)

• ### SaaS

1 Solution

Accepted Solutions
MVP

Hi, you can try with:

Sum(Aggr(if(sum(NET_WT)>sum(PJTD_SALE_WT),(25/count(TOTAL DISTINCT BRANCH_CLEAN))/100),Category,Branch))

4 Replies
MVP

Hi, you can try with:

Sum(Aggr(if(sum(NET_WT)>sum(PJTD_SALE_WT),(25/count(TOTAL DISTINCT BRANCH_CLEAN))/100),Category,Branch))

Creator III

Hi Sunitha,

if(sum(NET_WT)>sum(PJTD_SALE_WT),(25/aggr(count(TOTAL DISTINCT BRANCH_CLEAN),Category,Branch))/100)

hope this helps.

Partner - Creator
Author