Need help with a multi column criteria power pivot issue, to create a dashboard

tbobolz

Board Regular
Joined
Mar 18, 2010
Messages
148
Hi All,

Excel 2010 V2

I have a database for healthcare patients where the data includes new patients on each row and demographics, account charges and payments along with physicians in the columns for each row. Extracting data and building pivots is fairly easy. The complex part I have been having trouble with for some times is that each account records includes 10 physician columns on each record. You have an attending physician, admitting physician, surgeon, consulting, etc. for each patient.

Now if I wish to report cases or charges by one of these physician fields it is very straight forward; however, I have a situation where I would like to build various reports on an given physcian that may appear within any of these 10 field for each record. (Similar to the function of excel, where I could have written an IF statement to look at these ten fields and return a value if one or more of the fields matched my cirteria.) Meaning, I want the pivot to return the number of case for say, Dr. Jone if he was a physician serving the patient within any one or more of theses 10 column fields. I know I can build a measurement to and use a calculate function to check each column and return a result if true, yet I perfer to build this same ability into a power pivot where the "user" can select a slicer to change which doctor or group of doctors they wish to report on. In a sense I want a dashboard feel where the user can select the physician and the pivot table updates.

I am not sure how to achieve this with a slicer as I do not think it is possible have a slicer of data validation field update the formulas of a measure to change the pivot results.

This is a litle difficult to explain, so I hope it makes sense. I have been struggling for months to create a basic user dashboard feel for this situation.

Any suggestions would be helpful.

Thanks

Terry
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Any chance you can unpivot the table? So instead of

Admitting, Surgeon, Attending
Dr Foo, Dr Bar, Dr Baz

You can have
Dr, Type
Dr Foo, Admitting
Dr Bar, Surgeon
Dr Baz, Attending

I think that might make a few things way easier...
 
Upvote 0

Forum statistics

Threads
1,224,022
Messages
6,175,972
Members
452,691
Latest member
Tony_Almeida

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top