Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Quiero crear una columna "código" con 3 valores para cada empresa.
Eg:
Código de empresa
Un 12A
Un 16B
Un 14C
B 12A
B 16B
B 14C
¡Ayuda!
Solved! Go to Solution.
@adi0007 , Supongamos que tiene cide de tabla, donde tiene estos tres códigos en filas
12a
16b
14c
O cree una tabla utilizando introducir datos. Supongamos que tiene una tabla en la que sólo tiene una sociedad que puede tomar una sociedad distinta
nueva tabla: crossjoin(distinct(Table1[company]),code) //code es una tabla
@adi0007 Si no tiene ninguna tabla en el modelo, puede utilizar esto:
Table =
GENERATE (
{ "A", "B" },
SELECTCOLUMNS ( { "12A", "16B", "14C" }, "A", [Value] )
)
Si tiene 2 tablas en el modelo, puede utilizar esto:
Table =
GENERATE(
DISTINCT ( Company[Company] ),
DISTINCT ( Code[Code] )
)
@adi0007 , Supongamos que tiene cide de tabla, donde tiene estos tres códigos en filas
12a
16b
14c
O cree una tabla utilizando introducir datos. Supongamos que tiene una tabla en la que sólo tiene una sociedad que puede tomar una sociedad distinta
nueva tabla: crossjoin(distinct(Table1[company]),code) //code es una tabla
Hola @adi0007
Por favor, consulte el siguiente enlace si ayuda
https://radacad.com/creating-a-table-in-power-bi-using-dax-table-constructor
Hope it resolves your issue? Did I answer your question? Mark my post as a solution! Appreciate your Kudos, Press the thumbs up button!! Linkedin Profile |
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
2 | |
2 | |
2 | |
2 | |
1 |