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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sum in Expression : For Pivot Table

Hi,

I have a pivot table which looks like

City                    Zipcodes                    NumberOfRestaurant               Expression

                             111111                              250                              550

Rockford               111111                             300                                 550 

                            111113                              400                              600

                             111113                              200                              600

                                111111                              100                              100

indiana                   111112                              200                              200

I am looking to get the sum of each city and the zipcodes in the city.

So the answer should be as shown in the expression above

Under Expresson I tried

Sum(Total<City, Zipcodes>, NumberofRestaurant)

Any suggestions pls.

Thanks

Labels (1)
10 Replies
Not applicable
Author

I think the issue could be because in my data from QVD I have the Zipcodes which are showing as "-".

this I think is giving the wrong numbers.

any suggestion in the formula given on this dicussion how can I exclude the calculations for the "-" ?

Thanks-