Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
I wanted to calculate the accumulated quantity sum from min start date untill the one day before date I selected. Is this DAX correct?
I created a dim_date table calendar and this table is linked to item ledger entries table, one to many relationship,
Can anyone help?
Thanks a bunch!
Hi @Shineccx007
possible alternative as following:
part of measure starting with CALCULATE, part DATESINPERIOD replace with
FILTER (
'dim_date',
'dim_date'[Date] >= Start_day &&
'dim_date'[Date] <= Last_day
)
Proud to be a Super User!
Hi Bih,
Seems this solution not working on my end.
I think power bi showed wrong on my DAX showing the date before I selected. selected value of the date -1 is not working in my measure dax.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 6 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 14 | |
| 8 | |
| 8 | |
| 8 |