Forum Discussion

atifshikoh's avatar
atifshikoh
Regular Visitor
7 years ago

Stack and line bar converts to 100% stack bar when using %

In the above picture, I am using Stack and Line graph to represent the total and by denomination.
TOTAL_RECH = CALCULATE(SUM(Recharge[RECHAGE_AMT]),FILTER(Recharge,Recharge[Rchrg_Source]="Voice_Recharge"))

My requirement is to show the denomination by percentage and not the actuals.
So I created the below measure.




Percent of Total =
DIVIDE (
[TOTAL_RECH],
CALCULATE ( [TOTAL_RECH], ALLSELECTED(Recharge[DIMO1])))

However when I use this in the same graph the graph gets converted in the 100% stacked graph. I need to see the trend along with % and Total Values.

4 Replies

  • v-yulgu-msft's avatar
    v-yulgu-msft
    Icon for Microsoft Employee rankMicrosoft Employee

    Hi atifshikoh,

     

    Per my understanding,you just need to add the percentage value to the "Line Values" section of the line and stacked column chart.

     

    Waht do you mean "the graph gets converted in the 100% stacked graph"? Please show us the screenshot. Besides, please provide some dummy data and show us your desired output so that I can test on my side.

     

    Regards,

    Yuliana Gu

    • atifshikoh's avatar
      atifshikoh
      Regular Visitor

      PIC 1 shows the trend of recharges according to the denominations used, but instead of absolute values , I want the percent of each denomination, which I have tried in PIC2. after the measures which were provided earlier.

       

       

       

      PIC1PIC2

      But as in PIC2 , graph is changing to 100% stacked as the sum of all % is being equal to 100% , so I need your help in getting me the trend along with percent for each denomination for each day.

       

      Regards,Atif