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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
sreejitjaani
Regular Visitor

Showcase only the last 6 months of data for a trendline graph visual

Hi,

 

I have a very plain request. I have a trend line graph with data points from Oct 2018 to July 2019. However I want to just display only the tren for the last 6 months from today/ latest month. Currently I am doing by making selections in the visual filter of the graph but I am looking out for a dynamic solution where automatically the graph will display only the latest 6 months data.

 

Any help would be really appreciated!

 

Thanks.

1 ACCEPTED SOLUTION
SabineOussi
Skilled Sharer
Skilled Sharer

Hi @sreejitjaani 

You can use the relative date filtering.

Just make sure your column is of type Date, drag it to the filtering pane, and choose the latest 6 months.

RelativeDate.PNG

 

This also works with a Slicer if you choose its type to be realtive.

RelativeDateSlicer.PNG

 

Hope this helps!

Sabine O.

View solution in original post

1 REPLY 1
SabineOussi
Skilled Sharer
Skilled Sharer

Hi @sreejitjaani 

You can use the relative date filtering.

Just make sure your column is of type Date, drag it to the filtering pane, and choose the latest 6 months.

RelativeDate.PNG

 

This also works with a Slicer if you choose its type to be realtive.

RelativeDateSlicer.PNG

 

Hope this helps!

Sabine O.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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