Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
nmcclary
Helper II
Helper II

Help with Modeling

Hey all,

 

For our health system, I would like to examine the correlation between marketing visits to a certain health care provider and referrals following that visit. These visits are all part of different "initiatives" of our marketing department.

 

Here is my current model:

 

PPR Data Model - 6-25-19.png

 

I have two current problems. First, there are multiple initiatives associated with some physicians. For example, an orthopedic surgeon could be listed under "orthopedic" and also under "shoulder arthroscopy" as two different initiatives. I tried splitting up into primary, secondary,  and tertiary initatives but that didn't work. Is there a way to set this up? I'm not sure if it's mathmatically possible due to referrals not being able to be counted twice.

 

Second, the key measures I'm using are Count of Referrals and Count of Visits. I can currently see all referrals and all visits to respective providers listed under certain initiatives. Our providers are listed as "Referring_to" in the referrals as in the referral was made to them. When I select a specific initiative, the filters correctly drill down to show only those providers under the initiative. What I cannot get to happen, though, is that when an initiative is selected that only the providers who were visited under that initiative to show up. Currently, all providers who have referred to our provider show up, not just the ones that were visited by the marketing team. I know this has to do with the data model and relationships.

 

Is there a way to fix this?

 

Thanks in advance.

2 REPLIES 2
jdbuchanan71
Super User
Super User

The first thing that jumps out at me is the use of multiple bi-directional filters.  That is almost always going to cause you problems. 

initiatives_bidirectional.jpg

Is there a way instead to organize the initiatives data so you can have a single table with an identifier of Primary, Secondary, Tertiary?
initiatives_combined.jpg

 

Those filters actually aren't "active" in the sense that I'm not using them at all. I should have just deleted them as they don't work, although the filter between the initiative key and primary initiative did help to filter some of the slicers correctly.

 

I could create a table like that and that is kind of what I tried to do to start with but then I ran into the problem of having "many-to-many" relationships, which from what I have read is not good either.  If I built a table like that and then tried to create a relationship to the "Visit" table by "Initiative" and then tried to create relationship to the "Referral" table by "Provider" then both of those would be set up as many-to-many, correct?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.