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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Prabhu_MDU
Advocate I
Advocate I

display data for a period by default on inital load

Hi All, 

 

I have a report which has "Stacked Column chart" and a Matrix with several Slicers. 

 

all is well.. 

 

About the report:

but , now, I need to restrict the data in both, chart and the martrix to display the few years data by default when the reports loaded for the first time in the browser / PBI desktop. Later, based on the user's choice the data will be displayed. 

 

Slicers: 

Text Slicer (with dropdown option for formatted date values like Jan, 2018, Feb, 2018)

Date Slicer (direct values from database, with "Between" option)

 

requirement: 

How can I make the report to display for N years, let say 2 years before from current year.

 

any help is much appreciated.. 

 

Thanks,DateDefaultIssue.jpg 

Prabhu

 

5 REPLIES 5
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @Prabhu_MDU,

 

Could you please mark the proper answers as solutions?

Best Regards,
Dale

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

Hi v-jiascu-msft,

 

I could not implement the suggestion you have given me, yes, your answer is correct for the requirement, but my business users are not interested to change the filter from "Between" to "Relative".. 

 

Thanks a lot for your time.. 

Prabhu

v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi Prabhu,

 

Please also try the Relative type of Slicer.

display_data_for_a_period_by_default_on_inital_load

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
davehus
Memorable Member
Memorable Member

Hi, The simplest way I can suggest is applying a report level filter on your date and use relative filtering to display the last 3 years

 

Capture.PNGHope this helps, D

Hi Davehus, 

 

Thanks for your valued time and reply.. 

 

your answer is closer to my request, but if I apply this filter in the page level, then the user wont be able to see the other data which is older to the 3 year setup.

 

 

Hearty thanks, 

Prabhu

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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.