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.
Hola Comunidad..!!
Necesito crear una tabla visual que consista en la 1ª ocurrencia de cada producto. Consulte los siguientes datos de muestra.
Producto | categoría | precio |
P1 | c1 | 10 |
p2 | c2 | 20 |
p3 | c3 | 30 |
P1 | c4 | 40 |
p2 | c5 | 50 |
p3 | c6 | 60 |
p4 | c7 | 70 |
¿Cómo puedo lograrlo?
Solved! Go to Solution.
@ppatil , Pruebe una medida como la siguiente con los campos anteriores. Agregar primero una columna de índice en la consulta de energía
calculate(max(Table[Price]), filter(Table, Table[Index] = minx(filter(allselected(Table), Table[Product] = max(Table[Product])), Table[Index])))
@ppatil , Pruebe una medida como la siguiente con los campos anteriores. Agregar primero una columna de índice en la consulta de energía
calculate(max(Table[Price]), filter(Table, Table[Index] = minx(filter(allselected(Table), Table[Product] = max(Table[Product])), Table[Index])))
Hola @ppatil ,
¿Tenemos un campo de fecha/hora en los datos?
¿Cómo identificar qué registro es el primero?
Gracias.
Shishir
Hola @Shishir22
No hay tal columna para identificar cuál es el primer registro.
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 | |
1 | |
1 |