Forum Discussion

claireberry's avatar
claireberry
Icon for Helper I rankHelper I
1 year ago
Solved

Data suppression for a stacked column chart

Is it possible to have suppression be reflected in a stacked column chart?
So if some count is not 0 and fewer than 10, have the chart label in a stacked column chart display the character "S"?

example:

pick stacked column chart

x-axis ---- Jurisdiction

y-axis ---- Counts (if this count is not 0 and fewer than 10 then the chart would display "S")

Thank you. 

14 Replies

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

      Thanks for the pbix. Is it possible to let the bar on the right not show the count( no bar at all), just "S"?

      • ryan_mayu's avatar
        ryan_mayu
        Icon for Super User rankSuper User

        could you pls provde some sample data and expected output? you can draw the chart in excel for a reference.

  • This picture is generated using the sample data you used. I just covered the bar with a card so you can see what I ultimately want to achieve. The point is not letting the viewer see that "a" has 5 counts anywhere in the chart. Thank you. 

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

      Thanks for another solution. Is this the only way to achieve the bar chart with the gender legend? My data is too big to do that;I also don't understand the logic behind it. Would sample data like this below also need a transformation first like you did? Thank you

       

      • ryan_mayu's avatar
        ryan_mayu
        Icon for Super User rankSuper User

        pls paste the data in the reply(not the screenshot)