Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hola buen día,
¿Alguien puede ayudarme a llegar al resultado que requeríamos, no estoy seguro de si esto es posible? Tengo una tabla y quiero contar el total de E3 sobre el número total de Nº de estado. por Comercio, por Área.
Mesa
SALIDA DESEADA
Gracias
E3 Ratio Final = VAR e3Count = CALCULATE(COUNTROWS(StatusData), StatusData[Status] = "E3") VAR totalCount = COUNTROWS(StatusData) RETURN IF( ISBLANK(totalCount) || totalCount = 0, BLANK(), VAR displayNumerator = IF(ISBLANK(e3Count), 0, e3Count) RETURN displayNumerator & "/" & totalCount )
@AllanBerces Si hubieras publicado esos datos como texto, en realidad habría podido probar esto, pero aquí va de todos modos:
Measure =
VAR __E3 = COUNTROWS( FILTER( 'Table', [Status] = "E3" ) )
VAR __Total = COUNTROWS( 'Table' )
VAR __Result = __E3 & "/" & __Total // or DIVIDE( __E3, __Total, 0 )
RETURN
__Result
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.