Forum Discussion

jts_'s avatar
jts_
Icon for Helper I rankHelper I
4 years ago

Wrong TOTALS when transform table into stacked bard chart

Hi,

 

I am running into an issue that total values show differently when changing the chart from Table to Stacked Bar Chart.

Below is the sample data, when it is displayed in Table, it includes:

  1. Date
  2. # of Appointments on that date
  3. Location

 

Since the column of Appointments/ Day is a measure, which calculates # of appointments that occurred on that specific date of that location. The Total row shows the number of total appointments divided by distinct dates. That is why it shows as 9, instead of 27.

 

However, when I transform the table view into a stacked bar chart and enable the totals value bottom-- the total number shows incorrectly. (I have less than 20 legends for the stacked bar chart)

 

I appreciate any thoughts/ comments on this question. Thank you in advance!

2 Replies

  • HotChilli's avatar
    HotChilli
    Icon for Community Champion rankCommunity Champion

    It's a bit difficult to investigate this without the pbix.  Can you post it?

    • jts_'s avatar
      jts_
      Icon for Helper I rankHelper I

      Hi HotChilli ,

       

      Thanks for your response.

      Sure thing, I have attached the picture for your reference! Due to the fact that part of the table is confidential, I had to cover it before posting. Thank you for your understanding.

       

      Ideally, I am looking for a solution that will make the total value in the stacked bar chart show as 294. Thank you!