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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Issue with creation of calculated columns

 

 Hello friends, 

 

 I am a little changing my question because a few hours ago I didn't phrase it correctly and therefore didn't receive the replies that were matching my question. 

 

 I am trying to created two calculated columns. 

 

Difference between forecast over actuals

 

Forecast over actuals = [TOTAL HISTORY] / [TOTAL FCST]
 
Difference between actual over forecast
 
Actuals over forecast = [TOTAL FCST] / [TOTAL HISTORY]
 
For some reason instead of difference (ideally in %) I am getting some weird symbols or 0s. Does someone know how to fix it?
 
Please let me know. 

 

Issue16.jpg

 

 

 

Thank you.

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @Anonymous ,

When any number is divided by 0, the result will become 0, and when 0 is used as the denominator, infinity will appear.

If you want to display %, [Forecast over actuals] can choose Column tools-choose%

vyangliumsft_0-1632386006259.png

If the column [Actuals over forecast] also wants to be displayed as 0, it can be replaced by a formula:

Actuals over forecast =
DIVIDE([TOTAL FCST] ,[TOTAL HISTORY],0)

Select Column tools-select%

vyangliumsft_1-1632386006263.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi  @Anonymous ,

When any number is divided by 0, the result will become 0, and when 0 is used as the denominator, infinity will appear.

If you want to display %, [Forecast over actuals] can choose Column tools-choose%

vyangliumsft_0-1632386006259.png

If the column [Actuals over forecast] also wants to be displayed as 0, it can be replaced by a formula:

Actuals over forecast =
DIVIDE([TOTAL FCST] ,[TOTAL HISTORY],0)

Select Column tools-select%

vyangliumsft_1-1632386006263.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

amitchandak
Super User
Super User

@Anonymous , based on what I got so far.

Add a visual level filter of item, then use TOPN , 10 and variance as measure and filter

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors