cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors