This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Please allow an option for the legend to display a line or a dot for colour (and dotted/dashed lines to match the line on the chart, like the figure below):
Context:
I would like to display four lines on my line chart:
I would like last year's rates to be displayed as dotted lines, this year's rates to be displayed as solid lines, my Region's rates for both last year and this year to be the same colour, and the rates for my Province/Territory/State for both last year and this year to be the same colour. But if I were to do that right now in PBI, last year's and this year's rates would look the same in the legend because there is no differentiation between solid and dotted lines in the legend.
Solved! Go to Solution.
Hi @DesireeS ,
Is this the outcome you want?
You can go to Legend and setting like this, then the legend will reflect the dotted/solid lines.
Best regards,
hi @DesireeS
The line chart visual has an option to chang the legend shape (marker and line) for each series.
Hi @DesireeS
If I understand you correctly it is achievable.
you can format every line separately :
Legend will be referenced according to your formatting.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Hi @DesireeS
If I understand you correctly it is achievable.
you can format every line separately :
Legend will be referenced according to your formatting.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
hi @DesireeS
The line chart visual has an option to chang the legend shape (marker and line) for each series.
Hi @DesireeS ,
Is this the outcome you want?
You can go to Legend and setting like this, then the legend will reflect the dotted/solid lines.
Best regards,
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 27 | |
| 26 | |
| 22 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 45 | |
| 42 | |
| 41 | |
| 21 | |
| 18 |