This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Tengo 1000 países,
CountryName = "ES",
Position = List.PositionOf(List.Transform(Translate[CountryName], (x) => Text.Contains("tipo", x)), true)
¿Cómo poner CountryName como variable en la referencia de tabla? por lo que Translate[CountryName] debería obtener información del nombre de la columna ES Translate[ES]
ahora recibo un error
Expression.Error: No se encontró la columna 'CountryName' de la tabla.
Detalles:
Nombre del país
Para establecer algo como una variable en Power Quer use let para que sea algo así como
let
x = [Column]
in
x //or any further transformation)
Los pasos adicionales después de x y antes de entrar requerirán que ese paso o variable termine con una coma, por lo que sería
let
x = [Column],
y = Text.Lower(x) //just a sample
in
y //or any other transformation
así que ofreces escribir 1000 si las declaraciones en lugar de simplemente poner variable al nombre? Necesito poner variable entre corchetes, pero no escribir declaraciones ifs de 1000s, ya que no será dinámico si aparece un nuevo countrie
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.