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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Syndicate_Admin
Administrator
Administrator

hola

Hola

Tengo datos de muestra y quiero encontrar nuestro connt de invoice_number que son Net_amt > = 4000 store_code y también por debajo de net_amt<4000 en cuanto a tiendas. como ve el mismo número de factura pero de una tienda diferente y tiene diferentes Net_amt

INVOICE_Number INVOICE_DT NET_AMT STORE_CODE
0324041700032 2024-04-17 1169 100010008
0324041700032 2024-04-17 1505 100010011
0324041700032 2024-04-17 4830 100010015
0324041700032 2024-04-17 801 100010016
0324041700032 2024-04-17 481 100010017
0324041700032 2024-04-17 13340 100010021
0324041700032 2024-04-17 1760 100010025

por lo que esperaba resule

para > = 400 el número de factura sería 2 que son

INVOICE_Number INVOICE_DT NET_AMT STORE_CODE

0324041700032 2024-04-17 4830 100010015

0324041700032 2024-04-17 13340 100010021

para <4000 el número de factura sería 5 que son

INVOICE_Number INVOICE_DT NET_AMT STORE_CODE

0324041700032 2024-04-17 1169 100010008
0324041700032 2024-04-17 1505 100010011
0324041700032 2024-04-17 801 100010016
0324041700032 2024-04-17 481 100010017
0324041700032 2024-04-17 1760 100010025

gracias

5 REPLIES 5
Syndicate_Admin
Administrator
Administrator

Hola

Escribe estas medidas

Importe neto = suma(Datos[Net_amt])

Recuento = countrows(filter(values(Data[Store_code]),[Importe neto]>=4000)

Count1 = countrows(filter(values(Data[Store_code]),[Importe neto]<4000)

Arrastre ambas medidas a un objeto visual de tarjeta.

Gracias por tu respuesta @Ashish_Mathur

esto me devuelve solo 76, pero según la consulta de MSSQL, debería tener 5932 para el mes de enero de 2024

gracias

Mi fórmula te dará el recuento de tiendas únicas.

Operaciones

Quiero el número de factura, ya que la misma factura se crea en una tienda diferente y con un número diferente. Así que quiero filtrarlos por tienda y > = 4000 para averiguar el número de factura cuántas facturas hay por encima o igual a 4000

gracias

Thnaks

Tengo la solución,

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

April Fabric Community Update

Fabric Community Update - April 2024

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