β¨A new DAX function that is already available in the September release of #PowerBIDesktop, but was hidden in the last updates announced in September.
β¨#OFFSET allows to make comparisons in context between two values, without writing extremely long and complex #DAX.
β¨In my example, I compare with the previous product row, so I put -1 as the first parameter, and in the second parameter I specified the comparaison table which in my case is All (Product[Color]), then I specified the order with the #ORDERBY function, to define what the first row will be.
β¨The function is not yet announced nor documented by Microsoft but works perfectly, I let you test it:
πA perfect article about the function by Marc LelijveldΒ
Hi,
What if i need a running total with previous values, like
column has 1000|2000|3000=>output 1000|3000|6000