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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Austinehype
Helper I
Helper I

Suma de valores distintos restantes

Hola

Necesito una medida o columna calculada que sume el mes restante, por ejemplo, a continuación

Ahora estamos en diciembre y nos quedan 3 meses para este año fiscal si sudo 3+ 2 + 1 6 en diciembre

En enero debe ser la suma 2 + 1 -3

En febrero debería ser la suma 1

El año a lesionado comienza en abril y termina en marzo

MesMes restante
Diciembre3
Diciembre3
Enero2
Enero2
Febrero1
Febrero1
Marzo0
1 ACCEPTED SOLUTION
v-jayw-msft
Community Support
Community Support

No @Austinehype,

Cree una nueva tabla como la siguiente y cree una relación entre table1 y table2.

1.PNG

A continuación, cree una medida.

Measure = CALCULATE(SUM('Table 2'[Month left]),FILTER(ALL('Table'),'Table'[Month left]<MIN('Table'[Month left])+1))

El resultado se mostraría como se muestra a continuación.

2.PNG

Saludos

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

View solution in original post

1 REPLY 1
v-jayw-msft
Community Support
Community Support

No @Austinehype,

Cree una nueva tabla como la siguiente y cree una relación entre table1 y table2.

1.PNG

A continuación, cree una medida.

Measure = CALCULATE(SUM('Table 2'[Month left]),FILTER(ALL('Table'),'Table'[Month left]<MIN('Table'[Month left])+1))

El resultado se mostraría como se muestra a continuación.

2.PNG

Saludos

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.