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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
M_SBS_6
Helper V
Helper V

Matrix Total

Hi, 

I have a matrix with values but some of my totals don't add up. My value is a distictcount on app_id which is a text. I also have a 1 to 1 join app ID To comp ID. I use the comp table for the row (house_type)

 

        House.  Flat.   Bungalow 

Rem.  20.        5.          1

Conv. 30.        10.         3

FA.      12.        7.          2

Total  60.         21.       6

 

Any idea how to get this to Total right please?

4 REPLIES 4
Idrissshatila
Super User
Super User

Hello @M_SBS_6 ,

 

try creating this measure:

 

measure = countrows( values(YourColumnName))



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Thanks for the suggestion but that gives me the same output as my distinct count. 

Idrissshatila
Super User
Super User

Hello @M_SBS_6 ,

 

it depends on the measure you're using. Please insert your measure.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




I'm just dragging app_id into the value then on the down arrow, I am selecting Count (distinct)

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors