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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
oboute
Contributor III
Contributor III

Duplicates lines in total expression

Hello all,

I have a table with some calculation (conditions with dates and so), and my total works fine.

But, when i want to do a "summarized" table with just total, it removes costs :

pb_qv_finance.png

Here is my calculation :

pb_qv_finance-2.png

I tried to change "Montant commande" by Sum(Montant commande), but it duplicates me costs  :

pb_qv_finance-3.png

I checked, normally i have juste one "montant commande" by N° BT, i don't understand why it's duplicating lines ...

Any idea ?

5 Replies
jayanttibhe
Creator III
Creator III

Can you please post sample data with QVW file?

Anil_Babu_Samineni

When you talking about Duplicates it should show same value for two times. on my visualization i didn't see any duplicates over there. Can you share the excel and please post the expression on wall

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
oboute
Contributor III
Contributor III
Author

Hello,

Here is a sample.

I know i could use a Sum(Distinct "Montant Commande") but i don't want to do that because it won't work with other calculation after, i would fix the problem at beginning by not duplicating those amounts

oboute
Contributor III
Contributor III
Author

I posted my qvw file

oboute
Contributor III
Contributor III
Author

I posted my qvw file