Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

Bar chart not displaying correct valeu when adding a legend

Hello,

 

I am using the Azure Cost Management Dataset to create a simple stacked bar chart, but when I am adding the ResourceGroup to breakdown the costs, the bar chart get tottaly wrong.

 

Bar chart not stacked:

 

Just adding ResourceGroup field as a legend causes the issue as displayed below:

 

Any thoughts why?

8 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    parry2k no filters, just displaying the data.

    ā€ƒ

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi Anonymous 

      Is ResourceGroup a column in your table? I couldn't find it in your screenshot.

      I build a sample to have a test.

      Result looks well.

      Please show me more details about your table. You can share a sample with me by your Onedrive for Business.

       

      Best Regards,

      Rico Zhou

       

      If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

       

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi Anonymous , yes, this is a regular column from the table. This table is directly fed from the Azure Cost Management dataset provided by Azure.

         

        Below the lineage display:

         

        The resourcegroup properties (resourcegroup is a text field):

        Some sample data year/month/cost/resource group (couldn't anonymize to share via OneDrive yet. This is production data...)