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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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 help. Cheers
@kumsha1 , Not very clear what you want from the formula.
Try like SUMX(FILTER(Summarize(SHIPPING[DISCHARGE_COMMENCE],SHIPPING[SHIPMENT_NO],"_1",[DATEDIFF],"_2",[TA_WEIGHTOMETER]),[_1]>0),[_2])
@amitchandak , i have below error
Requirement is to filter the values by multiple columns to get the correct aggregation.
function=
var x= VALUES(SHIPPING[DISCHARGE_COMMENCE]
var y= VALUES(SHIPPING[SHIPMENT_NO])
return
SUMX(FILTER(x,y,[DATEDIFF]>=0),[TA_WEIGHTOMETER])
Hi @niteshtrehan89 , thanks for your quick response.
I tried creating variables as mentioned but the DATEDIFF is not being accepted with error 'unexpected parameter'.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |