cancel
Showing results for
Did you mean:
Frequent Visitor

## Measure total in a Matrix

Hello,

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

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

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

Super User IV

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

Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Frequent Visitor

Sorry that didnt work either,

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

Announcements

#### Power Platform Community Conference

Check out the on demand sessions that are available now!

#### Power Platform October Community Highlights

Check out the top community contributors across all of the communities

#### 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