Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Dear community members,
I'm quite new to PowerBI but not to SQL/Excel.
I want to create a scatter chart in which possible opportunities for big projects in the future are shown (time based on x-axis). These projects are ranked so that they all will have an unique data point in the graph.
Now when I add a field as legend, the graph changes itself and sorts by the different categories known in legend first. I don't want to sort by legend, but I do want to keep the same colours for the categories in legend.
I can't seem to combine this.
Does anyone know a solution to this? I did see another similar post but the legend colours weren't saved in the solution...
Thanks in advance,
Nick
Without legend (sorted by date)
With legend activated (sorted by legend, date))
Solved! Go to Solution.
Hi @Nick_de_Beijer ,
You can keep "Show blank values" on.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
What if I can't find the "show blank values" under Y-axis of the format pane? My last line is "Line Style" and it appears to be partial. Appreciate knowing any other way to display data sorted by X-axis while showing legend colours. I'm a new user. Thanks. Diane
I should have scrolled down to see "show blank values". Time sorting worked!
Hi @Nick_de_Beijer ,
You can keep "Show blank values" on.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
superb!
Is it possible to not show the dots in bottom?
@Icey ,
Thanks for your time and this sollution, it seems to do the trick!
When I apply the option to show blank values the graph is able to keep the sort option on the x-axis including showing the legend in the same graph.
Can you explain me why this option has to be selected?
Thanks in advance,
Nick
Hi, I try to reproduce this and it is real. It looks like something to report a ticket in support. Anyway, I figure out that the visualization won't work with a legend and a hierarchy. If you have an axis X with date hierarchy you won't be able. It crashes when it has to sort by one of the columns of the hierarchy. It won't sort taking care of the father of it.
Hope this helps,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Happy to help!
Ibarrau,
Thanks for your time and your reply.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 48 | |
| 46 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 70 | |
| 69 | |
| 32 | |
| 27 | |
| 26 |