Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sum function problems

Hello everyone,I have problem for sum(KDV).

     Normaly write182,9463 in Sum(KDV) part but write irrelevant number in that part. If someone can help me ,i would be glad

Screenshot_1.png

1 Solution

Accepted Solutions
sinanozdemir
Specialist III
Specialist III

Hey Murat,

Here is the result that you are looking for. I created another expression with Sum(Distinct KDV):

Capture.PNG

Since KDV repeats for "Teppich Traum" multiple times, you need to use Distinct in Sum() function. If you don't use Distinct, it will just sum all KDV values. That's why you were seeing aggregated KDV amount.

Hope this helps.

Thanks

Other useful links by Sinan:

Handling Metadata in QlikView

QlikView and Python Integration

QlikView Automation Series – Unzip & Load Excel Files:

View solution in original post

7 Replies
Clever_Anjos
Employee
Employee

It would be easier to help if you post your qvw

Preparing examples for Upload - Reduction and Data Scrambling

Not applicable
Author

Thanks for you interest.

Clever_Anjos
Employee
Employee

Which value are you supposed to see when summing KDV? 182,95?

sinanozdemir
Specialist III
Specialist III

Hey Murat,

Here is the result that you are looking for. I created another expression with Sum(Distinct KDV):

Capture.PNG

Since KDV repeats for "Teppich Traum" multiple times, you need to use Distinct in Sum() function. If you don't use Distinct, it will just sum all KDV values. That's why you were seeing aggregated KDV amount.

Hope this helps.

Thanks

Other useful links by Sinan:

Handling Metadata in QlikView

QlikView and Python Integration

QlikView Automation Series – Unzip & Load Excel Files:

Not applicable
Author

Yes 182,95

Clever_Anjos
Employee
Employee

I can see your values repeat all over your data, maybe avg(KDV) instead of summing will return what you want

Not applicable
Author

Thank you so much.( Çok Teşekkür ederim )

This is solution for me .

But normally kdv has one record or I can see one records.so I dont understand why this happening why 5,488