March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi, in this video the guy shows how to add preset filter buttons (1M, 3M, 6M, YTD) etc:
https://www.youtube.com/watch?v=nocsNBF_NkE
For this he creates a measure that returns 1 or 0 based on the selected button and the difference from the current date and the max date in the data.
The measure is added to the chart as filter.
But how does it work? It only returns 1 or 0 - how does Power BI now which date row gets a 1 and which a 0.
here is also the pibx file:
https://github.com/MarkWilcock/lbag-online/tree/master/M%26G%20Results
I feel like there is a step missing but I don't find anything in his file or so.
Thanks
Br
@some , I think you can create measures and use field parameters too.
Can you please share what you are trying to achieve?
Power BI Field Parameters — A Quick way for Dynamic Visuals: https://amitchandak.medium.com/power-bi-field-parameters-a-quick-way-for-dynamic-visuals-fc4095ae9af...
Power BI Field Parameters- Measure Slicer and Axis/Dimension slicer: https://youtu.be/lqF3Wa1FllE
Hi @amitchandak thank you for your answer. Your blog article comes close to what I want.
I want to show buttons with Months (January, February etc) and on click use a preset date filter for all visuals on the page. Is that possible?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
123 | |
85 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
157 | |
97 | |
79 | |
69 |