cancel
Showing results for 
Search instead for 
Did you mean: 
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
Exciting changes

Power BI Community Changes

Check out the changes to the Power BI Community announced at Build.

May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Kudo Data Story carousel

Data Stories Gallery

Visit our Data Stories Gallery and give kudos to your favorite Data Stories.

Top Solution Authors