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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register 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

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.