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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Show last quarter complete quarter on filters when opening the report in Power BI Service

Hello,

 

I have date table with the filters: YEAR and Quarter (this table also has offset quarters, years and etc)

By default I want the filters to be always the latest Quarter complete (e.g 2021 - Q1) when open the report in Power BI Service.

 

I thought about using bookmark but I couldn't make that work properly as the bookmark i kind of hardcode the current quarter but and for the next quarter?

 

Any Ideas?

 

Thanks!

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous ,

Create a new column like

 

Switch( True() ,

format(today(), "YYYY - \QQ") = [Qtr Year] , "This Qtr",

[Qtr Year]

)

 

And save on This Qtr

 

or

 

Switch( True() ,

format(today(), "YYYY - " ) & "Q" & format(today(), "Q") = [Qtr Year] , "This Qtr",

[Qtr Year]

)

 

Try like

Default Date Today/ This Month / This Year: https://www.youtube.com/watch?v=hfn05preQYA&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=35

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous ,

Create a new column like

 

Switch( True() ,

format(today(), "YYYY - \QQ") = [Qtr Year] , "This Qtr",

[Qtr Year]

)

 

And save on This Qtr

 

or

 

Switch( True() ,

format(today(), "YYYY - " ) & "Q" & format(today(), "Q") = [Qtr Year] , "This Qtr",

[Qtr Year]

)

 

Try like

Default Date Today/ This Month / This Year: https://www.youtube.com/watch?v=hfn05preQYA&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=35

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.