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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
mcoetzee
Contributor
Contributor

Numbers not calculating

Please see formula that does not want to work, please help?

 

if(DiscountValue>0, sum((DiscountValue / 1.15)/PaymentFreq),0) + (MasterTotalExc/PaymentFreq) AS FinalNewMonthlyFee

Labels (1)
1 Solution

Accepted Solutions
arpitkharkia
Creator III
Creator III

May be try this

 

if(DiscountValue>0, sum((DiscountValue / (1.15*PaymentFreq),0) + (MasterTotalExc/PaymentFreq) AS FinalNewMonthlyFee

View solution in original post

4 Replies
m_woolf
Master II
Master II

Try:

if(DiscountValue>0, (DiscountValue / 1.15)/PaymentFreq),0) + (MasterTotalExc/PaymentFreq) AS FinalNewMonthlyFee

mcoetzee
Contributor
Contributor
Author

Hi,



It is not calculating the discount amounts with.


arpitkharkia
Creator III
Creator III

May be try this

 

if(DiscountValue>0, sum((DiscountValue / (1.15*PaymentFreq),0) + (MasterTotalExc/PaymentFreq) AS FinalNewMonthlyFee

mcoetzee
Contributor
Contributor
Author

Thanks, its working.