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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

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
Solution Sage
Solution Sage

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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