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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi, im trying to sum the total approved amount with a loan status of "cancelled" ONLY IF the approved date is blank.
Ive tried this measure, but it isnt giving me the correct number:
CancPost-Approval (£) = CALCULATE(sum(DATA[Approved Amount (sec/Unsec)]),DATA[Approved Date]<>BLANK(),DATA[Loan Status Group]="Cancelled")
its possible that my approved amount calc column is incorrect (it should give me offfer 1 amout and offer 2 if nothing in offer 1?:
I'm thinking that BLANK never equals null--maybe you need to change Data[Approved Date] <>BLANK()
to
IF NOT ISNULL(Data[Approved Date])
--Nate
Hi it doesnt seem to work, change to this:
returned below error
The syntax for 'NOT' is incorrect. (DAX(CALCULATE(sum(DATA[Approved Amount (sec/Unsec)]), IF NOT ISNULL(Data[Approved Date]),DATA[Loan Status Group]="Cancelled"))).
Sorry, got my syntax mixed up--try NOT IS NULL instead of NOT ISNULL.
---Nate
still no luck sadly 😞
The syntax for 'NOT' is incorrect. (DAX(CALCULATE(sum(DATA[Approved Amount (sec/Unsec)]), IF NOT IS NULL(Data[Approved Date]),DATA[Loan Status Group]="Cancelled"))).
Hi @sbarker_11 ,
I think what Nate suggests is NOT ISBLANK()
ISBLANK function (DAX) - DAX | Microsoft Learn
Best Regards,
Gao
Community Support Team
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 7 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 24 | |
| 15 | |
| 13 | |
| 12 | |
| 9 |