The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
28 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |