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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Multiplication error

Hi guys!

 

I have two columns that I want to multiply.

One is average of Impact score and the other one is count of responses.

 

I want to multiply those two columns and I did Column one* column two

 

But the product is not equal to what it should be. For e.g 0.10*308 is giving me 32.18 as output.

You can see that in the picture below.

Capture.PNG

 

Is it because I'm directly counting dates? Is there any other way of counting dates?

I'm counting responses in the following manner- count of surveys received for a particular date/month/year

And that is stored in the response count column and multiplying that with avg.impact score

 

1 ACCEPTED SOLUTION

Hi @Anonymous 

Use the below instead 

Measure = [Response_Count] * ROUND(AVERAGE('Score Query'[Impact]), 2)

Regards,
Mariusz

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

6 REPLIES 6
Mariusz
Community Champion
Community Champion

Hi @Anonymous 

Can you share your Measure?

Thanks
Mariusz

Anonymous
Not applicable

Sure.

Measure = [Response_Count]*AVERAGE('Score Query'[Impact])
 
Response count = count(surveyreceived)

Hi @Anonymous 

Use the below instead 

Measure = [Response_Count] * ROUND(AVERAGE('Score Query'[Impact]), 2)

Regards,
Mariusz

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

 

 

Anonymous
Not applicable

@Mariusz  IT WORKED. THANK YOU SO MUCH. 

Average means it's rounding, showing you just 2 decimals but using the full figure later on.

Refer to this thread: https://community.powerbi.com/t5/Desktop/Number-values-are-getting-round-off-automatically/m-p/46850... to get a full overview.

EDIT: added a better link

Anonymous
Not applicable

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.