Forum Discussion

cathoms's avatar
cathoms
Responsive Resident
5 years ago
Solved

Visualization to compare two values for same person, from same row

I have a dataset where each provider has a separate row with the following columns (plus others):

NPI (id/key)Total Visits99212 visits99213 visits99214 visits99215 visits99212 peer99213 peer99214 peer99215 peer

NPI is related to a Provider lookup table with fullnames. Providers code their office visits as either 992... 12, 13, 14, or 15. I created a measure to calculate the utilization rate for the various codes, meaning of the total visits x% are 99212, y% are 99213, etc. The columns with the code number and 'peer' are peer group utilization rates, i.e. the rate at which a provider's peer group utilizes each code. Those are data in the dataset, not measures.

 

I want to set up a visualization that compares the actual utilization rate with the peer utilization rate for a given provider. Line chart in Power BI sets all the values on the y axis and the name on the x axis, so I just have a chart showing the values as dots situated above the name, like this:

 

What I want is the values (code utilization rates) to appear along the x axis, something like this:

 

I don't need to use a line chart, I just need a way to show the provider utilization rate and peer group utilization rate for each code separately, as it were. Is there something I need to do in the data model, or another measure to create, or some other visual I should use to accomplish this?

 

Basically, I'm looking for a way to emulate the following in Power BI:

 

  • So my alternative solution was to simply create four separate visuals per provider - one for each code. I used Bullet Chart by OKVIZ. Here is the end result:

     

5 Replies

  • v-luwang-msft's avatar
    v-luwang-msft
    Community Support

    Hi cathoms ,

    Great, can you share your solution and mark it as an answer so that people with the same problem can quickly find a solution.

     

    Best Regards

    Lucien

  • cathoms's avatar
    cathoms
    Responsive Resident

    So my alternative solution was to simply create four separate visuals per provider - one for each code. I used Bullet Chart by OKVIZ. Here is the end result:

     

    • cathoms's avatar
      cathoms
      Responsive Resident

      Updated version with rearranged visuals:

       

  • v-luwang-msft's avatar
    v-luwang-msft
    Community Support

    Hi

    Could you pls share your pbix file? Remember to remove confident data.

     

    Best Regards

    Lucien

  • cathoms's avatar
    cathoms
    Responsive Resident

    I figured out an alternative using multiple visuals.