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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Is there a way to show Latest 4, 12, 52 and YTD time frames as a dropdown in the report view so the user can select from it ? Here's my Calendar table and the dax I'm trying to do but still not working:
Thanks for help!
Dax pic
Calendar date
@Anonymous
The Date Selection code you showed is supposed to be a table, not a column in your date table. you need to go to Modeling Tab > New Table and Paste.
However, you can refer to the below video and adjust as per your need.
https://www.youtube.com/watch?v=AdLDYohLeJc
________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Thanks Fowmy. I tried the DAX in table instead of column but still showing #ERROR. Any idea how we can fix this ?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |