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: 
proctors
Creator
Creator

Divide Total Row

I need to take the Sum of one total and divide it by the other, but it ends up blank. I need 412.8 / 146.25 = 2.82

Expression for weighted is: Sum(Total [Sum wRVU in FY for each code])/SUM( Total [Adjustment if CPT Not Hourly])

CPT Code # of units billed in FY Adjustment if CPT Not Hourly wRVU Sum wRVU in FY for each code Weighted average wRVU per unit billed
9079144.003.0012.0 
9083231.501.504.5 
9083453.752.0010.0 
9083720.403.006.0 
9615023635.400.50118.0 
9615113119.650.4862.9 
9615229544.250.46135.7 
9615412118.150.4554.5 
96155213.150.449.2 
NOCHG1616.000.000.0 
Total 834 146.25 11.83 412.8 0.00
12 Replies
proctors
Creator
Creator
Author

Works. What did you do?!

sunny_talwar

Used Sum(Aggr()) to get the totals Sum of rows in pivot tables ‒ QlikView and used original expressions instead of column reference as they are not available within aggr function

qlik4asif
Creator III
Creator III

Can't we use Column(2)/Column(4)

taking ur original post as reference