The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello,
My problem is pretty simple. I have a date Slicer (Year, Month & Day) and a Chart showing sales with Date as an axis.
I would like to show only rolling 12 months data on my sales measure when the slicer contains no selection.
The expected result is the following
And when no date is selected, show sales only for 02-2022 to 02-2023
Is it possible to performs this without having to add an independent date slicer ?
Thanks for your help
Solved! Go to Solution.
For an entirely measure approach try something like this:
(Filter measure)
With filter:
You might need to play around with the dimensions to get the visual you want, but filter measure would be the most logical approach if you don't want new slicers or tables
Proud to be a Super User!
Hi,
Here is one way to do this:
Data:
Dax:
(with filters, values accroding to slicer):
I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!
My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/
Proud to be a Super User!
The solution is great but kinda similar of having another table as a Slicer. My aim was to be able to check if the slicer is selected in DAX even though it might bi filtered via the X-Axis in the visual.
Thanks for your help !
For an entirely measure approach try something like this:
(Filter measure)
With filter:
You might need to play around with the dimensions to get the visual you want, but filter measure would be the most logical approach if you don't want new slicers or tables
Proud to be a Super User!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
21 | |
19 | |
19 | |
18 | |
14 |
User | Count |
---|---|
42 | |
39 | |
24 | |
21 | |
19 |