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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi all
I am trying to do this expression but this shows an error
expression ..
vMotor_Paid = CALCULATE(Paid_excel,SUM(Paid_excel[PAID_AMOUNT]),Paid_excel[Flag]="Paid"
,Premium_Excel[LOB]="MOTOR",Paid_excel[PAID_DATE]={[VpeDate]})
Paid_excel[Flag]="Paid",Premium_Excel[LOB]="MOTOR",Paid_excel[PAID_DATE]={[VpeDate]}here i create another varaible of VPeDate where i fixed the date "23-12-2017"
The first Paid_excel is not necessary, try this:
vMotor_Paid = CALCULATE ( SUM ( Paid_excel[PAID_AMOUNT] ), //first argument is always the expression Paid_excel[Flag] = "Paid", Premium_Excel[LOB] = "MOTOR", Paid_excel[PAID_DATE] = { [VpeDate] } )
in your syntax SUM is considered a filter expression
hi when i try your expression this shows an error
have you made any modifications to the code, e.g. adjusting table names etc.?
is the error in the measure I posted or do you use it later and the dependant measure is giving the error?
No i did not do any modifications
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
13 | |
11 | |
10 | |
10 |