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: 
JohnMatt
Contributor
Contributor

Calculate Discount Value

Hi!

How can I calculate the discount value based on the field of the actual price and the regular price?

 

Vouchers4U Stores

Labels (1)
1 Solution

Accepted Solutions
EPagan
Contributor
Contributor

1 - (actual price / regular price) should give you the %discount is decimal.  

ie:  1 - (9.00 / 10.00). = .10 (10% discount).  

Actual price: 9.00

regular price: 10.00

View solution in original post

1 Reply
EPagan
Contributor
Contributor

1 - (actual price / regular price) should give you the %discount is decimal.  

ie:  1 - (9.00 / 10.00). = .10 (10% discount).  

Actual price: 9.00

regular price: 10.00