Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I used to be able to put several measures in a line graph. This was useful when I created a dynamic control chart that allowed users to select their own populations. I had a measure for baseline and one for each confidence interval as well as the original measure these measures were based on. Explain why I can't do this anymore. Or if I am just doing it wrong then tell me the correct way.
Solved! Go to Solution.
Hi @MThogan ,
Thanks your reaching out to our community.
The reason you can't put a second measure on your chart is because you have a legend defined in your chart.
Similar post:PowerBi line chart adding lines based on measures - Stack Overflow
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @MThogan ,
Thanks your reaching out to our community.
The reason you can't put a second measure on your chart is because you have a legend defined in your chart.
Similar post:PowerBi line chart adding lines based on measures - Stack Overflow
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Can you please show us your measures and what you are trying to do with them?
To add multiple measures to a line chart in Power BI:
If you’re unable to do this, check if there’s something specific in your current setup that might be preventing it, such as:
If you need to use multiple measures but face issues with a line chart, consider using a Combo Chart (Line and Stacked/Clustered Column Chart). This type of chart allows you to plot measures as both columns and lines within the same visual, providing more flexibility.
If there are page-level filters, visual-level filters, or slicers that might be interfering with the measures being plotted together, they could affect how your measures appear on the chart.
If your measures involve complex calculations or use of dynamic parameters, ensure that there are no conflicts in how they interact when plotted together. Sometimes, a measure might not render properly on a line chart if it’s dependent on conditions not met when combined with other measures.
The solution Stephen Tao gave is precisely why it wasn't working. It is apparently built into the visual that if you use a legend you can only have one measure. I was just attempting to display two simple sums over months in the same line chart. Thank you for replying and trying to help me.
User | Count |
---|---|
77 | |
75 | |
46 | |
31 | |
28 |
User | Count |
---|---|
99 | |
91 | |
51 | |
49 | |
46 |