cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Syndicate_Admin
Administrator
Administrator

contar cada valor de subcategoría en la tabla de matrices

i tienen una subcategoría de columna que contiene diferentes values.i desea calcular el recuento para cada valor de categoría y agregar como nueva columna en la tabla de matriz.data.PNGreport data.PNG

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

@NISHA_S , La salida no está clara.

Count(Table[SubCategory])

O

DistinctCount(Table[SubCategory])

View solution in original post

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

@NISHA_S , La salida no está clara.

Count(Table[SubCategory])

O

DistinctCount(Table[SubCategory])

View solution in original post

Syndicate_Admin
Administrator
Administrator

@NISHA_S ,

Puede utilizar el siguiente DAX para contar la subcategoría:

Count_SubCategory: CALCULATE(COUNT(Table[yourcolumnName]),ALLEXCEPT(Table,Table[SubCategory]))

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Get Ready for Power BI Dev Camp

Power BI Dev Camp - June 24th

Mark your calendars and join us for our next Power BI Dev Camp!

Top Kudoed Authors