Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi,
I am trying to build a visual such that the screen has a month slicer and year slicer and another slicer called timeframe which has values like R1, R3, R6 and R 12. I should be able to select a month and year from the slicers and the R value from the timeframe slicer. For example if I select Mar 2022 from month and year slicer and select R3 from the third slicer the visual should only show data from Jan 2022- mar 2022(included).
So far I have made the calendar table as follows :
@Anonymous , refer if approach in my blog can help
https://medium.com/chandakamit/power-bi-when-i-felt-lazy-and-i-needed-too-many-measures-ed8de20d9f79
Hi Amit,
Your blog post is really insightful, but it might not work for me, could you please look at my code and tell me why DATESINPERIOD is not returning the correct table when I use the values captured from the slicer but it works when I use the today () function.
Thanks.
User | Count |
---|---|
97 | |
76 | |
76 | |
47 | |
26 |