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
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
Power Participant
Power Participant

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
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.