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.
Buen dia
necesito filrar los clientes en Transforar Datos cuyo código comienza con la letra B y también aquellos cuyo código tiene más de 5 caracteres. Esta empresa tiene códigos para sus clientes muy diferentes y en este caso necestio ver solamente los que cumplen una de estas 2 condiciones. Desde ya, agradezco su ayuda.
Solved! Go to Solution.
Probar:
BAG QUANTITY =
CALCULATE (
SUM ( GVA53[QUANTITY] ),
FILTER (
GVA53,
LEFT ( GVA53[GVV12. COD_CLIENT], 1 ) = "B"
|| LEN ( GVA53[GVV12. COD_CLIENT] >= 5 )
)
)
@Syndicate_Admin , Pruebe una medida como
calculate(count(Table[Column]), filter(Table, left(Table[Code],1) = "B" && len(Table[Code]) >=5))
Buenas tardes
armé esta fúórmula tal como me indicaste (probé la misma con COUNT y pasa lo mismo)
Los campos tienen el siguiente tipo:
CANTIDAD = NUMERO DECIMAL
COD_CLIENT = TEXTO
Sipudieras ayudarme,s ería buenísimo. Muchas gracias
Marcela Martínez Pagola
Probar:
BAG QUANTITY =
CALCULATE (
SUM ( GVA53[QUANTITY] ),
FILTER (
GVA53,
LEFT ( GVA53[GVV12. COD_CLIENT], 1 ) = "B"
|| LEN ( GVA53[GVV12. COD_CLIENT] >= 5 )
)
)
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 |