Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

Dynamic Stacked Bar Chart (Possibly With Slicer?)

I am looking to visualize the following scenario in one stacked bar chart that changes to depict the category(s)/scenario that I choose:

 

 

4 friends are in a scavenger hunt. They must find items that fall into one of 4 categories: food, sports, art, nature. Within each category there are multiple items that can be found - players can find an item more than once (ex., jim found 2 footballs). I am looking for a way to put together a stacked bar chart that can show each friends score for each category (my current guess is that this would be through a slicer). So the axis would be the same no matter the scenario, because I want the score for each friend no matter the category. But within each category I would also like to see how many of each item was found by each friend. Is there a way to establish groups within pbi to allow for this sort of bucketizing (ex., hotdogs and Pizza belong to "Food")? The key is that this is dynamic - I want to show each friend's score (as well as item breakdown) for whichever/as many categories as I choose. I have drawn a sketch of what I imagine this to look like that is attached. Thanks in advance!!

2 Replies