Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
 
					
				
		
Hello,
I need to calculate the % of (text) values in a table that match values in a separate master data set to verify compliance.
The example below has a master classification data set with all allowed values and the table on the right has a sample table with items and classification codes some of which are correct and some not. What measure would I need to find out the % of objects in the table on the right which have an matching classification code applied?
Solved! Go to Solution.
Hi, thank you for your reply.
I did a slightly different solution as the calculated column you suggested would not allow me to select values in different tables.
My solution is as follows:
Hi @Anonymous
Not very clear about your requirement.
If Greg_Deckler's answer slove your problem,
please feel free to mark his answer as a solution so that others may find the topic quickly.
If not, please share a example of your expected result.
Best Regards
Maggie
Compliance (Column) = 
  IF('Objects Table'[Classification Code) IN 'Master data values',1,0)
Compliance (Measure) = 
  SUM('Objects Table'[Compliance (Column)] / COUNTROWS('Objects Table')
Hi, thank you for your reply.
I did a slightly different solution as the calculated column you suggested would not allow me to select values in different tables.
My solution is as follows:
 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
 
            | User | Count | 
|---|---|
| 85 | |
| 49 | |
| 36 | |
| 31 | |
| 30 |