Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi,
I have a Year, Quarter and Month Hierarchy in a filter and the report data will change based on the selected filter. Now, I want to show the report based on current Month on the initial load of report.
For example, if we are in August, it should select the months till August by default. Whenever we load the report intially, it should select July & August. And on 1st september, July, August & September need to be automatically selected.
Could someone help me over this?
Thanks in advance!
Solved! Go to Solution.
Hi @v-srekom ,
It is not supported for slicers to be selected by default while openning reports, unfortunately. But product group is looking into this feature. Please vote up the idea: https://ideas.powerbi.com/ideas/idea/?ideaid=39ba67cf-724e-4b6c-9906-51163749f759 to get it fixed quickly. For now, we just can show default values in visuals, like below.
Workaround:
A disconnected date table:
Date = CALENDAR(MIN('Table'[Date]),MAX('Table'[Date]))
Measures:
Total sales = SUM('Table'[Sales])
Measure =
VAR monthtoday =
MONTH ( TODAY () )
VAR yeartoday =
YEAR ( TODAY () )
VAR selectedmonth =
ALLSELECTED ( 'Date'[Date].[Month] )
VAR true_ =
CALCULATE (
[Total sales],
FILTER (
'Table',
'Table'[Date].[Month] IN selectedmonth
&& 'Table'[Date].[Year] = MAX ( 'Date'[Date].[Year] )
)
)
VAR false_ =
CALCULATE (
[Total sales],
FILTER (
'Table',
'Table'[Date].[MonthNo] = monthtoday
&& 'Table'[Date].[Year] = yeartoday
)
)
RETURN
IF ( ISCROSSFILTERED ( 'Date'[Date].[Month] ), true_, false_ )
@v-srekom , Slicer can not be initialized on functions /rules, as of now.
You can create a column like this in your date table and select this qtr
qtr Type = Switch( True(),
[start qtr]<=Today() && [end qtr]>=Today(),"This Qtr" ,
[qtr Name]
)
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
First, I'll clear your confusion: As we are using fiscal year, teh cycle is from July to June of next year.
And just explaining the things more clearly:
1. We have budget values for future months/quarters. So, we need to show the future months in the slicer so that client can manually select future months.
2. Whatever the month we are in, all the months till current month need to be selected by default whenever we open the report
Hi @v-srekom ,
It is not supported for slicers to be selected by default while openning reports, unfortunately. But product group is looking into this feature. Please vote up the idea: https://ideas.powerbi.com/ideas/idea/?ideaid=39ba67cf-724e-4b6c-9906-51163749f759 to get it fixed quickly. For now, we just can show default values in visuals, like below.
Workaround:
A disconnected date table:
Date = CALENDAR(MIN('Table'[Date]),MAX('Table'[Date]))
Measures:
Total sales = SUM('Table'[Sales])
Measure =
VAR monthtoday =
MONTH ( TODAY () )
VAR yeartoday =
YEAR ( TODAY () )
VAR selectedmonth =
ALLSELECTED ( 'Date'[Date].[Month] )
VAR true_ =
CALCULATE (
[Total sales],
FILTER (
'Table',
'Table'[Date].[Month] IN selectedmonth
&& 'Table'[Date].[Year] = MAX ( 'Date'[Date].[Year] )
)
)
VAR false_ =
CALCULATE (
[Total sales],
FILTER (
'Table',
'Table'[Date].[MonthNo] = monthtoday
&& 'Table'[Date].[Year] = yeartoday
)
)
RETURN
IF ( ISCROSSFILTERED ( 'Date'[Date].[Month] ), true_, false_ )
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.