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!View all the Fabric Data Days sessions on demand. View schedule
Hi,
i am writing a measure to find the value based on previous day date. the measure is as follows but it is not displaying the previous day value.
Hi, @raodil
i am not sure but try below
var prev_date='QUERY3-sensorid_dupl'[refdate_prev]
VAR weight_prev_value = CALCULATE ('QUERY3-sensorid_dupl'[weight], filter('QUERY3-sensorid_dupl','QUERY3-sensorid_dupl'[REFDATE]=prev_date))
return weight_prev_value
Hi,
Nothing is getting displayed , just blank 😞
i can see the prev day date coming but it is not filtering the value based on the previous day date.
Hi @raodil ,
I think, you need to remove the filter context. Does it work like this?
| Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
| Also happily accepting Kudos 🙂 |
| Feel free to connect with me on LinkedIn! | |
| #proudtobeasuperuser | |
Hi Tom,
thanks but it is not working 😞
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 |
|---|---|
| 17 | |
| 11 | |
| 9 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 31 | |
| 25 | |
| 21 | |
| 14 | |
| 12 |