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! It's time to submit your entry. Live 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.
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 5 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 18 | |
| 14 | |
| 9 | |
| 8 | |
| 8 |