Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
ligalbert
Helper I
Helper I

How Can I do this if statement as a measure in power bi

I want to create a measure to do a new column which creates IF PaidOffDate is blank then LoanAmount is blank otherwise LoanAmount is the same Value. I have posted of the desired result on that i got on excel 

 

if.PNG

excel file.PNG

1 ACCEPTED SOLUTION
PabloDeheza
Solution Sage
Solution Sage

Hi @ligalbert !
Try the following:
IF( PaidOffDate = BLANK(), BLANK(), LoanAmount )
Considering PaidOffDate is a measure.
Let me know if that helps!

View solution in original post

2 REPLIES 2
v-kkf-msft
Community Support
Community Support

Hi @ligalbert ,

 

Has your problem been solved? If it is solved, please mark a reply which is helpful to you.

If the problem is still not resolved, please try the measure.

 

Measure =
IF (
    MAX ( 'Table'[PaidOffDate] ) = BLANK (),
    BLANK (),
    SUM ( 'Table'[LoanAmount] )
)


Best Regards,
Winniz

PabloDeheza
Solution Sage
Solution Sage

Hi @ligalbert !
Try the following:
IF( PaidOffDate = BLANK(), BLANK(), LoanAmount )
Considering PaidOffDate is a measure.
Let me know if that helps!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors