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

Cómo filtrar el informe mediante la fórmula de medida o recuento distinto en la columna

Soy bastante nuevo en Power BI y cargué una consulta para crear varios informes. La consulta se cargó bien. Sin embargo, estoy tratando de filtrar la tabla mostrando solo filas basadas en un recuento de < 3 en una columna incluida en la consulta/tabla. He probado una medida usando Calculate y distinctcount pero siempre obtengo errores:

Medida = ActionsItemsCount

CALCULAR(

DISTINCTCOUNT(«Remisiones»[seq_no]),

FILTRO('Referencias'[seq_no] < 3))
También he intentado agregar un campo de datos como una columna usando
CountActionItems = distinctcount(Referrals[seq_no]) < 3
y esto parece funcionar, pero no sé cómo usarlo como filtro en el informe. Cualquier ayuda es muy apreciada.
1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

Hola

Por favor, pruebe lo siguiente.

ActionsItemsCount =
CALCULAR (
DISTINCTCOUNT ( «Referencias»[seq_no] ),
FILTRO ( 'Referencias', 'Referencias'[seq_no] < 3 )
)

View solution in original post

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

Hola

Por favor, pruebe lo siguiente.

ActionsItemsCount =
CALCULAR (
DISTINCTCOUNT ( «Referencias»[seq_no] ),
FILTRO ( 'Referencias', 'Referencias'[seq_no] < 3 )
)

Ahhh, olvidé la referencia de la segunda tabla. Muchas gracias. Ahora, si pudiera averiguar cómo aplicar realmente esta medida a la producción del informe, sería genial.

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.