Forum Discussion

aarikc17's avatar
aarikc17
Icon for Advocate I rankAdvocate I
8 years ago

Legend Location Change (On bars themselves)

Is it possible to have the category name on the actual bar instead of in a legend?

 

 

 

1 Reply

  • v-yulgu-msft's avatar
    v-yulgu-msft
    Icon for Microsoft Employee rankMicrosoft Employee

    Hi aarikc17,

     

    Based on my assumption, you added two measures or fields into Values section of the bar chart, right? In that case, it is not possible to have the category name under actual bar instead of legend. Because you don't add any category field, all those values are considered belong to the same category. If you want to show "Last Year Sales" and "This Year Sales" on axis, it represtents there existing two categories. To achieve that, the table structure should be similar to below, then, add [Category] to Axis, add [ActualValue] to Value.

     

    Category                       ActualValue

    Last Year Sales              30

    This Year Sales              20

     

    Best regards,
    Yuliana Gu