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

Fórmula para el cupón DistinctCount donde el pago es mayor o menor que 0

Hola

Esperando que alguien pueda ayudarme a crear la siguiente fórmula donde ...

Cupón DistinctCount donde el pago es mayor o menor que 0

¡Gracias!

1 ACCEPTED SOLUTION

¿Puede intentar eliminar el "FILTRO (" y simplemente agregar un ")" al final?

Lo siento, en el teléfono y la sintaxis puede ser incorrecta de mi parte! Disculpas.

View solution in original post

3 REPLIES 3
Syndicate_Admin
Administrator
Administrator

@TheoC

A Power BI no le gusta la fórmula donde lo destaqué. ¿Alguna idea sobre cómo solucionarlo?

jonnyA_2-1643118240280.png

jonnyA_0-1643118175920.png

¿Puede intentar eliminar el "FILTRO (" y simplemente agregar un ")" al final?

Lo siento, en el teléfono y la sintaxis puede ser incorrecta de mi parte! Disculpas.

Syndicate_Admin
Administrator
Administrator

Hola @jonnyA,¿puedes probar algo como lo siguiente?

Medida =

VAR _1 = DISTINCTCOUNT ( Tabla[Voucher] )

VAR _2 = CALCULAR ( _1 , _1 <> 0 )

DEVOLUCIÓN

_2

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.