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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
crawlejg
Frequent Visitor

row totals for matrix with concatenatex

Hello,

FIrst time that I am trying to use DAX to modify a visual in PowerBI.  I have a table with some text values that I want to display in a matrix, but i also want to show totals (counts) both by column and by row.  I have written the following DAX, which gives me the text in the values of the matrix and totals (counts) by column, but I am still getting a list of text in the totals for rows.  Could someone please help me to correct it?  Thank you!

My DAX for my measure:

crawlejg_0-1690816663551.png

My data:

OrderedStage

1 – First Stage

2 – Second Stage

3 – Third Stage

4 – Final Stage

PRODNumber

ABC123

XYX456

CDE321

 

The current result:

crawlejg_1-1690817074187.png

 

My desired result:

crawlejg_2-1690817120368.png

 

Thanks,

crawlejg

 

1 ACCEPTED SOLUTION

@crawlejg 
Sorry I did not notice the the row totals. Please try

ISINSCOPE ( 'Table'[Group] ) && ISINSCOPE ( 'Table'[OrderedStage] )

View solution in original post

3 REPLIES 3
crawlejg
Frequent Visitor

Thank you tamerj1,

I updated to ISINSCOPE ( 'Table'[Group] ) and it gave me counts at the bottom, but now the totals on the right are the concatenated text instead of counts.  How can I get both totals to be numbers?

@crawlejg 
Sorry I did not notice the the row totals. Please try

ISINSCOPE ( 'Table'[Group] ) && ISINSCOPE ( 'Table'[OrderedStage] )

tamerj1
Super User
Super User

Hi @crawlejg 
Use ISINSCOPE ( 'Table'[Group] )

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.