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 all
i write this expression and there is not any errors in this
vMotor_Paid = CALCULATE(SUM(Paid_excel[PAID_AMOUNT]),FILTER(Paid_excel[PAID_DATE]={[VpeDate]}))Here I create another variable of VpeDate and store date like this "12-03-2017" (mm-dd-yyyy)
now on KPI card when i drag this vMotor_Paid expression this shows an error
"Calculation error in measure 'Varaibles Table'[vMotor_Paid: DAX comaprison operations do not support
comparing values of type Date with values of type Text. Consider using the VALUE or FORMAT function to convert one of the values "
try this syntax:
vMotor_Paid =
CALCULATE (
SUM ( Paid_excel[PAID_AMOUNT] ),
FILTER ( Paid_excel, Paid_excel[PAID_DATE] = { [VpeDate] } )
)
Hi when i try to add more filters this shows nothing i tried this
vMotor_Paid =
CALCULATE (
SUM ( Paid_excel[PAID_AMOUNT] ),
FILTER ( Paid_excel, Paid_excel[PAID_DATE] = { [VpeDate] } ),
FILTER(Premium_Excel,Premium_Excel[LOB] = "MOTOR"),
FILTER(Paid_excel,Paid_excel[Flag] = "Paid"))and in VpeDate i add date like this
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 13 | |
| 8 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 29 | |
| 24 | |
| 17 | |
| 11 | |
| 10 |