cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
67nmark
Helper I
Helper I

slicer for custom date filter

Hello,

I have recently watched a webinar https://www.youtube.com/watch?v=chV4xyOUgCs from the guys at powerpivot(pro) where the demo uses what appears to be a slicer type filter for pre-defined date periods. I created a current day measure and tried to make it into a slicer with one option but no joy - anyone care to share how this effect is achieved?

Cheers,

Mark

 

power-bi-date-slicer.jpg

 

 

2 REPLIES 2
v-sihou-msft
Microsoft
Microsoft

@67nmark

 

In that video, it has a selector table for selection which is used in a SWITCH() function to apply different calculation. For each kind of scenario, it creates QTD, YTD and Current calculations. For more details about its structure, you can download the .pbix from: https://www.powerpivotpro.com/2016/08/watch-the-power-bi-webinar-recording-aug-16/

 

Regards,

 

 

CheenuSing
Community Champion
Community Champion

Hi @67nmark

 

Can you share some data, the data model and the result you expect to get a solution.

 

Cheers

 

CheenuSing

Did I answer your question? Mark my post as a solution and also give KUDOS !

Proud to be a Datanaut!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power BI October Update 2021.jpg

Power BI Release

Click here to read more about the October 2021 Release!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Teds Dev Camp Oct. 2021 768x460.jpg

Power BI Dev Camp - October 28th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!