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
Hi All,
I would like some assistance in modifying a dax switch statement which will only populate values if within a certain date range.
What the switch measure is current doing:
What I need the switch measure to do:
Date range I want the values populated for:
What I current have:
Check for Leave Days and Timesheet =
Solved! Go to Solution.
I have solved this by using this post --> Solved: Return/generate value based on date range - Microsoft Fabric Community
This is my final updated measure:
Check for Leave Days and Timesheet =
Thanks to anyone who has stopped by to read this post.
I have tried this updated measure but it does not appear to be restricting the values to the specified date range. I still have values in date column that are GREATER than todays date
Check for Leave Days and Timesheet =
I have solved this by using this post --> Solved: Return/generate value based on date range - Microsoft Fabric Community
This is my final updated measure:
Check for Leave Days and Timesheet =
Thanks to anyone who has stopped by to read this post.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 21 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 20 | |
| 13 | |
| 12 |