{"id":139,"date":"2023-05-18T11:32:17","date_gmt":"2023-05-18T11:32:17","guid":{"rendered":"https:\/\/datadandies.nl\/?p=139"},"modified":"2023-05-18T11:32:17","modified_gmt":"2023-05-18T11:32:17","slug":"nieuwe-functie-in-dax-offset","status":"publish","type":"post","link":"https:\/\/datadandies.nl\/index.php\/2023\/05\/18\/nieuwe-functie-in-dax-offset\/","title":{"rendered":"Nieuwe functie in DAX: OFFSET"},"content":{"rendered":"\n<p>Er is sinds enkele maanden een nieuwe functie beschikbaar binnen Power BI: OFFSET. Hiermee kun je binnen de bestaande filter context een waarde uit een vorige regel ophalen.&nbsp;&nbsp;<\/p>\n\n\n\n<p>Deze nieuwe functie doet mij sterk denken aan de LAG functie in SQL. Met deze functie kun je ook waardes uit vorige rijen ophalen. Dit kan zeer handig zijn wanneer je waardes uit vorige rijen met elkaar wilt vergelijken. Denk hierbij aan het vergelijken van periodes, producten, marketingcampagnes, etc.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"428\" src=\"https:\/\/datadandies.nl\/wp-content\/uploads\/2023\/05\/20230122-OFFSET-DAX-LAG-SQL-1024x428.png\" alt=\"\" class=\"wp-image-140\" srcset=\"https:\/\/datadandies.nl\/wp-content\/uploads\/2023\/05\/20230122-OFFSET-DAX-LAG-SQL-1024x428.png 1024w, https:\/\/datadandies.nl\/wp-content\/uploads\/2023\/05\/20230122-OFFSET-DAX-LAG-SQL-300x126.png 300w, https:\/\/datadandies.nl\/wp-content\/uploads\/2023\/05\/20230122-OFFSET-DAX-LAG-SQL-768x321.png 768w, https:\/\/datadandies.nl\/wp-content\/uploads\/2023\/05\/20230122-OFFSET-DAX-LAG-SQL-1536x643.png 1536w, https:\/\/datadandies.nl\/wp-content\/uploads\/2023\/05\/20230122-OFFSET-DAX-LAG-SQL-2048x857.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Er is sinds enkele maanden een nieuwe functie beschikbaar binnen Power BI: OFFSET. Hiermee kun je binnen de bestaande filter context een waarde uit een vorige regel ophalen.&nbsp;&nbsp; Deze nieuwe functie doet mij sterk denken aan de LAG functie in SQL. Met deze functie kun je ook waardes uit vorige rijen ophalen. Dit kan zeer&hellip;<\/p>\n<p class=\"more-link\"><a href=\"https:\/\/datadandies.nl\/index.php\/2023\/05\/18\/nieuwe-functie-in-dax-offset\/\" class=\"themebutton\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[6,3,4],"class_list":["post-139","post","type-post","status-publish","format-standard","hentry","category-blog","tag-dax","tag-powerbi","tag-sql"],"_links":{"self":[{"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/posts\/139","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/comments?post=139"}],"version-history":[{"count":1,"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/posts\/139\/revisions"}],"predecessor-version":[{"id":141,"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/posts\/139\/revisions\/141"}],"wp:attachment":[{"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/media?parent=139"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/categories?post=139"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/tags?post=139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}