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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.