Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I am looking for a solution where the default selection for a date in the last 30 days and at the same time slider can be changed by the viewer.
This feature is needed so when we see daily data for suppose 5 years data, the chart should look cleaner but currently, it shows the whole 5 years data and the chart looks clumsy.
Click on the slicer and under the filters pane you can customize the date to the times you want. See my picture below for reference.
@Anonymous This solution wonk work as it will freeze the date range to the selection based on the filter pane. I want it to be flexible for end-user. The only requirement is that when it loads the first time the selection of date should be last 30 days.
@amitchandak @Greg_Deckler @parry2k can you help.
@kulpowerbi Well, if you publish it that way, that will be the default. The other way to potentially do it is to get the MIN and MAX of the slicer and compare that to the MIN and MAX of ALL the table (date). Then, if the mins are equal and the maxs are equal, show the last 30 days.
Hi @Greg_Deckler This was a little tricky but I am able to achieve it by applying your suggestion. Now I have another requirement where I need to provide custom selection based on bookmark clicked. My sample PBI file
I have used drill down and bookmark to get a chart by year/month/qtr/daily.
Requirment:
When Slider is the default, and Bookmark Year clicked, then sales should be show only for custom year e.g 2015 only.
When Slider is the default, and Bookmark Qtr clicked, then sales should be show only for custom Qtr e.g QTR2 and QTR3 only.
I have written below dax, can you help me why it's not working..
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
70 | |
55 | |
37 | |
31 |
User | Count |
---|---|
83 | |
64 | |
63 | |
49 | |
45 |