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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
AllanBerces
Post Prodigy
Post Prodigy

Visual calculation

Hi good day can anyone help me correct my visual calculation.

if Vessel Capacity is equal to 0 and blank then the result is Vessel Capacity else the FC POB Plan

Calculation = IF([Vessel Capacity] = "0" || BLANK(), [Vessel Capacity], [FC POB Plan])
 
Thnak you
2 ACCEPTED SOLUTIONS
ChainsawMan
Helper I
Helper I

Hi,
Ensure you are referencing the columns/measures exactly as they appear in the visual matrix:

Calculation = IF([Vessel Capacity] = 0 || [Vessel Capacity] = BLANK(), [Vessel Capacity], [FC POB Plan])

You could check whether the [Vessel Capacity] is text or a number.

 

View solution in original post

FreemanZ
Community Champion
Community Champion

hi @AllanBerces ,

 

try like:
Calculation = IF([Vessel Capacity] = 0 || ISBLANK([Vessel Capacity] ), [Vessel Capacity], [FC POB Plan])

View solution in original post

5 REPLIES 5
krishnakanth240
Resident Rockstar
Resident Rockstar

Hi @AllanBerces 

 

Can you check try this and confirm

 

Calculation =
IF(ISBLANK([Vessel Capacity]) || [Vessel Capacity] = 0,[Vessel Capacity],[FC POB Plan])

FreemanZ
Community Champion
Community Champion

hi @AllanBerces ,

 

try like:
Calculation = IF([Vessel Capacity] = 0 || ISBLANK([Vessel Capacity] ), [Vessel Capacity], [FC POB Plan])

Hi @krishnakanth240 @FreemanZ @ChainsawMan thnak you very much working perfetly

You're welcome @AllanBerces ! Could you please accept it as a solution if the calculation is working. Thank you

ChainsawMan
Helper I
Helper I

Hi,
Ensure you are referencing the columns/measures exactly as they appear in the visual matrix:

Calculation = IF([Vessel Capacity] = 0 || [Vessel Capacity] = BLANK(), [Vessel Capacity], [FC POB Plan])

You could check whether the [Vessel Capacity] is text or a number.

 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.