jenschmidt
Programmer
I've looked at other posts regarding finding the median of a summary, but the things I've tried still won't work. Please help!
Group 1 : Specialty of the Provider
Group 2 : Last Name of the Provider
Summary : Charges
Example:
GH1 Family Medicine
GH2 Smith $100,258
GH2 Jones $ 45,485
GH2 Adler $214,985
GH2 Kurth $ 89,476
The dollar amounts listed are the sums of all the charges for each provider. The middle summary for GH1 Family Medicine would be $89,476.
The reason I need the Median is because I want to apply it on a graph. The graph is for each Specialty, on change of Last Name, showing values Benchmark (which is the same for all providers in the specialty) and sum of Charges (there is a TopN sort on sum of Charges showing All, not just the Top 10 or Top 20). Median would also be the same for all providers in the specialty.
I've tried to create a subreport that passes the summary for each provider to the main report and then do a median on the main report using that value. But, when I create the shared variable, I get zero's on the main report, no matter where I place the subreport. I may have done the variables wrong, but I think I followed the syntax correctly.
I'm using Crystal Reports v9.0. I'm open to any suggestions that will solve this issue!![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Thank you in advance!!!!
jennifer.giemza@uwmf.wisc.edu
Group 1 : Specialty of the Provider
Group 2 : Last Name of the Provider
Summary : Charges
Example:
GH1 Family Medicine
GH2 Smith $100,258
GH2 Jones $ 45,485
GH2 Adler $214,985
GH2 Kurth $ 89,476
The dollar amounts listed are the sums of all the charges for each provider. The middle summary for GH1 Family Medicine would be $89,476.
The reason I need the Median is because I want to apply it on a graph. The graph is for each Specialty, on change of Last Name, showing values Benchmark (which is the same for all providers in the specialty) and sum of Charges (there is a TopN sort on sum of Charges showing All, not just the Top 10 or Top 20). Median would also be the same for all providers in the specialty.
I've tried to create a subreport that passes the summary for each provider to the main report and then do a median on the main report using that value. But, when I create the shared variable, I get zero's on the main report, no matter where I place the subreport. I may have done the variables wrong, but I think I followed the syntax correctly.
I'm using Crystal Reports v9.0. I'm open to any suggestions that will solve this issue!
Thank you in advance!!!!
jennifer.giemza@uwmf.wisc.edu