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

Divide values from a column by specifc values of same column and display in matrix

I have a data looks like below111.PNG

Its a matrix where calculation is like
(sum of all values of column1 /sum of E)*100

so it has be for each row of account column.

5 REPLIES 5
Anonymous
Not applicable

.11.PNG

i refraim my query
top most view is data and then matrix view.
To conclude.

all sum of rows must be divide by same value gross sales *100

 

Show your underlaying data structure or table please. Is gross sales a column in your table?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

gross sales is same as other values as account in that column

andhiii079845
Super User
Super User

Measure =
Var _sumall = CALCULATE(sum('Table'[Value]),ALLSELECTED('Table'))
Var _currentvalue = sumx('Table','Table'[Value])
RETURN _currentvalue/_sumall




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Ahmedx
Super User
Super User

 = DIVIDE(
           CALCULATE(sum('table'[column1], REMOVEFILTERS(),
            sum('table'[column1])

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.