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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Richard_Halsall
Helper IV
Helper IV

Show Matrix Total as count when values are text

Hi 

After some help please

 

I have a fact table linked to a date table for which I have created the matrix below

 

Richard_Halsall_0-1718291328797.png

Richard_Halsall_1-1718291369568.png

The value field is text with summarization of 'First'

 

I would like the total field to be a count where the technician name is not No Technician i.e. for both 22/05/2024 & 23/05/2024 this would be 2

 

The sample data for the fact table would be, the date table is a standard date table

AllocatedDateTeamRoleTechnicianName
22/05/2024Team 1Blade Tech 2:1Joel
22/05/2024Team 1Blade Tech 2:2Michael
22/05/2024Team 1Blade Tech 2:5No Technician
22/05/2024Team 1Blade Tech 3:1No Technician
23/05/2024Team 1Blade Tech 2:1Joel
23/05/2024Team 1Blade Tech 2:2Michael
23/05/2024Team 1Blade Tech 2:5No Technician
23/05/2024Team 1Blade Tech 3:1No Technician

 

Is this possible

 

Thanks in advance

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Richard_Halsall 

 

You can create this measure and add it to the matrix to replace the original value field of First summarization. 

ValueMeasure = IF(ISINSCOPE('Table'[Role]),MAX('Table'[TechnicianName]),COUNTROWS(FILTER('Table','Table'[TechnicianName]<>"No Technician")))

vjingzhanmsft_0-1718334706089.png

 

Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Richard_Halsall 

 

You can create this measure and add it to the matrix to replace the original value field of First summarization. 

ValueMeasure = IF(ISINSCOPE('Table'[Role]),MAX('Table'[TechnicianName]),COUNTROWS(FILTER('Table','Table'[TechnicianName]<>"No Technician")))

vjingzhanmsft_0-1718334706089.png

 

Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

Top Solution Authors