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
Ely
New Member

Columna con valores Acumulado y registros distintos

Hola tengo una base de datos en la cual tengo un campo de Año/Semana (no es tipo fecha) y quiero llevarme la informacion de la columna Late de la semana 2019.06 a la semana siguiente 2019.07... Con que formula puedo bajar este dato de una semana a otra??

Quiero calcular un Late N-1

 

Año/ SemanaPlantaMaterialConfRealLateLate N-1
2019.06S1SKU 210090-10 
2019.07S1SKU 210013011-10
2019.08S1SKU 20120511
2019.09S1SKU 210080-205

Agradezco sus comentarios

1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

@Ely ,

 

So your requirement is to achieve the aggregation value in previous year? You may use PREVIOUSYEAR() or SAMEPERIODLASTYEAR(), please refer to:

https://docs.microsoft.com/en-us/dax/previousyear-function-dax

https://docs.microsoft.com/en-us/dax/sameperiodlastyear-function-dax

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yuta-msft
Community Support
Community Support

@Ely ,

 

So your requirement is to achieve the aggregation value in previous year? You may use PREVIOUSYEAR() or SAMEPERIODLASTYEAR(), please refer to:

https://docs.microsoft.com/en-us/dax/previousyear-function-dax

https://docs.microsoft.com/en-us/dax/sameperiodlastyear-function-dax

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.