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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.