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
Atif
Resolver I
Resolver I

Total filtrado

Distribución: DIVIDE( DISTINCTCOUNT( Tabla 1[Disponibilidad de marca]), CALCULATE( DISTINCTCOUNT( Table1[ID de tienda]), ALL(Tabla1)))
Esta fórmula está funcionando bien, ya que cada valor se divide por el recuento total distinto. Sin embargo, cuando se aplica un filtro, el recuento total distinto se filtra, pero el numerador todavía se divide por el recuento total distinto en lugar del recuento total de diferencias filtrados.Untitled.png
1 ACCEPTED SOLUTION

Gracias, @DataInsights !

No muestra los porcentajes exactos mientras usa la fórmula. Volveré a revisar más tarde. Algunos filtros también se aplican, y podría ser la causa.

Ya he hecho el trabajo con un mero retoque.

Distribución: DIVIDE( DISTINCTCOUNT( Tabla 1[Disponibilidad de marca]), CALCULATE( DISTINCTCOUNT( Table1[ID de tienda]), ALL(Table1[Marca])))

View solution in original post

2 REPLIES 2
DataInsights
Super User
Super User

@Atif,

Prueba esta medida. Utiliza ALLSELECTED, en lugar de ALL.

Distribution =
DIVIDE (
    DISTINCTCOUNT ( Table1[Brand Availability] ),
    CALCULATE ( DISTINCTCOUNT ( Table1[Store ID] ), ALLSELECTED ( Table1 ) )
)





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Gracias, @DataInsights !

No muestra los porcentajes exactos mientras usa la fórmula. Volveré a revisar más tarde. Algunos filtros también se aplican, y podría ser la causa.

Ya he hecho el trabajo con un mero retoque.

Distribución: DIVIDE( DISTINCTCOUNT( Tabla 1[Disponibilidad de marca]), CALCULATE( DISTINCTCOUNT( Table1[ID de tienda]), ALL(Table1[Marca])))

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.