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
Anonymous
Not applicable

condición positiva y negativa

Buenas tardes, es la primera vez que comento , soy nuevo en esto, resulta que en mi trabajo debo conseguir el siguiente proyecto, y por mas que le doy vueltas no se como
sería , espero vuestra ayuda!

TENGO PRENDAS DE ROPA CON UN CODIGO IDENTIFICATIVO POR PRENDA , PERO ESTA PRENDA puede pertenecer TANTO ONLINE COMO EN FISICO.

TENGO UNA TABLA CON TODOS LOS CODIGOS :

POR EJEMPLO

CODIGO PRENDA CENTRO

12345 FISICO ( tienda de malaga)
12345 ONLINE( tienda online)
12345 FISICO(tienda de sevilla)

6789 FISICO (tienda de santander)
6789 FISICO (tienda de sevilla)
6789 ONLINE ( tienda online)

2222 ONLINE ( tienda online)
2222 ONLINE ( tienda online)
2222 ONLINE ( tienda online)

COMO PODEMOS VER EL PRIMER CODIGO SE encuentra EN ONLINE Y FISICO POR LO QUE NO ES EXCLUSIVO ONLINE
EL SEGUNDO LO MISMO
Y EL TERCERO SE ENCUENTRA SOLO ONLINE

PUES ASI TENGO MAS DE 100 MILLONES DE REGISTROS

DEBO ENCONTRAR LA CONSULTA DE ESTO: SI CODIGO PERTENECE A ONLINE Y FISICO = NO EXCLUSIVO, SI CODIGO PERTENECE A ONLINE Y NO A FISICO = EXCLUSIVO

por ejemplo en este caso el 2222 no se compra en fisico POR LO QUE ES EXCLUSIVO , EN LOS OTROS DOS CASOS AL HABER ESE MISMO CODIGO EN OTROS CENTROS ES NO EXCLUSIVO

PERDONAD LAS MOLESTIAS ESPERO QUE PODAIS AYUDARME, UN SALUDO

2 REPLIES 2
Anonymous
Not applicable

gracias por contestar!

 

lo que quiero saber que codigo es exclusivamente vendido online pero si ese codigo esta vendido fisico y online ya no es exclusivo . 

v-xiaotang
Community Support
Community Support

Hi @Anonymous 

Thanks for reaching out to us.

not sure, what's the expected output of your sample data?

vxiaotang_0-1661763935027.png

 

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

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.