March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi. I hope you are well. please could you help me with this. I want to do this calculate column or measure in power bi
Solved! Go to Solution.
@Ronrf095 , Assuming MT is measure, Try to use offset, You might need a better order by column. If need you can add one more column to order by
Last MT = CALCULATE([MT], OFFSET(-1, ALLSELECTED('Table'[Month Year Calc],'Table'[Customer Material], 'Table[File]'), ORDERBY('Table'[Filter],asc),KEEP,PARTITIONBY('Table'[Month Year Calc],'Table'[Customer Material])))
Continue to explore Power BI Offset Compare Categories, Time Intelligence MOM, QOQ, and YOY: https://youtu.be/5YMlkDNGr0U
thanks! it works!
@Ronrf095 , Assuming MT is measure, Try to use offset, You might need a better order by column. If need you can add one more column to order by
Last MT = CALCULATE([MT], OFFSET(-1, ALLSELECTED('Table'[Month Year Calc],'Table'[Customer Material], 'Table[File]'), ORDERBY('Table'[Filter],asc),KEEP,PARTITIONBY('Table'[Month Year Calc],'Table'[Customer Material])))
Continue to explore Power BI Offset Compare Categories, Time Intelligence MOM, QOQ, and YOY: https://youtu.be/5YMlkDNGr0U
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
134 | |
91 | |
90 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
72 | |
68 |