Forum Discussion
kumsha1
5 years agoPost Patron
Multiple column references for FILTER
Hi, VALUES can accept single column reference in FILTER... So, how can i rewrite below DAX to pass multiple column references for FILTER?, to pass another column as highlighted in RED. TIA for your ...
niteshtrehan89
5 years agoHelper III
function=
var x= VALUES(SHIPPING[DISCHARGE_COMMENCE]
var y= VALUES(SHIPPING[SHIPMENT_NO])
return
SUMX(FILTER(x,y,[DATEDIFF]>=0),[TA_WEIGHTOMETER])
kumsha1
5 years agoPost Patron
Hi niteshtrehan89 , thanks for your quick response.
I tried creating variables as mentioned but the DATEDIFF is not being accepted with error 'unexpected parameter'.