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

Action button for "today" filter

I am trying to create a button that would bring a BciCalendar visualization to the current month.

 

Any tips would be appreciated.

 

Thanks!

4 REPLIES 4
Anonymous
Not applicable

I think you are trying to create to create bookmark.

 

Bookmarks are used for hiding object or storing particular state of visual. Action part just display one state of visual and it will  not filter any data.

 

https://docs.microsoft.com/en-us/power-bi/desktop-bookmarks

 

Thanks & regards,
Pravin Wattamwar
www.linkedin.com/in/pravin-p-wattamwar

If I resolve your problem Mark it as a solution and give kudos.

Anonymous
Not applicable

Hi,

 

My understandign of bookmarks is that they bring your dashboard to a specific state. However, I am trying to bring my dashboard to "today()" date, which changes daily. Do you have any feedback on how to make a bookmark of that sort?

 

Thanks!

Anonymous
Not applicable

@Anonymous 

One thing you can do is add a statement in each of your DAX statements that default to Todays date. So if no date filter is being applied, all of your measures will default to today. It would look something like this:

 

 

Measure = 
VAR today = SELECTEDVALUE( Calendar[date], TODAY())
RETURN
CALCULATE(
SUM( table[column],
calendar[date] = today)

 

 

 

As far as I know, there's not a button you can press to go to today like a bookmark.  

Edit: Actually, now that I think about it, if you add a bookmark that clears all date slicers, it would technically be bringing the data to today if you do the above.

Anonymous
Not applicable

In dashboard create one visual as per your requirement. And set filter in it to today. Whenever you click on button it needs to show that visual only which is having calculations based in today()

Thanks,
Pravin

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.

Top Solution Authors