Forum Discussion

TD21's avatar
TD21
Helper II
6 years ago
Solved

Help with Creating a Simple Chart

I'm having issue creating a very simple chart and would appreciate some help.   My data looks like this: Order #    Region    State    Apple   Banana   Orange   Grape   Pineapple A-001      South...
  • jdbuchanan71's avatar
    6 years ago

    In the query editor, select the order, region, and state columns the go to transform > unpivot > unpivot other columns:

    Then select the Value column and remove blanks, leave only the X's

    Rename Attribute to Fruit and click close and apply.

    Then you can add the fruit column to the axis and a simple measure to count the rows of the table to get your count by fruit.

    I have attached my sample .pbix for you to look at.