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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
bdehning
Post Prodigy
Post Prodigy

Matrix Table Measure Needed

I use a Matrix table and I have numeorus values used to create column of data.

 

I need help to write a meaure for one of the columns.

 

I currently have a Field Claim Type and I just used the Field to select Percent of Column Total to give me good results 

 

It is the % of the Column Total Claim Type for Count of Total Gross Incurred.  

 

How would I write the measure to accomplish the same thing as I want to use the measure for something else?

1 ACCEPTED SOLUTION

Those are 3 measures.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

7 REPLIES 7
PVO3
Impactful Individual
Impactful Individual

Very hard to understand.

I'm guessing you're looking for something like

DIVIDE(

   SUM(Column),

   CALCULATE(SUM(Column),ALLSELECTED('Table'[Claim type]))

)

Ok here is Table with the Claim Type and the % by Claim Type Column results I want to replicate with a Measure.    I count the occurences of each Claim Type as percent as a percent of the column total.  

Claim Type.PNG

 

Hi,

Does this measure work?

Total = countrows(Data)

Total across all claim types = calculate([Total],all(data[Claim type]))

% by claim type = divide([Total],[Total across all claim types])

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

What is Data in this scenario?    Total is my Count Field and Claim Type is the Column.   

Hi,

Data is the name of the Table.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

I logically know what I need to do but having a hard time with 

 

Total = countrows(Data)

Total across all claim types = calculate([Total],all(data[Claim type]))

% by claim type = divide([Total],[Total across all claim types])

 

Is the above One Measure or mulitple?

 

I aleady calculate Total.    

Those are 3 measures.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
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.