Forum Discussion

NicoHa's avatar
NicoHa
Regular Visitor
1 year ago
Solved

problem adding a constant line to a bar chart.

Hi, I'm new at Power BI. 

I made a bart chart, with the average score per categorie.

I want to a constant vertical line (target score = 3) , but that doesn't work.

Anyone can help me out?

 

3 Replies

  • Hello NicoHa 

     

    you can create a measure for target score and add that into line values section

    sharing image for ref

    Thanks,
     Pankaj Namekar | LinkedIn

    If this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.

    • NicoHa's avatar
      NicoHa
      Regular Visitor

      that's what i tried, but it's not working and I don't know why.

       

      • pankajnamekar25's avatar
        pankajnamekar25
        Super User

        That is due to legend

         

        if you remove legend then it will work

         

        Thanks,
         Pankaj Namekar | LinkedIn

        If this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.