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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
DIFF1
Helper II
Helper II

Issue with calculated columns

Hello everyone, 

 

 I am trying to create two calculated columns namely 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 want to get the result in %) I am getting some weird symbols or 0s. Does someone know how to fix it?

 

Please let me know. 

 

 

Issue16.jpg

4 REPLIES 4
V-pazhen-msft
Community Support
Community Support

@DIFF1 
I also wonder how did you make the column box line disappear. 

 

Vpazhenmsft_0-1632376863495.png

 

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

DIFF1
Helper II
Helper II

Greg, thank you. Do you know how I can make it in %?

@DIFF1 Select the column in either Report or Data view and then in Column Tools in the ribbon, click the % button.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Greg_Deckler
Super User
Super User

@DIFF1 Dividing by zero will do that. Try DIVIDE([TOTAL FCST],[TOTAL HISTORY],0)


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.