I want to create a bar chart where:
- The X-axis represents ratings.
- For each rating, there are two bars side by side: one for Category A and one for Category B.
- The Y-axis shows the Value percentage for each category.
- The sum of the value percentages for Category A and Category B across all ratings should be 100%.
the category A is a column with rating of one standard
the category B is another column with rating of another standard
for example for
- row A: entity A, category A rating:5, category B rating:7, entity value: 50000
- row B: entity b, category A rating:6, category B rating:6, entity value: 200000
I want the bar chart that can display value percentage of total of each category rating, which means for each rating in X-axis, there are two bars, one bar is Value percentage of total of category A, the another is value of percentage of total of Category B. I tried all the way I could , like percentTotal({value},[category A,categoryB]), percentTotal({value},[category A), they all have erro like “the result is table calculation attribute reference are missing in field wells”
Please help