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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
hrishi555
New Member

How to set default quarter value in Power BI Slicer for selected charts in power BI report?

Hi,

 

I am looking for a solution where I can use default filter of quarter (example- Q3-22) for only for selected charts in the Power BI report by keeping the existing functionality of slicer (meaning if someone want to see the data for Q4-22 then they can select that dropdown slicer value and related data will show on those charts).  Is it possible? if yes, then how?

 

Thanks in advance!

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@hrishi555 , You have to create a new column like below and save of current qtr

 

Switch( True() ,

format(today(), "\QQ-YY") = format([Date], "\QQ-YY"), "This Qtr",

[Qtr Year]

)

 

 

Switch( True() ,

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

[Qtr Year]

)

View solution in original post

3 REPLIES 3
v-xiaosun-msft
Community Support
Community Support

Hi @hrishi555 ,

 

You can try as what @amitchandak  suggested.

And if your problem has been solved, please mark the answer you need as a solution to help the other members find it more quickly. If not, please tell us in order to help you futher.

 

Best Regards,
Community Support Team _ xiaosun

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

ThomasWeppler
Skilled Sharer
Skilled Sharer

Great tip @amitchandak 
I think I will start to use it myself.

amitchandak
Super User
Super User

@hrishi555 , You have to create a new column like below and save of current qtr

 

Switch( True() ,

format(today(), "\QQ-YY") = format([Date], "\QQ-YY"), "This Qtr",

[Qtr Year]

)

 

 

Switch( True() ,

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

[Qtr Year]

)

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.