Forum Discussion
_power_bi
2 years agoHelper I
DAX question using two date columns and filtering
I am currently pulling blanks when I know there is data. Something is wrong with my DAX but I'm not sure. Any help is appreciated I need a running total of the transfers[quantity] field to put in...
- 2 years ago
Hi,
Does this measure work?
=CALCULATE(SUM('Transfers'[QUANTITY]),'Transfers'[Direction] = "Out",'Transfers'[SimpleFilter] = 0,USERELATIONSHIP(Dim_Date[Date], 'Transfers'[Due_Date]),datesbetween(Dim_Date[Date],minx(all(Dim_Date),Dim_Date[Date]),max(Dim_Date[Date])))
Ashish_Mathur
2 years agoSuper User
Hi,
Does this measure work?
=CALCULATE(SUM('Transfers'[QUANTITY]),'Transfers'[Direction] = "Out",'Transfers'[SimpleFilter] = 0,USERELATIONSHIP(Dim_Date[Date], 'Transfers'[Due_Date]),datesbetween(Dim_Date[Date],minx(all(Dim_Date),Dim_Date[Date]),max(Dim_Date[Date])))