Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
Anonymous
Not applicable

Display only the last month data in a line graph and the legend at the end of the line graph

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.

1 ACCEPTED SOLUTION
VahidDM
Super User
Super User

Hi @Anonymous 

 

Please see this link for the legend at the end of the line graph, if I got your point correctly 🙂

 

https://powerbi.microsoft.com/en-us/blog/power-bi-september-2021-feature-summary/#post-17174-_Toc81908303

 

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!!

 

View solution in original post

4 REPLIES 4
SIH007_1
Frequent Visitor

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?


 Screenshot.png

VahidDM
Super User
Super User

Hi @Anonymous 

 

Please see this link for the legend at the end of the line graph, if I got your point correctly 🙂

 

https://powerbi.microsoft.com/en-us/blog/power-bi-september-2021-feature-summary/#post-17174-_Toc81908303

 

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!!

 

Anonymous
Not applicable

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).

Fowmy
Super User
Super User

@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

Fowmy_0-1633861860050.png

 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.

October NL Carousel

Fabric Community Update - October 2024

Find out what's new and trending in the Fabric Community.