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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

como puedo devolver una columna con los valores contados de otra tabla

tengo dos tabla, A y B

 en la A tener dos informaciones una columna C y una columna D

En tabla B tengo una columna E que contiene algunos valores de C repetidos.

 

Necesaria una columna F en la tabla A que me devuelva el número de veces que aparece los valores de C en la E. F1 el número de veces que C1 aparece en la columna E.  

 

Puedo asegurarme de que la columna C es de valores unicos, es decir no hay filas repetidas. 

 

Podeis ayudarme con esto?

1 ACCEPTED SOLUTION
v-jiascu-msft
Employee
Employee

Hi @Anonymous,

 

Try this formula as a calculated column, please. There should be a relationship between A and B based on column C and Column E. 

 

Column =
COUNTROWS ( RELATEDTABLE ( B ) )

 

Best Regards,

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-jiascu-msft
Employee
Employee

Hi @Anonymous,

 

Try this formula as a calculated column, please. There should be a relationship between A and B based on column C and Column E. 

 

Column =
COUNTROWS ( RELATEDTABLE ( B ) )

 

Best Regards,

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.