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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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

Top Solution Authors