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
powerbityro
Helper II
Helper II

DIVIDE false value

Hi all,

 

i have column C with a simple divide:

 

ColA - ColB - ColC

254 – 42 - 29,9 percent

 

But I get a wrong value (29,9 instead of 16,5 percent). I suppose it is because I use a matrix with a missing aggregation. it calculates it with the aggregation and takes than the average. How can I solve this problem?

 

Many thanks!

3 REPLIES 3
v-shex-msft
Community Support
Community Support

Hi @powerbityro ,

I'm not so clear about your data structure and dax formulas that you used in your visual. Can you please provide some sample data to help clarify your scenario?

In addition, did this result appears in common rows or total rows? If you mean total row, you can take a look at following link about measure total calculation issues:

Measure Totals, The Final Word 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
amitchandak
Super User
Super User

Check You should be using 2nd formula

 

Avg = Averagex(table,colA/colb)

Avg2 = Divide(sum(A),Sum(B))

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks.

My Recent Blog - https://community.powerbi.com/t5/Community-Blog/Comparing-Data-Across-Date-Ranges/ba-p/823601

 

 

parry2k
Super User
Super User

@powerbityro share your sample data and expected output, Read this post to get your answer quickly.

https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

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.