Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have a set of ranking data that contains "=" and a range of values
Below is the test data:
Year | ranking |
2018 | 98= |
2019 | 123 |
2020 | 395 |
2021 | 321= |
2022 | 480 |
2023 | 491-500 |
I am trying to plot a line chart as follows, could anyone suggest how could I plot it in PowerBI or how cound I amend the data in PowerBI to plot this line chart?
The data label should display as follows:
Solved! Go to Solution.
No problem, on the tool tip page, select somewhere on the canvas and in the format pane there should be a Canvas settings. The type will adjust the size, tooltip size might be a little large still for your measure. If you slect custom youu can manually adjust it.
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Hi,
is the ranking field in the data source? if so you can use replace it in power query by using replace values in on the transform ribbon, just enter = in the find box and leave the replace blank.
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Hi,
Thank you for your reply.
The ranking field is the data source. If using the replace function, the line chart will not show the "=" in the line chart. I would like to show the raw data in the line chart.
In addtion, some of the year using a range of value (e.g. 491-500). I am not sure how could I plot a line chart with data that contains plain integer (e.g. rank 123 in 2019) , interger with "=" (e.g. rank 321= in 2021) and a range of value (rank 491-500 in 2023).
I don't think you're going to have much success plotting those values due to the non numeric elements. Could you create another field that removes the additional = etc. plot those and use the current ranking value as a tool tip?
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
How could I only show the current ranking value as a tooltip? I find both data will show on it
If you create a new page and set that page to tooltip:
then put your column/measure on there
go back to the chart on the original page and format the tool tip of the chart to pick up that page.
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
It seems great! One more question: how could I amend the size of the tooltip as it seems too large when I go back to the original page.
No problem, on the tool tip page, select somewhere on the canvas and in the format pane there should be a Canvas settings. The type will adjust the size, tooltip size might be a little large still for your measure. If you slect custom youu can manually adjust it.
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Thank you for all your information!😀
No problem, happy to help 🙂
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
79 | |
79 | |
59 | |
36 | |
33 |
User | Count |
---|---|
92 | |
59 | |
59 | |
49 | |
41 |