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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors