Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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:
My data:
OrderedStage
1 – First Stage
2 – Second Stage
3 – Third Stage
4 – Final Stage
PRODNumber
ABC123
XYX456
CDE321
The current result:
My desired result:
Thanks,
crawlejg
Solved! Go to Solution.
@crawlejg
Sorry I did not notice the the row totals. Please try
ISINSCOPE ( 'Table'[Group] ) && ISINSCOPE ( 'Table'[OrderedStage] )
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] )
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
15 | |
10 | |
10 | |
10 | |
10 |
User | Count |
---|---|
19 | |
14 | |
13 | |
11 | |
8 |