Forum Discussion
Button to filter the dates
Hello Everyone, I have a table with progress results from the different office locations for each day.
I want to create buttons to find the progress of the last day, last week, and last month through three buttons. Rather than selecting the dates from the slicer/date picker.
The only reason for creating the buttons is the management is only bothered about the 3 types of dates as mentioned above, and each time they use the date picker or the slicer, it takes a little time.
Link for the screenshot of the visual: https://prnt.sc/sis35j
Lignes are the offices and the IE, FPQ, e are the departments.
3 Replies
- amitchandak
Super User
amiriqbal0711 , if you use a slicer with horizontal orientation, then it will give feel like a button
https://docs.microsoft.com/en-us/power-bi/power-bi-slicer-filter-responsive
How to change the measure based on slicer is best described
- amiriqbal0711Frequent Visitor
Thank You Amit for the quick Reply, but I think that I am missing her, how to create the QTD,YTD and MTD
- v-deddai1-msft
Community Support
Hi amiriqbal0711 ,
Would you please refer to https://www.mssqltips.com/sqlservertip/4841/calculating-mtd-qtd-ytd-running-and-cumulative-total-in-power-bi/?
Best Regards,
Dedmon Dai