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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors