cancel
Showing results for 
Search instead for 
Did you mean: 
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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors