<?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 Power BI - Monday.com: Seeking Suggestions on Enhancing My Super Simple API Query in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Monday-com-Seeking-Suggestions-on-Enhancing-My-Super/m-p/3631358#M48624</link>
    <description>&lt;P&gt;My query is functioning correctly, it currently only returns the columns from my boards. How can I modify it to ensure that it also returns group names such as Q1, Q2, Q3, etc. (example attached)? Thank you for your assistance.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;**My API code that needs tweaking to include groups:**&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;let&lt;BR /&gt;MondayQuery1 = "{""query"": ""{boards(ids: ",&lt;BR /&gt;MondayQuery2 = "*MY BOARD ID*",&lt;BR /&gt;MondayQuery3 = ") {items_page(limit: 100) {cursor items {id name column_values {text column {title}}}}}}""}",&lt;BR /&gt;MondayFullQuery = MondayQuery1 &amp;amp; MondayQuery2 &amp;amp; MondayQuery3,&lt;BR /&gt;Source = Web.Contents("&lt;A href="https://api.monday.com/" target="_blank" rel="noopener"&gt;https://api.monday.com/&lt;/A&gt;",&lt;BR /&gt;[&lt;BR /&gt;RelativePath="v2",&lt;BR /&gt;Headers=&lt;BR /&gt;[&lt;BR /&gt;#"Method"="POST",&lt;BR /&gt;#"Content-Type"="application/json",&lt;BR /&gt;#"Authorization"="*MY API TOKEN*",&lt;BR /&gt;#"API-Version"="2023-10"&lt;BR /&gt;],&lt;BR /&gt;Content=Text.ToBinary(MondayFullQuery)&lt;BR /&gt;]&lt;BR /&gt;),&lt;BR /&gt;#"JSON" = Json.Document(Source, 65001),&lt;BR /&gt;data = JSON[data],&lt;BR /&gt;boards = data[boards],&lt;BR /&gt;#"Converted to Table" = Table.FromList(boards, Splitter.SplitByNothing(), null, null, ExtraValues.Error)&lt;BR /&gt;in&lt;BR /&gt;#"Converted to Table"&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jan 2024 20:39:01 GMT</pubDate>
    <dc:creator>Redraidas10</dc:creator>
    <dc:date>2024-01-10T20:39:01Z</dc:date>
    <item>
      <title>Power BI - Monday.com: Seeking Suggestions on Enhancing My Super Simple API Query</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Monday-com-Seeking-Suggestions-on-Enhancing-My-Super/m-p/3631358#M48624</link>
      <description>&lt;P&gt;My query is functioning correctly, it currently only returns the columns from my boards. How can I modify it to ensure that it also returns group names such as Q1, Q2, Q3, etc. (example attached)? Thank you for your assistance.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;**My API code that needs tweaking to include groups:**&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;let&lt;BR /&gt;MondayQuery1 = "{""query"": ""{boards(ids: ",&lt;BR /&gt;MondayQuery2 = "*MY BOARD ID*",&lt;BR /&gt;MondayQuery3 = ") {items_page(limit: 100) {cursor items {id name column_values {text column {title}}}}}}""}",&lt;BR /&gt;MondayFullQuery = MondayQuery1 &amp;amp; MondayQuery2 &amp;amp; MondayQuery3,&lt;BR /&gt;Source = Web.Contents("&lt;A href="https://api.monday.com/" target="_blank" rel="noopener"&gt;https://api.monday.com/&lt;/A&gt;",&lt;BR /&gt;[&lt;BR /&gt;RelativePath="v2",&lt;BR /&gt;Headers=&lt;BR /&gt;[&lt;BR /&gt;#"Method"="POST",&lt;BR /&gt;#"Content-Type"="application/json",&lt;BR /&gt;#"Authorization"="*MY API TOKEN*",&lt;BR /&gt;#"API-Version"="2023-10"&lt;BR /&gt;],&lt;BR /&gt;Content=Text.ToBinary(MondayFullQuery)&lt;BR /&gt;]&lt;BR /&gt;),&lt;BR /&gt;#"JSON" = Json.Document(Source, 65001),&lt;BR /&gt;data = JSON[data],&lt;BR /&gt;boards = data[boards],&lt;BR /&gt;#"Converted to Table" = Table.FromList(boards, Splitter.SplitByNothing(), null, null, ExtraValues.Error)&lt;BR /&gt;in&lt;BR /&gt;#"Converted to Table"&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 20:39:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Monday-com-Seeking-Suggestions-on-Enhancing-My-Super/m-p/3631358#M48624</guid>
      <dc:creator>Redraidas10</dc:creator>
      <dc:date>2024-01-10T20:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI - Monday.com: Seeking Suggestions on Enhancing My Super Simple API Query</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Monday-com-Seeking-Suggestions-on-Enhancing-My-Super/m-p/3632698#M48665</link>
      <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="270179" data-lia-user-login="Redraidas10" class="lia-mention lia-mention-user"&gt;Redraidas10&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What does "returns group names" refer to, and what does the data display look like on the PQ page, and is it possible to get the group name field directly by clicking on the drill down or pivot/reverse pivot, and then the data conversion button on the interface after getting the data?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 07:57:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Monday-com-Seeking-Suggestions-on-Enhancing-My-Super/m-p/3632698#M48665</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-11T07:57:36Z</dc:date>
    </item>
  </channel>
</rss>

