This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hello All,
I have a report that I need to switch between fortnight, month to date and 6month period to date(season). These time periods are based on a 445 calendar and are custom periods.
My Question is - can you have a button to switch between these time periods rather than create measures for each of them. Below are some of my measures:
Fortnight:
Hi @Anonymous ,
Have you test create a slicer table:
Slicer
Fortnight
Month
Season
Then use the below measure:
FTD Sales Budget =
IF (
SELECTEDVALUE ( Slicer[slicer] ) = "Fortnight",
CALCULATE (
[StaffedStoreBudget],
FILTER (
ALL ( BBCalendar ),
BBCalendar[Fortnight] = MAX ( BBCalendar[Fortnight] )
)
),
IF (
SELECTEDVALUE ( Slicer[slicer] ) = "Month",
IF (
HASONEVALUE ( BBCalendar[FISCALCALENDARYEAR] )
&& HASONEVALUE ( BBCalendar[MonthName] ),
CALCULATE (
'.Measures'[StaffedStoreBudget],
FILTER (
ALL ( BBCalendar ),
[FISCALCALENDARYEAR] = VALUES ( BBCalendar[FISCALCALENDARYEAR] )
&& BBCalendar[MonthName] = VALUES ( BBCalendar[MonthName] )
&& BBCalendar[Date] <= MAX ( BBCalendar[Date] )
)
),
BLANK ()
),
IF (
SELECTEDVALUE ( Slicer[slicer] ) = "Season",
IF (
HASONEVALUE ( BBCalendar[FISCALCALENDARYEAR] )
&& HASONEVALUE ( BBCalendar[MonthName] ),
CALCULATE (
'.Measures'[StaffedStoreBudget],
FILTER (
ALL ( BBCalendar ),
[FISCALCALENDARYEAR] = VALUES ( BBCalendar[FISCALCALENDARYEAR] )
&& BBCalendar[MonthName] = VALUES ( BBCalendar[MonthName] )
&& BBCalendar[Date] <= MAX ( BBCalendar[Date] )
)
),
BLANK ()
),
BLANK ()
)
)
)
Best Regards
Lucien
Thanks Lucien,
But i need it to just be the time because I will have multiple values to change that sit in different table.
Budget - Sits in a budget Table
Sales - Sits in a Sales Table (different to the above)
etc.
So the idea would be I click MTD and it changes the value for sales and budget to the month to date.
This is exactly what i was after - just didnt know what it was called.
Thank you!
@Anonymous , Not very clear. Are you looking for a measure slicer?
measure slicer
https://www.youtube.com/watch?v=b9352Vxuj-M
https://community.powerbi.com/t5/Desktop/Slicer-MTD-QTD-YTD-to-filter-dates-using-the-slicer/td-p/50...
https://radacad.com/change-the-column-or-measure-value-in-a-power-bi-visual-by-selection-of-the-slic...
https://www.youtube.com/watch?v=vlnx7QUVYME
following on from this.
Is there a way I can use the filter part of my calculate measure, as the slicer? This is what i have so far, trying to piece together different tutorials. the tutorial i was following creates a table that you can then use as the slicer:
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 32 | |
| 26 | |
| 25 | |
| 24 | |
| 15 |
| User | Count |
|---|---|
| 63 | |
| 48 | |
| 27 | |
| 23 | |
| 20 |