Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Unable to add reference line for bar chart

Hi All,   Is it possible to add reference line for all the categories which are present in the data ?    as in the below chart.     Thanks Vaibhav D
  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi Anonymous ,

     

    As far as I know, Power BI doesn't support us to add different targets for multiple categorys in Bar Chart.

    I think Bullet Chart could achieve your goal. You can get it from App Source.

    Download second one and create a target measure.

    Target = 
    SWITCH (
        MAX ( 'Table'[Category] ),
        "A", 60,
        "B", 120,
        "C", 90,
        "D", 15,
        "E", 40,
        "F", 20
    )

    Result is as below.

    Your demand is a good idea, while it is not supported to implement in Power BI currently.
    You can vote up this idea for this function:Microsoft Idea (powerbi.com)

    Or you can submit a new idea to improve the Power BI.
    It is a place for customers provide feedback about Microsoft Office products . What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.

     

    Best Regards,
    Rico Zhou

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.