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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
Wattar
Helper I
Helper I

Start line graph at year selected in slicer

Hello,

 

I have years in a slicer and a line graph, and I need to display data starting from the year selected in the slicer? How to do that?

Thanks for your help.

 

6 REPLIES 6
Anonymous
Not applicable

@Wattar 

You can put your sample pbix file on Onedrive for business, and then share the link here. 

 

Paul

Anonymous
Not applicable

@Wattar 
Basically, you need to create measure to make visual dynamic, and "enter value " create a slicer table, the the new Year column as the slicer. Check the example pbix for detail.

Value Measure = CALCULATE(MAX([Value]),FILTER('Table',[Year]>=SELECTEDVALUE('Table (2)'[Year Slicer])))
 

V-pazhen-msft_0-1606368410771.png


Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

@Anonymous , thanks for your reply.

It seems right but I couldn't reproduce your solution.

I can't find how to upload my workbook.

Thanks

Wattar
Helper I
Helper I

I hope it's clear with an image, the grpah displays all the years where there are data, but I need to only show the years starting from the year selected in the slider:

Wattar_0-1606141074441.png

 

 

ryan_mayu
Super User
Super User

@Wattar 

could you please share the sample data and expected output?

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




amitchandak
Super User
Super User

@Wattar , The information you have provided is not making the problem clear to me. Can you please explain with an example.
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Appreciate your Kudos.


Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.