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.
How to display only the last month data in a line graph and in addition, to display the legend at the end of the line graph ?
Appreciate your assistance to get this done.
Solved! Go to Solution.
Hi @Anonymous
Please see this link for the legend at the end of the line graph, if I got your point correctly 🙂
There are many ways to filter the display of the line graph to show the last month; you can set a filter on the Filter pane or use DAX.
Add more details or share a sample of data.
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
I think I have the same problem. My linechart is fed from a database which is permanently updated. So right now I can see all sums till today (October). But today is October 6th, the sales numbers for this month are pretty low (and are growing towards the end of this month). So I want to show only the numbers till end of September. How does that work?
Hi @Anonymous
Please see this link for the legend at the end of the line graph, if I got your point correctly 🙂
There are many ways to filter the display of the line graph to show the last month; you can set a filter on the Filter pane or use DAX.
Add more details or share a sample of data.
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Thank you Vahid for your reply.
Legend appears on updating the latest version of Power BI.
Second request was to display the DATA for the last month of the line graph, not to display the last MONTH.
I mean , for example, for a line graph for a period of one year from Jan to Dec, I need to display the Data for Dec only("Data label" option display the data for all months).
@Anonymous
What do you mean by Last Month Data? Need more context to it. To show the legend you can turn on the series lable. This feature was released in September 2021 update
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
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 |
---|---|
60 | |
58 | |
54 | |
36 | |
33 |
User | Count |
---|---|
79 | |
66 | |
45 | |
45 | |
43 |