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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
SteenSoernesen
Frequent Visitor

If formula

I'm trying to make a dax if formula where there is another if formula mixed in.

 

 IF([Aflyst stop]="", "Kørt",IF([Aflyst stop] = [Antal stop], "aflyst", "Delaflyst"))

 

My main problem is that [Aflyst stop] "calcelled stop" could be blank if trips have driven from terminus to terminus.

In Excel you can use "" to indicate an empty cell. Could that also be done in Power Bi

1 ACCEPTED SOLUTION
Cookistador
Super User
Super User

Hello @SteenSoernesen 

 

In Power BI, a blank is not an empty string.

Isblank() should help you to solve this issue:
Status = 

IF(
ISBLANK([Aflyst stop]),

"Kørt",
IF([Aflyst stop] = [Antal stop], "Aflyst", "Delaflyst")

)

View solution in original post

2 REPLIES 2
Cookistador
Super User
Super User

Hello @SteenSoernesen 

 

In Power BI, a blank is not an empty string.

Isblank() should help you to solve this issue:
Status = 

IF(
ISBLANK([Aflyst stop]),

"Kørt",
IF([Aflyst stop] = [Antal stop], "Aflyst", "Delaflyst")

)

Thank you.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

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.