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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Top Solution Authors