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

Announcements
Check out our latest virtual session where BARC Fellow, Doug Laney, highlighted the opportunities data monetization can offer enterprises. Watch here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Using "Day" field to divide by

Hello. I am trying to us the Day field in my expression to divide by. As shown below option 1 works I receive a % amount but in option 2 I receive a blank return.

=Sum(HdmsARAmount)/(Sum(HdmsClaimOtherAdjustments + HdmsClaimMACReductions + HdmsClaimRefunds + HdmsClaimGrossCharge)/30))

=Sum(HdmsARAmount)/(Sum(HdmsClaimOtherAdjustments + HdmsClaimMACReductions + HdmsClaimRefunds + HdmsClaimGrossCharge)/Day(MonthEnd(HdmsClaimDateOfService)))



I would really appreciate any help on this.


Cliff

1 Solution

Accepted Solutions
sunny_talwar

May be you need Min or Max function around HdmsClaimDateOfService?

=Sum(HdmsARAmount)/(Sum(HdmsClaimOtherAdjustments + HdmsClaimMACReductions + HdmsClaimRefunds + HdmsClaimGrossCharge)/Day(MonthEnd(Max(HdmsClaimDateOfService))))

View solution in original post

3 Replies
sunny_talwar

May be you need Min or Max function around HdmsClaimDateOfService?

=Sum(HdmsARAmount)/(Sum(HdmsClaimOtherAdjustments + HdmsClaimMACReductions + HdmsClaimRefunds + HdmsClaimGrossCharge)/Day(MonthEnd(Max(HdmsClaimDateOfService))))

Anonymous
Not applicable
Author

Thank you I will try this and let you know. Thank you again.

Anonymous
Not applicable
Author

Hi Sunny you are the best! Thank you so very much for this help and so quick. I really appreciate this.