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
Syndicate_Admin
Administrator
Administrator

Total incorrecto para la columna en metrix

Hola

Estoy recibiendo un total incorrecto para mi medida. Por favor, vea a continuación los detalles de mi medida.

Abrar786_0-1685313238465.png

Aumentar la venta =

DÓNDE clientela =
FILTRO (
ADDCOLUMNS (
DISTINTO ( invoices_details[customer_no] ),
"@CYSale", [Venta total],
"@LYSale", [Venta LY],
"@SaleDiff", [Venta total] - [Venta LY]
),
[@CYSale] > 0
&& [@LYSale] > 0
&& [@CYSale] > [@LYSale]
&& COUNTROWS (
FILTRO (
'categoría',
[@SaleDiff] >= 'categoría'[valor mínimo de categoría]
&& [@SaleDiff] < 'categoría'[valor máximo de categoría]
)
) > 0
)
DEVOLUCIÓN
SUMX ( clientela, [@SaleDiff] )
Gracias de antemano por la ayuda.

3 REPLIES 3
Syndicate_Admin
Administrator
Administrator

Hola

Comparta el enlace de descarga del archivo PBI.

Syndicate_Admin
Administrator
Administrator

Escribe otra medida como esta

SUMX ( VALUES('table'[category Name]), [Increase Sale] 
Syndicate_Admin
Administrator
Administrator

@Abrar786 , Pruebe dos medidas como

Inc =COUNTROWS (
FILTRO (
«categoría»,
[@SaleDiff] >= 'categoría'[valor mínimo de categoría]
&& [@SaleDiff] < 'categoría'[valor máximo de categoría]
)
)


Aumentar la venta =

Sumx(FILTRO (
ADDCOLUMNS (
valores ( invoices_details[customer_no] ),
"@CYSale", [Venta total],
"@LYSale", [LY Sale],
"@SaleDiff", [Venta total] - [Venta LY]
),
[@CYSale] > 0
&& [@LYSale] > 0
&& [@CYSale] > [@LYSale]
&& [Inc]> 0
),[@SaleDiff])

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.