cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Measure total in a Matrix

Hello,

Capture.JPG

I cant get the total of my measure in a matrix correct.  

 

the measure in a matrix is this and returns a count of 1 when there is a value.

 

Measure = COUNTROWS(VALUES('Sales Analysis'[Customer Reported.Main CRM Account Name]))

 

How do i total this correctly?

 

 
 
 
 
4 REPLIES 4
Super User IV
Super User IV

@tomranken measure should be

 

Measure = COUNTROWS( Table )

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.






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.





Frequent Visitor

 

it has now counted the field not the measure

Capture.JPG

@tomranken not sure what you are trying to do, try this

 

Measure 2 =
SUMX ( VALUES ( Table[Customer] ), [Measure] )

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.

 






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.





Sorry that didnt work either,

 

Capture.JPG

I would like the row total to be correct. So the row total for the first row should be 2, the seccond row, 1. 

 

but this value is a measure which i think is making the total wrong

Helpful resources

Announcements
November Update

Check it Out!

Click here to read more about the November 2020 Updates!

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

secondImage

Power Platform October Community Highlights

Check out the top community contributors across all of the communities

secondImage

Create an end-to-end data and analytics solution

Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.

Top Solution Authors
Top Kudoed Authors