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
Anonymous
Not applicable

Calculation error

Hi,

 

I need help here,

when i calculate Gap%Vs Plan column it doent give me expected %.

I used formula:

Gap(Actual-Plan)-1/Plan value

is there anyway to find Gap% by taking care of -ve values and blank also.

 

Please correct if i am wrong and how do i get expected ouput.

 

attcahed is output which i am getting

Screenshot.png

 

 

 

3 REPLIES 3
Hardik
Continued Contributor
Continued Contributor

Screenshot_6.pngI hope this is what you require .Kindly 

v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

Are these fields (columns) in the same visual? It seems the output is wrong. 

What's the expected result?

Can you share a sample?

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Yes this are in same visual.

 

Please find below screenshot for the same.

 

Excel Screenshot.png

 

 

Regards,

Rahul M

 

Helpful resources

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