cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Creación de una nueva columna calcuada basada en la agrupación de columnas exisitng

Hola Equipo,

Tengo 3 columnas Id, Ubicación, fecha , por favor revise la siguiente tabla : -

IdUbicaciónFechaNueva columna calculada
1Nueva York5 de marzoNueva York
1Nueva York6 de marzoNueva York
2Nueva York5 de marzoMúltiples Estados
2California6 de marzoMúltiples Estados

Quiero lograr este resultado de Nueva columna de cálculo, ¿podría sordrme con esto?

Gracias

Shubham

3 REPLIES 3
az38
Community Champion
Community Champion

Hola @ShubhamK

tratar de una medida

Measure = 
IF(
 CALCULATE(DISTINCTCOUNT(Table[Location]), ALLEXCEPT(Table, Table[Id]) ) = 1,
 MAX(Table[Location]),
 "Multiple States"
)

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Anonymous
Not applicable

Gracias está trabajando como medida, pero quería una columna calculada ya que quería usarlo en el gráfico Donut.

az38
Community Champion
Community Champion

@ShubhamK

hacer casi lo mismo

Column = 
IF(
 CALCULATE(DISTINCTCOUNT(Table[Location]), ALLEXCEPT(Table, Table[Id]) ) = 1,
 Table[Location],
 "Multiple States"
)

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.