{"id":1663,"date":"2020-08-07T12:37:12","date_gmt":"2020-08-07T12:37:12","guid":{"rendered":"https:\/\/bi.unija.com\/en\/?p=1663"},"modified":"2020-08-18T06:18:44","modified_gmt":"2020-08-18T06:18:44","slug":"power-query-objects","status":"publish","type":"post","link":"https:\/\/bi.unija.com\/en\/power-query-objects\/","title":{"rendered":"Power Query objects"},"content":{"rendered":"<p><em>For Power BI version 2.76.5678.782 (December 2019).<\/em><\/p>\n<p>Power Query knows several types of objects. Queries can be of type table, list, row or function. Let&#8217;s look at how we create different types of objects and convert between them.<\/p>\n<h1>Tables<\/h1>\n<p>Tables are objects that are most commonly used when working with data in Power Query. We get a table by connecting to various data sources, or we can create one from scratch. New table is created with <strong>Enter Data<\/strong>. Power Query offers a plethora of table transformations like adding and removing columns and rows, filtering, pivoting, appending, merging, etc.<\/p>\n<h1>Lists<\/h1>\n<p>Lists are objects with only one column. Editing lists is similar to editing tables. Lists are commonly used in advanced manipulation of data.<\/p>\n<h2>Creating lists<\/h2>\n<p>List can be created from a table column by selecting column and <strong>Convert to List<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"629\" height=\"590\" class=\"wp-image-1664\" src=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-52.png\" srcset=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-52.png 629w, https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-52-300x281.png 300w\" sizes=\"(max-width: 629px) 100vw, 629px\" \/><\/p>\n<p>We get a list of the same values as in column. In the field name we now see we have a list. The query icon also shows we&#8217;re now dealing with a list.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"668\" height=\"678\" class=\"wp-image-1665\" src=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-53.png\" srcset=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-53.png 668w, https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-53-296x300.png 296w\" sizes=\"(max-width: 668px) 100vw, 668px\" \/><\/p>\n<p>We can also create a list by entering formula. We select right click, <strong>Blank Query<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"468\" height=\"326\" class=\"wp-image-1666\" src=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-54.png\" srcset=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-54.png 468w, https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-54-300x209.png 300w\" sizes=\"(max-width: 468px) 100vw, 468px\" \/><\/p>\n<p>In the formula bar we enter elements in <strong>{}<\/strong> brackets.<\/p>\n<ul>\n<li>List of numbers:<\/li>\n<\/ul>\n<p style=\"padding-left: 40px\">= {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} or {1..10}<\/p>\n<p style=\"padding-left: 40px\"><img loading=\"lazy\" decoding=\"async\" width=\"438\" height=\"346\" class=\"wp-image-1667\" src=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-55.png\" srcset=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-55.png 438w, https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-55-300x237.png 300w\" sizes=\"(max-width: 438px) 100vw, 438px\" \/><\/p>\n<ul>\n<li>List of words:<\/li>\n<\/ul>\n<p style=\"padding-left: 40px\">= {&#8220;A&#8221;, &#8220;B&#8221;, &#8220;C&#8221;, &#8220;D&#8221;}<\/p>\n<ul>\n<li>Lists are not limited to one data type. List can contain numbers, text or even other lists:<\/li>\n<\/ul>\n<p style=\"padding-left: 40px\">= {1, 2, &#8220;R&#8221;, &#8220;Power BI&#8221;, {200, 201, 202}}<\/p>\n<p style=\"padding-left: 40px\"><img loading=\"lazy\" decoding=\"async\" width=\"514\" height=\"211\" class=\"wp-image-1668\" src=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-56.png\" srcset=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-56.png 514w, https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-56-300x123.png 300w\" sizes=\"(max-width: 514px) 100vw, 514px\" \/><\/p>\n<h2>Changing list to a table<\/h2>\n<p>We can change list to a table by selecting <strong>Transform &gt; To Table<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"699\" height=\"340\" class=\"wp-image-1669\" src=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-57.png\" srcset=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-57.png 699w, https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-57-300x146.png 300w\" sizes=\"(max-width: 699px) 100vw, 699px\" \/><\/p>\n<h1>Rows<\/h1>\n<p>Lists are vertical entry of data and rows are horizontal entries of data. We can imagine a row as one row of a table, for example one sales transaction. Rows are a bit more complex than lists.<\/p>\n<h2>Creating rows<\/h2>\n<p>We can create a row object from a table row using the following steps.<\/p>\n<p>1. Select a row in a table. In our example, we want to create a row object from 8th row of a table.<\/p>\n<p>2. Right click and select <strong>Add as New Query<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"645\" height=\"628\" class=\"wp-image-1670\" src=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-58.png\" srcset=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-58.png 645w, https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-58-300x292.png 300w\" sizes=\"(max-width: 645px) 100vw, 645px\" \/><\/p>\n<p>3. We get a new query which returns the value of the field.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"297\" height=\"82\" class=\"wp-image-1671\" src=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-59.png\" \/><\/p>\n<p>4. Delete column name [ID] from formula. The query now returns the entire 8th row of the table.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"773\" height=\"556\" class=\"wp-image-1672\" src=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-60.png\" srcset=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-60.png 773w, https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-60-300x216.png 300w, https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-60-768x552.png 768w\" sizes=\"(max-width: 773px) 100vw, 773px\" \/><\/p>\n<p>Counting starts with 0 in M language, meaning Source{0} represents first, Source{1} second and Source{7} eight row.<\/p>\n<h2>Changing row to a table<\/h2>\n<p>Row can be simply converted to a table by selecting query and then <strong>Convert &gt; Into Table<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"643\" height=\"647\" class=\"wp-image-1673\" src=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-61.png\" srcset=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-61.png 643w, https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-61-298x300.png 298w, https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-61-150x150.png 150w\" sizes=\"(max-width: 643px) 100vw, 643px\" \/><\/p>\n<h1>Functions<\/h1>\n<p>Functions are objects we use when we have a repeating process in data manipulation. We save these steps to functions and use them every time we want to edit new data.<\/p>\n<p>Another example of using functions can be found in article Dynamic removal of rows in Power Query for all files in a folder.<\/p>\n<h2>Creating a function<\/h2>\n<p>Let&#8217;s look at a simple example of a function that takes a column of a table and creates a new query with a column of only unique values. We usually use these tables as dimension tables in data model.<\/p>\n<p>1. Select a table and create a reference by selecting <strong>Reference<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"950\" height=\"720\" class=\"wp-image-1674\" src=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-62.png\" srcset=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-62.png 950w, https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-62-300x227.png 300w, https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-62-768x582.png 768w\" sizes=\"(max-width: 950px) 100vw, 950px\" \/><\/p>\n<p>2. Select a reference and make this query a single column with no duplicates. Select any column, in our case <strong>Platform<\/strong>, and remove other columns by selecting <strong>Remove Other Columns<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"954\" height=\"533\" class=\"wp-image-1675\" src=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-63.png\" srcset=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-63.png 954w, https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-63-300x168.png 300w, https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-63-768x429.png 768w\" sizes=\"(max-width: 954px) 100vw, 954px\" \/><\/p>\n<p>3. Remove duplicates by right clicking, <strong>Remove Duplicates<\/strong>.<\/p>\n<p>4. Rename the query, for example <strong>function_DimTable<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"820\" height=\"466\" class=\"wp-image-1676\" src=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-64.png\" srcset=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-64.png 820w, https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-64-300x170.png 300w, https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-64-768x436.png 768w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><\/p>\n<p>5. Open <strong>Advanced Editor<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1045\" height=\"655\" class=\"wp-image-1677\" src=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-65.png\" srcset=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-65.png 1045w, https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-65-300x188.png 300w, https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-65-1024x642.png 1024w, https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-65-768x481.png 768w\" sizes=\"(max-width: 1045px) 100vw, 1045px\" \/><\/p>\n<p>6. Here are all the steps of a query. Query is changed to a function by adding <strong>()=&gt;<\/strong> to the start. Arguments or incoming data can be added to brackets and then used throughout the function.<\/p>\n<p>7. In our case we have two incoming arguments, table name and column name. We&#8217;ll name them <strong>TableName<\/strong> and <strong>ColumnName<\/strong>. We add to the start of the function: <strong>(TableName as table, ColumnName as text)=&gt;<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"743\" height=\"506\" class=\"wp-image-1678\" src=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-66.png\" srcset=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-66.png 743w, https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-66-300x204.png 300w\" sizes=\"(max-width: 743px) 100vw, 743px\" \/><\/p>\n<p>8. Change the word &#8220;Sales&#8221; with <strong>TableName<\/strong> and &#8220;Platform&#8221; with <strong>ColumnName<\/strong>.<\/p>\n<p>9. Confirm with <strong>Done<\/strong>.<\/p>\n<p>10. Query is now a function. We get a view with fields for entering data.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"905\" height=\"461\" class=\"wp-image-1679\" src=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-67.png\" srcset=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-67.png 905w, https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-67-300x153.png 300w, https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-67-768x391.png 768w\" sizes=\"(max-width: 905px) 100vw, 905px\" \/><\/p>\n<h1>List of all objects<\/h1>\n<p>We can see a list of all objects in Power BI project. We get the list by using the following steps.<\/p>\n<ol>\n<li>Create a new window by right clicking and selecting <strong>New Query &gt; Blank Query<\/strong>.<\/li>\n<li>Enter <strong>=#shared <\/strong>to formula bar<strong>.<\/strong><\/li>\n<li>Change list to table with <strong>Into Table<\/strong>.<\/li>\n<\/ol>\n<p style=\"padding-left: 40px\"><img loading=\"lazy\" decoding=\"async\" width=\"451\" height=\"511\" class=\"wp-image-1680\" src=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-68.png\" srcset=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-68.png 451w, https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-68-265x300.png 265w\" sizes=\"(max-width: 451px) 100vw, 451px\" \/><\/p>\n<p>A list is shown. List contains all the objects in the current Power BI project. List includes all the built in functions. We can explore the functions by clicking on it. Documentation and test window open up.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1262\" height=\"619\" class=\"wp-image-1681\" src=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-69.png\" srcset=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-69.png 1262w, https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-69-300x147.png 300w, https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-69-1024x502.png 1024w, https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/word-image-69-768x377.png 768w\" sizes=\"(max-width: 1262px) 100vw, 1262px\" \/><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For Power BI version 2.76.5678.782 (December 2019). Power Query knows several types of objects. Queries can be of type table, list, row or function. Let&#8217;s look at how we create different types of objects and convert between them. Tables Tables<\/p>\n","protected":false},"author":5,"featured_media":1683,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[4],"tags":[9],"class_list":["post-1663","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-advanced","tag-power-query"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Power Query objects - Bi Unija<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/bi.unija.com\/en\/power-query-objects\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Power Query objects - Bi Unija\" \/>\n<meta property=\"og:description\" content=\"For Power BI version 2.76.5678.782 (December 2019). Power Query knows several types of objects. Queries can be of type table, list, row or function. Let&#8217;s look at how we create different types of objects and convert between them. Tables Tables\" \/>\n<meta property=\"og:url\" content=\"https:\/\/bi.unija.com\/en\/power-query-objects\/\" \/>\n<meta property=\"og:site_name\" content=\"Bi Unija\" \/>\n<meta property=\"article:published_time\" content=\"2020-08-07T12:37:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-08-18T06:18:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/18eng.png\" \/>\n\t<meta property=\"og:image:width\" content=\"720\" \/>\n\t<meta property=\"og:image:height\" content=\"480\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Branka Trifunovi\u0107\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Branka Trifunovi\u0107\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/bi.unija.com\/en\/power-query-objects\/\",\"url\":\"https:\/\/bi.unija.com\/en\/power-query-objects\/\",\"name\":\"Power Query objects - Bi Unija\",\"isPartOf\":{\"@id\":\"https:\/\/bi.unija.com\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/bi.unija.com\/en\/power-query-objects\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/bi.unija.com\/en\/power-query-objects\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/18eng.png\",\"datePublished\":\"2020-08-07T12:37:12+00:00\",\"dateModified\":\"2020-08-18T06:18:44+00:00\",\"author\":{\"@id\":\"https:\/\/bi.unija.com\/en\/#\/schema\/person\/3bed36623727c7162e421c4366a54e10\"},\"breadcrumb\":{\"@id\":\"https:\/\/bi.unija.com\/en\/power-query-objects\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/bi.unija.com\/en\/power-query-objects\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/bi.unija.com\/en\/power-query-objects\/#primaryimage\",\"url\":\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/18eng.png\",\"contentUrl\":\"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/18eng.png\",\"width\":720,\"height\":480},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/bi.unija.com\/en\/power-query-objects\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/bi.unija.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Power Query objects\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/bi.unija.com\/en\/#website\",\"url\":\"https:\/\/bi.unija.com\/en\/\",\"name\":\"Bi Unija\",\"description\":\"Just another Bi site\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/bi.unija.com\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/bi.unija.com\/en\/#\/schema\/person\/3bed36623727c7162e421c4366a54e10\",\"name\":\"Branka Trifunovi\u0107\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/bi.unija.com\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ec99f651bcc98a163161515ec254b974?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ec99f651bcc98a163161515ec254b974?s=96&d=mm&r=g\",\"caption\":\"Branka Trifunovi\u0107\"},\"url\":\"https:\/\/bi.unija.com\/en\/author\/branka\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Power Query objects - Bi Unija","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/bi.unija.com\/en\/power-query-objects\/","og_locale":"en_US","og_type":"article","og_title":"Power Query objects - Bi Unija","og_description":"For Power BI version 2.76.5678.782 (December 2019). Power Query knows several types of objects. Queries can be of type table, list, row or function. Let&#8217;s look at how we create different types of objects and convert between them. Tables Tables","og_url":"https:\/\/bi.unija.com\/en\/power-query-objects\/","og_site_name":"Bi Unija","article_published_time":"2020-08-07T12:37:12+00:00","article_modified_time":"2020-08-18T06:18:44+00:00","og_image":[{"width":720,"height":480,"url":"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/18eng.png","type":"image\/png"}],"author":"Branka Trifunovi\u0107","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Branka Trifunovi\u0107","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/bi.unija.com\/en\/power-query-objects\/","url":"https:\/\/bi.unija.com\/en\/power-query-objects\/","name":"Power Query objects - Bi Unija","isPartOf":{"@id":"https:\/\/bi.unija.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/bi.unija.com\/en\/power-query-objects\/#primaryimage"},"image":{"@id":"https:\/\/bi.unija.com\/en\/power-query-objects\/#primaryimage"},"thumbnailUrl":"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/18eng.png","datePublished":"2020-08-07T12:37:12+00:00","dateModified":"2020-08-18T06:18:44+00:00","author":{"@id":"https:\/\/bi.unija.com\/en\/#\/schema\/person\/3bed36623727c7162e421c4366a54e10"},"breadcrumb":{"@id":"https:\/\/bi.unija.com\/en\/power-query-objects\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/bi.unija.com\/en\/power-query-objects\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bi.unija.com\/en\/power-query-objects\/#primaryimage","url":"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/18eng.png","contentUrl":"https:\/\/bi.unija.com\/en\/wp-content\/uploads\/sites\/2\/2020\/08\/18eng.png","width":720,"height":480},{"@type":"BreadcrumbList","@id":"https:\/\/bi.unija.com\/en\/power-query-objects\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/bi.unija.com\/en\/"},{"@type":"ListItem","position":2,"name":"Power Query objects"}]},{"@type":"WebSite","@id":"https:\/\/bi.unija.com\/en\/#website","url":"https:\/\/bi.unija.com\/en\/","name":"Bi Unija","description":"Just another Bi site","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/bi.unija.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/bi.unija.com\/en\/#\/schema\/person\/3bed36623727c7162e421c4366a54e10","name":"Branka Trifunovi\u0107","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bi.unija.com\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ec99f651bcc98a163161515ec254b974?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ec99f651bcc98a163161515ec254b974?s=96&d=mm&r=g","caption":"Branka Trifunovi\u0107"},"url":"https:\/\/bi.unija.com\/en\/author\/branka\/"}]}},"_links":{"self":[{"href":"https:\/\/bi.unija.com\/en\/wp-json\/wp\/v2\/posts\/1663"}],"collection":[{"href":"https:\/\/bi.unija.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bi.unija.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bi.unija.com\/en\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/bi.unija.com\/en\/wp-json\/wp\/v2\/comments?post=1663"}],"version-history":[{"count":3,"href":"https:\/\/bi.unija.com\/en\/wp-json\/wp\/v2\/posts\/1663\/revisions"}],"predecessor-version":[{"id":1697,"href":"https:\/\/bi.unija.com\/en\/wp-json\/wp\/v2\/posts\/1663\/revisions\/1697"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bi.unija.com\/en\/wp-json\/wp\/v2\/media\/1683"}],"wp:attachment":[{"href":"https:\/\/bi.unija.com\/en\/wp-json\/wp\/v2\/media?parent=1663"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bi.unija.com\/en\/wp-json\/wp\/v2\/categories?post=1663"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bi.unija.com\/en\/wp-json\/wp\/v2\/tags?post=1663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}