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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
13 | |
11 | |
9 | |
8 | |
8 |