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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Aidenn90
Frequent Visitor

Need Help: How to filter graphs with X data points

I have a large data set that I have graphed and I would like to find a way to use a slicer to show only the last 100 data points. Example below:

CategoryTime/DateValue
A1/1/24 6:00

5

A1/2/24 8:00

    89

B1/10/24 1:00

 7

B1/10/24 5:00

274

C1/20/24 9:00

34

A2/10/24 11:00

58

A2/18/24 1:00

69

F4/10/24 0:00

91

 

 

I already have a slicer that allows me to filter the graph by catagory, i would like to make a second slicer that allows me to show the last 100 data points. I currently have a relative data slicer that show the last 30days, sometimes thats 10 data points and other time thats 1000 data points. 

 

Is there a way to tell it go as far back or as required to always show 100 (or x so i can adjust as i want) data points, even if its 2 days or 2 years?

 

Thanks,

2 REPLIES 2
Anonymous
Not applicable

Hi @Aidenn90 ,

 

Is your requirement that you want to show the last data points based on date/time?

I suggest you to try TopN function in visual level filter.

vrzhoumsft_0-1737702892015.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

rsbin
Super User
Super User

@Aidenn90 ,

You can create a Calulated Column to Rank your [Time/Date] column:

RANK = RANK(DENSE, ORDERBY('Table'[Time/Date], ASC))

Then use your filter panel to filter the number of records you want to see or create a Slicer so the User can select the number of records they want to view.

Hope this is what you were looking for.

Regards,

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors