<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Rest API in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Rest-API/m-p/3138484#M41800</link>
    <description>&lt;P&gt;Can we create Custom Column and Parameter through API and push it into power bi Workspace??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am Pushing Data through API by creating Tables and Measures, I Also need to create custom Column and Parameter in this API? can sombody pls help??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;API :&amp;nbsp;&lt;/P&gt;&lt;H1&gt;Push Datasets - Datasets PostDatasetInGroup&lt;/H1&gt;&lt;P&gt;POST &lt;A href="https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets" target="_blank" rel="noopener"&gt;https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Mar 2023 10:30:54 GMT</pubDate>
    <dc:creator>Uday3th1rr</dc:creator>
    <dc:date>2023-03-17T10:30:54Z</dc:date>
    <item>
      <title>Rest API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Rest-API/m-p/3138484#M41800</link>
      <description>&lt;P&gt;Can we create Custom Column and Parameter through API and push it into power bi Workspace??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am Pushing Data through API by creating Tables and Measures, I Also need to create custom Column and Parameter in this API? can sombody pls help??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;API :&amp;nbsp;&lt;/P&gt;&lt;H1&gt;Push Datasets - Datasets PostDatasetInGroup&lt;/H1&gt;&lt;P&gt;POST &lt;A href="https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets" target="_blank" rel="noopener"&gt;https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 10:30:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Rest-API/m-p/3138484#M41800</guid>
      <dc:creator>Uday3th1rr</dc:creator>
      <dc:date>2023-03-17T10:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Rest API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Rest-API/m-p/3139556#M41805</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/424383"&gt;@Uday3th1rr&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, you can create custom columns and parameters in Power BI through its API. Here are the steps to follow:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Create a dataset using the API endpoint you mentioned, i.e., POST &lt;A href="https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets" target="_blank" rel="noopener"&gt;https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets&lt;/A&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Once the dataset is created, you can create a table in it using the POST &lt;A href="https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/tables" target="_blank" rel="noopener"&gt;https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/tables&lt;/A&gt; API endpoint.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;After creating a table, you can add a custom column to it using the POST &lt;A href="https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/tables/{tableId}/columns" target="_blank" rel="noopener"&gt;https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/tables/{tableId}/columns&lt;/A&gt; API endpoint. Provide the column name, formula, data type, and any other relevant information in the request body.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Similarly, you can create a parameter using the POST &lt;A href="https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/parameters" target="_blank" rel="noopener"&gt;https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/parameters&lt;/A&gt; API endpoint. Provide the parameter name, data type, and default value in the request body.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Finally, push the data into the dataset by creating measures or adding rows to the table.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that you need to have the necessary permissions and authentication to create custom columns and parameters in Power BI through its API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards,&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.linkedin.com/in/isaac-chavarria-artavia-38b982184/" target="_self" rel="nofollow noopener noreferrer"&gt;Isaac Chavarria&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;SPAN&gt;, then please consider&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;Accepting it as the solution&amp;nbsp;and giving Kudos&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;to help the other members find it more quickly&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 18:11:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Rest-API/m-p/3139556#M41805</guid>
      <dc:creator>ichavarria</dc:creator>
      <dc:date>2023-03-17T18:11:08Z</dc:date>
    </item>
  </channel>
</rss>

