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

Get Fabric certified for FREE! Don't miss your chance! Learn more

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
Anonymous
Not applicable

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

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

 

 

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
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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

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.