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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
Super User
Super User

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
Super User
Super User

Hi @AllanBerces 

 

Can you check try this and confirm

 

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

FreemanZ
Super User
Super User

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.