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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
omarevp
Helper II
Helper II

Making a counter by type of row that restart

Hello everyone.

 

What i'm trying to do is to count every row in my table by type. I don't know if i'm explaining myself so, this is what i've got:

 

this is the current table:

Captura.PNG

I just want to add a new column that count "Trabajo vinculado" by type and that restart every time the field "Trabajo vinculado" is different. Something like this:

 

Trabajo vinculado                                 Count

Analista de Soporte Técnico..                    1

Analista de Soporte Técnico..                    2

Analista de Soporte Técnico..                    3

Analista de Soporte Técnico..                    4

Analista de Compras Ssr                          1

Java Developer                                        1

Java Developer                                        2

Java Developer                                        3

Administrador PHP                                 1

Administrador PHP                                 2

Administrador PHP                                 3

 

I know is got to be pretty easy to do but i don't know how.

 

Thanks for your attention.

 

1 ACCEPTED SOLUTION
Zubair_Muhammad
Community Champion
Community Champion

Hi @omarevp

 

Try this calculated column

 

Column =
RANKX (
    FILTER (
        TableName,
        TableName[Trabajo vinculado] = EARLIER ( TableName[Trabajo vinculado] )
    ),
    TableName[Fecha Presendato],
    ,
    asc,
    DENSE
)

Regards
Zubair

Please try my custom visuals

View solution in original post

1 REPLY 1
Zubair_Muhammad
Community Champion
Community Champion

Hi @omarevp

 

Try this calculated column

 

Column =
RANKX (
    FILTER (
        TableName,
        TableName[Trabajo vinculado] = EARLIER ( TableName[Trabajo vinculado] )
    ),
    TableName[Fecha Presendato],
    ,
    asc,
    DENSE
)

Regards
Zubair

Please try my custom visuals

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.