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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
jclorenzo
Frequent Visitor

RESULTADO DE COUNTA Mientras se muestran los datos originales.

Nos gustaría mostrar el recuento total en una cuadrícula de tabla del resultado COUNTA (Cuenta el número de registros que no están vacíos). Pero mantenga el texto original.

Similar a la siguiente captura de pantalla.

jclorenzo_0-1605293103814.png

Power BI muestra el recuento en la parte inferior, pero cambia los valores de detalle al recuento individual. En este caso 1.

jclorenzo_2-1605293655388.png

Cualquier sugerencia sería muy apreciada !!!

1 ACCEPTED SOLUTION

@jclorenzo -

ConcatX =
VAR __temp =
    CALCULATETABLE ( 'Table (2)', 'Table (2)'[Column2] <> BLANK () )
RETURN
    IF (
        HASONEVALUE ( 'Table (2)'[Column1] ),
        CONCATENATEX ( 'Table (2)', 'Table (2)'[Column2], " | " ),
        COUNTROWS ( __temp )
    )

image.png






Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

Proud to be a Super User!



View solution in original post

4 REPLIES 4
ChrisMendoza
Resident Rockstar
Resident Rockstar

@jclorenzo -

Measure = 
VAR __temp = 
CALCULATETABLE(
    'Table',
    'Table'[Priority] <> BLANK()
)

RETURN
    COUNTROWS(__temp)

image.png

image.png






Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

Proud to be a Super User!



Hola Chris, gracias por su sugerencia, pero necesitamos el valor de recuento en la parte inferior de la columna HECHO. Idéntico a cómo se muestra Excel. ¿Alguna sugerencia?

@jclorenzo -

ConcatX =
VAR __temp =
    CALCULATETABLE ( 'Table (2)', 'Table (2)'[Column2] <> BLANK () )
RETURN
    IF (
        HASONEVALUE ( 'Table (2)'[Column1] ),
        CONCATENATEX ( 'Table (2)', 'Table (2)'[Column2], " | " ),
        COUNTROWS ( __temp )
    )

image.png






Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

Proud to be a Super User!



Excelente; Funcionó perfectamente. ¡¡¡Gracias!!!

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.

Top Kudoed Authors