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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Syndicate_Admin
Administrator
Administrator

Sobre/Por debajo de stock

Hola a todos

Quiero analizar el inventario utilizando datos de Demanda y Stock. Consulte la tabla a continuación:

ACCIÓN

Stock.jpg

DEMANDA

Demand.jpg

RESULTADO

result.jpg

¿Cómo puedo lograr esto basado en SKU, por favor?

Gracias

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

@mb0307 , Tienes que crear una nueva tabla

SKU = distinct(union(distinct(stock[SKU]),distinct(demand[SKU])))

Unir con ambas tablas en SKU y usar con ambas tablas

Stock Over/Under = Sum(stock[Stock]) - sum(demand[demand])

View solution in original post

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

@mb0307 , Tienes que crear una nueva tabla

SKU = distinct(union(distinct(stock[SKU]),distinct(demand[SKU])))

Unir con ambas tablas en SKU y usar con ambas tablas

Stock Over/Under = Sum(stock[Stock]) - sum(demand[demand])

Muchas gracias @amitchandak

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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

Top Solution Authors
Top Kudoed Authors