Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
tjeffries
Helper I
Helper I

crear una nueva tabla a partir de una tabla existente

todo

Extremadamente nuevo en power bi. Estoy buscando crear una nueva tabla a partir de una tabla existente. Pero quiero excluir cualquier línea con los valores "en producción", "Enviado" y "Entregado" en la columna de estado del pedido. He intentado utilizar resumir, pero no está funcionando para mí. Cualquier ayuda sería apreciada.

OrdenClienteEstado del pedido
1Autobody de FredEn producción
2Autobody de FredPedido atrasado
3Autobody de FredEmbalaje
4Autobody de FredNuevo
5Autobody de FredPedido atrasado
6Autobody de FredNuevo
7Autobody de FredEnviado
8Autobody de FredEntregado
9Autobody de FredEn producción
10Autobody de FredMaterial corto
2 REPLIES 2
amitchandak
Super User
Super User

@tjeffries


filter(Table, not(table[Order Status] in 'In Production","Shipped","Delivered" ?))

O

calculatetable(Table,filter(Table, not(table[Order Status] in 'In Production","Shipped","Delivered" ?))

Anonymous
Not applicable

Hola @tjeffries,

Puede hacer esto usando el Resumir, el código siguiente debe funcionar;

New Table = FILTER(
                SUMMARIZE('Table','Table'[Order],
                "customer", MAX('Table'[Customer]),
                "Order Status", MAX('Table'[Order Status])
                )
, [Order Status] <> "In Production" && [Order Status] <> "Shipped" && [Order Status] <> "Delivered")

Me preguntaría en cuanto al clima que necesita para utilizar esto? no podría dupicate la tabla y añadir filtros de nivel visual? o incluso duplicarlo Consultar y aplicar los filtros en el nivel de consulta?

Si necesitas algún consejo hazme saber

Dobby

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.