Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Finding a progression visual

Hi,

 

I'm new to PowerBI and am having trouble finding the right visual to use.  I want something that tracks company progression for indpendent steps.  I want the a grid-like structure with Companies on the Y axis and Steps on the X axis. Whenever a step is completed, it will be marked as green.  Pending steps are filled in yellow.  I'm using the Common Data Service and already have the data as needed but am struggling to find the right visual to use.  I tried using Matrix but it wasn't able to fill in the 'cells' according to the status.  See the diagram at the bottom for an example.

 

I don't need a visual that looks exactly like the one below but something that has the same visual effect.  If someone could guide me to a visual that could accomplish this, I would greatly appreciate it.  

 

 

 

 

  • parry2k's avatar
    parry2k
    7 years ago

    Anonymous you can create a measure for color based on Status

     

    KPI Color = 
    VAR __status = MAX( Table[Status] )
    RETURN
    SWITCH(
    __status,
    "Complete", "Green",
    "InProgress", "Yellow"
    "Incomplete", "Red"
    )
    

    In format by drop down select Field Value and select KPI Color measure whcih we created in above step.

4 Replies

  • Anonymous you can achieve this with matrix visual.

     

    - put company column on rows

    - put step column on columns

    - put status on values (it will be aggregation, not sure what value you have for status)

     

    and then you can use condition formatting for background and foreground color of your status column, so it will only show cells wiht filled color and no value because of same background and foreground color.

    • Anonymous's avatar
      Anonymous
      Not applicable

      parry2k thanks for the help.  My status values are strings ("Complete", "Incomplete" or "In Progress").  It looks like conditional formatting only works for numeric values? I want the background color to be green if status = "Complete".  Is this possible?

       

      Here's what I see whenever I choose conditional formatting for status:

      • parry2k's avatar
        parry2k
        Super User

        Anonymous you can create a measure for color based on Status

         

        KPI Color = 
        VAR __status = MAX( Table[Status] )
        RETURN
        SWITCH(
        __status,
        "Complete", "Green",
        "InProgress", "Yellow"
        "Incomplete", "Red"
        )
        

        In format by drop down select Field Value and select KPI Color measure whcih we created in above step.