Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Stacked bar chart with two different shared axis

Hello, I have the following table F_KPI_ADDRESS with the fields: date : contains last date of months number: contains the number of records in that month, for a certain part and a certain type  ...
  • Anonymous's avatar
    Anonymous
    5 years ago

    Hi,

     

    I found the solution myself.
    I don't need to use measures that split up the percentages already on the level of type, as I use type on the X axis. 
    It's enough to have the percentages per part.

    Percentage_StreetCALCULATE( [Percentage_KPI_ADDRESS]; F_KPI_ADDRESS[part] = "street" )
    Percentage_Number = CALCULATE( [Percentage_KPI_ADDRESS]; F_KPI_ADDRESS[part] = "number" )
    Percentage_Zip_Code = CALCULATE( [Percentage_KPI_ADDRESS]; F_KPI_ADDRESS[part] = "zip code" )
    Percentage_City = CALCULATE( [Percentage_KPI_ADDRESS]; F_KPI_ADDRESS[part] = "city" )


    These 4 measures I use as Values respecively as street, number, zip code and city

    and on the Axis I use month and type.

    And drill down with 

     

     

     

    The result is exactly what I wanted