Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
Hola. Necesito crear una columna que tome valores de una columna en función de más de una condición. Ejemplo:
| Variedad | Periodo | Bolsas |
| P1 | M | 120 |
| P2 | M | 159 |
| P3 | M | 101 |
| P4 | P | 90 |
| P5 | P | 95 |
Necesitaba crear una columna que mostrara la variedad cuyas bolsas eran más grandes en un período determinado. Se vería algo así:
| Variedad | Periodo | Bolsas | V + P |
| P1 | M | 120 | P2 |
| P2 | M | 159 | P2 |
| P3 | M | 101 | P2 |
| P4 | P | 90 | P5 |
| P5 | P | 95 | P5 |
Solved! Go to Solution.
Hola @jobf,
Puede usar la siguiente fórmula DAX con una nueva columna o una nueva medida. Depende de ti.
"
Saludos
Gokberk Uzuntas
LinkedIn: https://www.linkedin.com/in/g%C3%B6kberk-uzunta%C5%9F-b43906198/
Medio: https://medium.com/@uzuntasgokberk
Si esta publicación ayuda, considere Acéptalo como solución y felicitaciones para ayudar a los otros miembros a encontrarlo más rápidamente.
Hola
Escribe esta fórmula de columna calculada
Column = LOOKUPVALUE(Data[Variety],Data[Bags],CALCULATE(MAX(Data[Bags]),FILTER(Data,Data[Period]=EARLIER(Data[Period]))),Data[Period],Data[Period])
Espero que esto ayude.
Puedes probar esto
Hola @jobf,
Puede usar la siguiente fórmula DAX con una nueva columna o una nueva medida. Depende de ti.
"
Saludos
Gokberk Uzuntas
LinkedIn: https://www.linkedin.com/in/g%C3%B6kberk-uzunta%C5%9F-b43906198/
Medio: https://medium.com/@uzuntasgokberk
Si esta publicación ayuda, considere Acéptalo como solución y felicitaciones para ayudar a los otros miembros a encontrarlo más rápidamente.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.