Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
Edyta
Contributor III
Contributor III

problem with getting proper results from complex formula

Hi guys,

I need to calculate the rate for each client to show it on bar chart. My formula is as below:

=If([Load]='TTL', [Avg weight]*1000*(100-[Lost items %])/([weighted mean]*[FCR])/10)

Qlik shows the correctness of formula, but no results are shown on bar chart.

All names in formula are taken from data.

what is wrong with the above formula?

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar

Where exactly are you using this expression? I mean what kind of object? May be you need to add a Sum() or some kind of aggregation somewhere

=Sum(
If([Load]='TTL', [Avg weight]*1000*(100-[Lost items %])/([weighted mean]*[FCR])/10)
)

View solution in original post

3 Replies
sunny_talwar

Where exactly are you using this expression? I mean what kind of object? May be you need to add a Sum() or some kind of aggregation somewhere

=Sum(
If([Load]='TTL', [Avg weight]*1000*(100-[Lost items %])/([weighted mean]*[FCR])/10)
)
Edyta
Contributor III
Contributor III
Author

Could you explain whatthe sum does in this example?

sunny_talwar

If there are multiple values per dimension/s... it adds up the value before displaying the output....