Forum Discussion

P0werB1User's avatar
P0werB1User
Frequent Visitor
6 years ago
Solved

Using clustered chart column to display calculated measure

Hello all, I recently started playing around with PowerBI this week & hit a wall in relation to creating a visual in relation to a specific metric. I am looking to create a clustered column chart to ...
  • P0werB1User's avatar
    6 years ago

    Hi Greg_Deckler v-yuta-msft 

     

    Apologies, I don't think I explained my ask clearly. I have since been able to resolve my issue. My ask was: 

     

    1. To get an overall service level as a % for the month

    2. Get a view of the same measure across the various workstreams.

     

    What was lacking from my original dataset was essentially some calendar data & the service availability of the team across each day. I created a table, sample below, and created the relationship between a 'Opened MonthYear' column in each.

     

    DateMonthMonthNoAvailableMins
    01/11/2019 00:00November1900
    02/11/2019 00:00November1900
    03/11/2019 00:00November1900
    04/11/2019 00:00November1900
    05/11/2019 00:00November1900
    06/11/2019 00:00November1900
    07/11/2019 00:00November1900

     

    The measure I used to get this was:

     

    Measure: 1 - (SUM('ServiceOps - Incident Mgmt'[TimeDiffMin])) / SUM(CalendarData[AvailableMins])
     
    I'm sure there's a more efficient way of getting to the same outcome, but I think I got there eventually! Screenshot of output available at link below: