Forum Discussion
Automatically change/set filter selection
I'm struggling to see how to preselect a slicer value based on the most recent day, so I'll be curious to see if someone chimes in.
To make it easier for the Execs though, you can change the slicer to a "Relative" visual with the dropdown in the slicer, then set it to last 1 days. Then they have to pick the last day.
Or set it to a list in descending order. Then there is just a simple box to check.
I also know you can set it in the desktop and publish it, but you'd have to do that every day, or time period, to push it up. Not ideal....
Interesting. Indeed selecting data for the last week works. Spot on.
The challenge comes when I want the user to select the week before that... Selecting data for the last 2 x weeks isn't as nice and the dashboard shows duplicate entries per customer.
So for useability... I return to wanting to magically (via DAX?) select the last entry in a list of dates.
- David
- edhans8 years agoCommunity Champion
So for useability... I return to wanting to magically (via DAX?) select the last entry in a list of dates.
You cannot use measures as slicers, and DAX are like Excel functions. They can report data, but they cannot change anything in the file like VBA could., and there is no VBA in Power BI. At this point it might be a USERVOICE request to have slicers preset to certian data based on criteria.
- dgwilson8 years agoResolver III
Thank you for the advice. Posting to Uservoice completed.
- David