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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Am trying to create a Dax to select cases within the defined date period as follows. However, when remove the curdate2, am able to view some results but when i use curdate2, there is not result. I however, need to select cases whose visit is above -28 days of the selected date.
Solved! Go to Solution.
The probem is that you use a column in this DAX expression:
You need to use something like SELECTEDVALUE(CalenderDate[dates]) or VALUES or MAXX i think.
curdate2=DATEADD(CalenderDate[dates],-28,DAY)
Proud to be a Super User!
I play a little bit with your problem. Very interesting, this work, i hope:
Proud to be a Super User!
Can you please show, how you use the the measure? In a matrix? With which columns?
Proud to be a Super User!
The probem is that you use a column in this DAX expression:
You need to use something like SELECTEDVALUE(CalenderDate[dates]) or VALUES or MAXX i think.
curdate2=DATEADD(CalenderDate[dates],-28,DAY)
Proud to be a Super User!
Thanks for your response. I have tried your suggestion but it's not working.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 6 | |
| 6 | |
| 5 |