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
Hi,
I have the following calculated column:
Solved! Go to Solution.
Try this calculated column:
Green Class A =
VAR vTable =
    CALCULATETABLE (
        SUMMARIZE (
            'product',
            'product'[country_code],
            'product'[ETIM Class],
            'product'[identifier]
        ),
        ALL ( 'product' ),
        'product'[Green Class] = "A"
    )
VAR vResult =
    CALCULATE (
        COUNTX ( vTable, 'product'[identifier] ),
        ALLEXCEPT ( 'product', 'product'[country_code], 'product'[ETIM Class] )
    )
RETURN
    vResultProud to be a Super User!
Try this calculated column:
Green Class A =
VAR vTable =
    CALCULATETABLE (
        SUMMARIZE (
            'product',
            'product'[country_code],
            'product'[ETIM Class],
            'product'[identifier]
        ),
        ALL ( 'product' ),
        'product'[Green Class] = "A"
    )
VAR vResult =
    CALCULATE (
        COUNTX ( vTable, 'product'[identifier] ),
        ALLEXCEPT ( 'product', 'product'[country_code], 'product'[ETIM Class] )
    )
RETURN
    vResultProud to be a Super User!
 
					
				
				
			
		
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 | 
|---|---|
| 90 | |
| 49 | |
| 37 | |
| 31 | |
| 30 |