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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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.
User | Count |
---|---|
15 | |
11 | |
6 | |
6 | |
5 |
User | Count |
---|---|
30 | |
18 | |
11 | |
7 | |
5 |