Forum Discussion
How to Create Different Reference Line for each column in column chart
Hi,
I am trying to create a column chart that shows the average test score for each grade level. However, each grade level also has a national norm to compare the average against. I would like each column to have a reference line representing the national norm for that grade level in each bar (to look like the attached image--this chat was created in Tableau and I'm trying to recreate in PowerBI). I have the norms as a separate data source from the test score data, and they have a 1:m relationship between the norms data and test score data. However, in the analysis pane of PowerBI, I can only see how to add in a single constant line, rather than have the line be different for each column. Is there a way to do this in PowerBI?
1 Reply
- lbendlinSuper User
you can do a combined column and line chart, and draw only the line markers but not the line itself.
Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.
If you are unsure how to do that please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216