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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
ajsjoshua
Specialist
Specialist

Increase % calculation

Dear All,

From the given data i want to calculate the patient increase % when the hospital gives discounts.

 

patientidtypedaterevenuediscount
1Ip2/3/20175000250
2Op5/3/201745000
3Op18/4/201760000
4Ip23/4/20177000350
5Ip1/5/20172000

0

Regards,

Joshua.

3 Replies
Anil_Babu_Samineni

What is the calculation would be to calculate the % in your business.

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
ajsjoshua
Specialist
Specialist
Author

Dear Anil,

In the below data you can find the patientid 1 and 4 visited the hospital again because of discount which the hospital had given for their first visits.Now i want to calculate the patient increase % when there is discount.

 

patientidtypedaterevenuediscount
1Op2/3/20175000250
2Op5/3/201745000
3Op18/4/201760000
4Op23/4/20177000350
5Op1/5/201720000
1Op1/5/20173000150
4Op2/5/20175000250
Anil_Babu_Samineni

That means, You are going to execute each row which based on patientid if id already exists in each when this happened to next again

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