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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
mikep7521
Helper III
Helper III

Formula is giving wrong answer, why?

Hello,

I'm having an issue with a column formula in Power BI. I'm foused on the three columns on the right and the formula bar which represents the far right column 'MULTIPLE'. As you can see in the formula bar, 'Test Sum of Multiple' divided by 'Total Deal Purchase Amt' which should equal 1.39, 2.11, and 1.89 going from top to bottom in the column. So why am i recieving such different answers than what I should be in the 'MULTIPLE' column?

Capture BPI.PNG

 

6 REPLIES 6
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @mikep7521,

 

Could you please mark the proper answers as solutions?

 

 

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.

I would love to if there was a response that was a soltuion for my problem but that wasn;t the case in this forum. Thanks!

Hi @mikep7521,

 

Can you share the file? You can delete the irrelevant data and mask the sensitive data first.

 

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.
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @mikep7521,

 

It seems the last three are all columns rather than measures. If so, I would suggest you try this formula below as a MEASURE.

multiple =
SUM ( Deals[Test_Sum_of_Multiple__c] )
    / SUM ( Deals[Total_Deal_Purchase_Amt__c] )

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

Have you tried wrapping the formula in a CALCULATE statement?

MULTIPLE = CALCULATE( DIVIDE( Deals[Test_Sum_of_Multiple__c] , Deals[Total_Deal_Purchase_Amt__c] ) )  

when i try this option I'm not able to reference the necessary coumns. I can only select formulas or measures after the Divide(.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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