Forum Discussion

bleaf's avatar
bleaf
Regular Visitor
8 years ago

Dynamic change in X Axis

Hi 

I have a bar chart including each company sales (Table1) and benchmark sales (Table2). The benchmark calculation is a measure of average sales based on the selection of Category of companies. For example Category 1 includes Company A, B, C. Please see the following chart:

 


When I chose Category 2 in slicer, the bechmark and the related companies would change. This time the Category 2 includes only company A and C. The chart changes as below: 


Is there any way that I can set the X-Axis to a daynamic way to show the chart as below instead ?


The tricky part is that company sales and company names (X-Axis) are located in columns, while the benchmark is a measure from another table. So it would be hard to make X - Axis dynamically. Any inputs are highly appreciated !

10 Replies

    • bleaf's avatar
      bleaf
      Regular Visitor

      Thank you. It's not empty column value, it's an issue on Measure vs Column Value showing in the combo charts. Only measure can calculate dynamic benchmark based on slicer result of the category. While sales column is compatible with company name column as X-Axis, sales benchmark measure is not. So when the company name is selected as X-Axis, the measure's company name X-Axis is not dynamic.