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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
Pbc95
Frequent Visitor

Problema con calculo acumulado

Hola, estoy teniendo problemas con un calculo acumulado.

 

El acumulado se realiza bien excepto en los datos que se repiten y en estos casos el acumulado no varia

 

El codigo es:

Q pickeo % acumulado = CALCULATE (
SUM('GEN - Q Pickeo por Ubic M-1'[Q pickeo %]),
FILTER( 'GEN - Q Pickeo por Ubic M-1',
'GEN - Q Pickeo por Ubic M-1'[Q pickeo %] >= EARLIER('GEN - Q Pickeo por Ubic M-1'[Q pickeo %])))
Pbc95_0-1661948543609.png

Esta es la tabla y aca debajo detallo el problema mejor

Pbc95_1-1661948594299.png

Al repetirse el valor "100" el acumulado deja de sumarse

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

@Syndicate_Admin , agregue una columna de índice en Power Query y utilícela para calcular la https://stackoverflow.com/questions/45715963/creating-an-index-column-for-power-bi acumulativa

Q pickeo % acumulado = CALCULAR (
SUM('GEN - Q Pickeo por Ubic M-1'[Q pickeo %]),
FILTRO: 'GEN - Q Pickeo por Ubiquitous M-1',
'GEN - Q Pickeo por Ubic M-1'[Índice] >= ANTERIOR('GEN - Q Pickeo por Ubic M-1'[Índice])))

View solution in original post

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

@Syndicate_Admin , agregue una columna de índice en Power Query y utilícela para calcular la https://stackoverflow.com/questions/45715963/creating-an-index-column-for-power-bi acumulativa

Q pickeo % acumulado = CALCULAR (
SUM('GEN - Q Pickeo por Ubic M-1'[Q pickeo %]),
FILTRO: 'GEN - Q Pickeo por Ubiquitous M-1',
'GEN - Q Pickeo por Ubic M-1'[Índice] >= ANTERIOR('GEN - Q Pickeo por Ubic M-1'[Índice])))

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors