<?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>All Power Query posts</title>
    <link>https://community.powerbi.com/t5/Power-Query/bd-p/power-bi-services</link>
    <description>All Power Query posts</description>
    <pubDate>Mon, 26 Apr 2021 08:35:59 GMT</pubDate>
    <dc:creator>power-bi-services</dc:creator>
    <dc:date>2021-04-26T08:35:59Z</dc:date>
    <item>
      <title>Re: Graph with multiple series</title>
      <link>https://community.powerbi.com/t5/Power-Query/Graph-with-multiple-series/m-p/1805328#M54017</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="297650"&gt;&lt;/LI-USER&gt;&amp;nbsp;，&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create a column as below:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;quantity = LOOKUPVALUE('Table (2)'[Quantity],'Table (2)'[Code],'Table'[Code],0)&lt;/LI-CODE&gt;
&lt;P&gt;And you will see:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="v-kelly-msft_0-1619423868553.png" style="width: 400px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/501727iC3CF6F942AA69943/image-size/medium?v=v2&amp;amp;px=400" role="button" title="v-kelly-msft_0-1619423868553.png" alt="v-kelly-msft_0-1619423868553.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For the related .pbix file,pls see attached.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Kelly&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution!&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 08:00:27 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Graph-with-multiple-series/m-p/1805328#M54017</guid>
      <dc:creator>v-kelly-msft</dc:creator>
      <dc:date>2021-04-26T08:00:27Z</dc:date>
    </item>
    <item>
      <title>Iterate thru table - Adding row to all rows in a table</title>
      <link>https://community.powerbi.com/t5/Power-Query/Iterate-thru-table-Adding-row-to-all-rows-in-a-table/m-p/1805269#M54016</link>
      <description>&lt;P&gt;For each row in this table i want to add a new row and just change "belop" to "- whatever "belop" and Kontoart to "1".&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to do this as a step in advanced editor.&amp;nbsp; Can anyone help me write the code?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Shkr_0-1619422976731.png" style="width: 400px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/501710iB573CAD45BF73E5A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Shkr_0-1619422976731.png" alt="Shkr_0-1619422976731.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 07:44:54 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Iterate-thru-table-Adding-row-to-all-rows-in-a-table/m-p/1805269#M54016</guid>
      <dc:creator>Shkr</dc:creator>
      <dc:date>2021-04-26T07:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to format a number column</title>
      <link>https://community.powerbi.com/t5/Power-Query/how-to-format-a-number-column/m-p/1805246#M54015</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;LI-USER uid="226208"&gt;&lt;/LI-USER&gt;&amp;nbsp;- thank you so much for your time, however this is still not working for me . attaching a screen shot for your reference. please can you look into it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sks2701_0-1619422524172.png" style="width: 400px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/501707iAE67684A23895984/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sks2701_0-1619422524172.png" alt="sks2701_0-1619422524172.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 07:35:43 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/how-to-format-a-number-column/m-p/1805246#M54015</guid>
      <dc:creator>sks2701</dc:creator>
      <dc:date>2021-04-26T07:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Power Query in excel- stored in SharePoint online/One drive. Data wont refresh when its is close</title>
      <link>https://community.powerbi.com/t5/Power-Query/Power-Query-in-excel-stored-in-SharePoint-online-One-drive-Data/m-p/1805193#M54014</link>
      <description>&lt;P&gt;&lt;LI-USER uid="295393"&gt;&lt;/LI-USER&gt; , have you already tried these steps &lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/connect-data/refresh-excel-file-onedrive" target="_blank"&gt;https://docs.microsoft.com/en-us/power-bi/connect-data/refresh-excel-file-onedrive&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 07:27:54 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Power-Query-in-excel-stored-in-SharePoint-online-One-drive-Data/m-p/1805193#M54014</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-04-26T07:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Append 2 tables and remove dublicate rows</title>
      <link>https://community.powerbi.com/t5/Power-Query/Append-2-tables-and-remove-dublicate-rows/m-p/1805128#M54013</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="288956"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Append the two tables.&lt;/P&gt;
&lt;P&gt;2. Group the appended table based on your requirements and add a "count" column to count rows at the same time.&lt;/P&gt;
&lt;P&gt;3. Only keep the rows which "count"=1.&lt;/P&gt;
&lt;P&gt;4. Expand the table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Icey&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 07:11:43 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Append-2-tables-and-remove-dublicate-rows/m-p/1805128#M54013</guid>
      <dc:creator>Icey</dc:creator>
      <dc:date>2021-04-26T07:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help on Date Format conversion</title>
      <link>https://community.powerbi.com/t5/Power-Query/Help-on-Date-Format-conversion/m-p/1805126#M54012</link>
      <description>&lt;P&gt;&lt;LI-USER uid="20097"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What is the date format in the original excel file, are both date columns are the same data type and format? Can you show a screen short.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Paul Zheng _ Community Support Team&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 07:11:33 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Help-on-Date-Format-conversion/m-p/1805126#M54012</guid>
      <dc:creator>V-pazhen-msft</dc:creator>
      <dc:date>2021-04-26T07:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Per Unit Number when Sold Totals are within Data Field</title>
      <link>https://community.powerbi.com/t5/Power-Query/Calculate-Per-Unit-Number-when-Sold-Totals-are-within-Data-Field/m-p/1805108#M54011</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="297681"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;If you want to calculate the volumes of ID for each Account number and Account Description fields, you can create a measure like this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Count =
CALCULATE (
    COUNT ( 'Table'[Period ID] ),
    ALLEXCEPT ( 'Table', 'table'[Account Number], 'table'[Account Description] )
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Yingjie Li&lt;BR /&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 07:04:44 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Calculate-Per-Unit-Number-when-Sold-Totals-are-within-Data-Field/m-p/1805108#M54011</guid>
      <dc:creator>v-yingjl</dc:creator>
      <dc:date>2021-04-26T07:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script to fetch data from a REST API</title>
      <link>https://community.powerbi.com/t5/Power-Query/Python-Script-to-fetch-data-from-a-REST-API/m-p/1805100#M54010</link>
      <description>&lt;P&gt;Hi Kelly&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I managed to fix it by reinstalling anaconda3 entirely and Power BI entirely, thanks for your reply though!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Rasmus&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 07:24:53 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Python-Script-to-fetch-data-from-a-REST-API/m-p/1805100#M54010</guid>
      <dc:creator>Rosenmeyer</dc:creator>
      <dc:date>2021-04-26T07:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter a column based on a column from another table?</title>
      <link>https://community.powerbi.com/t5/Power-Query/How-to-filter-a-column-based-on-a-column-from-another-table/m-p/1805094#M54009</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="297652"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also try this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMlTSUTIyVYrViVYyAjJNDcBMYyDTHCJqAmQaGkCETWHsWAA=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [#"Employee ID" = _t, #"Sales Value" = _t]),
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Employee ID", Int64.Type}, {"Sales Value", Int64.Type}}),
    #"Filtered Table1" = Table.SelectRows(#"Changed Type", each List.Contains(#"Table2"[Employee ID],[Employee ID]))
in
    #"Filtered Table1"&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="employee id.JPG" style="width: 999px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/501658iA207E3066500FBDC/image-size/large?v=v2&amp;amp;px=999" role="button" title="employee id.JPG" alt="employee id.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Icey&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 06:59:58 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/How-to-filter-a-column-based-on-a-column-from-another-table/m-p/1805094#M54009</guid>
      <dc:creator>Icey</dc:creator>
      <dc:date>2021-04-26T06:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Table Replace Value multiple condition</title>
      <link>https://community.powerbi.com/t5/Power-Query/Table-Replace-Value-multiple-condition/m-p/1805068#M54008</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How do I change this to be used in a function with column name as a variable ?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 06:46:13 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Table-Replace-Value-multiple-condition/m-p/1805068#M54008</guid>
      <dc:creator>gvg</dc:creator>
      <dc:date>2021-04-26T06:46:13Z</dc:date>
    </item>
    <item>
      <title>Downloading stock data from NSE India</title>
      <link>https://community.powerbi.com/t5/Power-Query/Downloading-stock-data-from-NSE-India/m-p/1805031#M54007</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a requirement to load the stock data from NSE website (nseindia.com). I found that they have the option to download historical data in a csv and the url of the download link (&lt;SPAN&gt;&lt;A href="https://www.nseindia.com/api/historical/cm/equity?symbol=HCLTECH&amp;amp;series=[%22EQ%22]&amp;amp;from=26-03-2021&amp;amp;to=26-04-2021&amp;amp;csv=true" target="_blank" rel="noopener"&gt;https://www.nseindia.com/api/historical/cm/equity?symbol=HCLTECH&amp;amp;series=[%22EQ%22]&amp;amp;from=26-03-2021&amp;amp;to=26-04-2021&amp;amp;csv=true&lt;/A&gt;&lt;/SPAN&gt;). Through the link, I can succesfully download the required data. However, I have to load the data on a daily basis so wanted to connect directly through Power BI Desktop. I tried with the web source in the Desktop but the query keeps loading till I get a "timeout" error. I tried the same url through Postman and got the result instantly. I tried playing with the headers but no luck so far. Any suggestions is appreciated.&lt;/P&gt;&lt;P&gt;I also found that there is a python package (nsepy) that scraps the data from NSE site. However, with the python script, the package cannot be added to the service and requires Personal Gateway(I have standard) for using the packages.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 06:34:14 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Downloading-stock-data-from-NSE-India/m-p/1805031#M54007</guid>
      <dc:creator>sonm10</dc:creator>
      <dc:date>2021-04-26T06:34:14Z</dc:date>
    </item>
    <item>
      <title>D365 online query for only a number of entities</title>
      <link>https://community.powerbi.com/t5/Power-Query/D365-online-query-for-only-a-number-of-entities/m-p/1805026#M54006</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I imported numbers from D365 into Power BI (and Excel).&lt;/P&gt;&lt;P&gt;But I only get one entity. But we have more than 50 entities. But the query will only list the entity which I have as standard entity in D365 settings.&lt;/P&gt;&lt;P&gt;Our guy from IT that it was not possible to get more than one entity via D365query into Power BI.&lt;/P&gt;&lt;P&gt;I'm somehow not sure if this is really true. We are for sure not the only company who has more than one entity..&lt;/P&gt;&lt;P&gt;Anybody any idea on this?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Patricia&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 06:30:23 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/D365-online-query-for-only-a-number-of-entities/m-p/1805026#M54006</guid>
      <dc:creator>PatriciaL</dc:creator>
      <dc:date>2021-04-26T06:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script to fetch data from a REST API</title>
      <link>https://community.powerbi.com/t5/Power-Query/Python-Script-to-fetch-data-from-a-REST-API/m-p/1805000#M54005</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;LI-USER uid="120393"&gt;&lt;/LI-USER&gt;&amp;nbsp;，&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It‘s an error from Python side.&lt;/P&gt;
&lt;P&gt;Try to take below steps to solve it:&lt;/P&gt;
&lt;P&gt;1. In the virtual environment:&lt;BR /&gt;pip install pyOpenSSL&lt;BR /&gt;2. Add environment variables&lt;BR /&gt;F:\Anaconda\envs\open3d\Library\bin&lt;BR /&gt;3. Restart pycharm&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or check below thread to see whether it helps:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/54135206/requests-caused-by-sslerrorcant-connect-to-https-url-because-the-ssl-module" target="_blank"&gt;https://stackoverflow.com/questions/54135206/requests-caused-by-sslerrorcant-connect-to-https-url-because-the-ssl-module&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Kelly&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution!&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 06:17:01 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Python-Script-to-fetch-data-from-a-REST-API/m-p/1805000#M54005</guid>
      <dc:creator>v-kelly-msft</dc:creator>
      <dc:date>2021-04-26T06:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Transform Invoice Data</title>
      <link>https://community.powerbi.com/t5/Power-Query/Transform-Invoice-Data/m-p/1804998#M54004</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="296207"&gt;&lt;/LI-USER&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("pZFva8JADMa/SrjXpSTp9dq8POcGFd0fKkMovqjSF4K10qrgt1/16qashcFCCMlD+PFcLsuUREYrT9l9DQECI2M7zfIzBHSb7Ch9C+narZpqW5Xwkpeb7Rnm9bE5tPIll16mutZTye5UbdYFJIeibL7Vx50BeVKtgAPSGj5GNoVZXt85aZMivtRYfB7gMcpvJImR2CEnx517KkmHFBx2Rxz6uscihkxgx5/J03O3SHqYEqGv8T5MD5KI2FlMi/2jRfNfNodoHHtcrN1F/8KOGf0+XGBEYL54n9rXn3vevijS5kpcfgE=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Number = _t, Date = _t, #"Due Date" = _t, Code = _t, Name = _t, #"Invoice Total" = _t, #"Invoice Total (Incl. Tax)" = _t]),
    #"Kept First Rows and Removed Columns" = 
    Table.DemoteHeaders(
        Table.RemoveColumns(
            Table.FirstN(Source,1),
        {"Invoice Total", "Invoice Total (Incl. Tax)"}
        )
    ),
    #"Removed Top Rows" = Table.Skip(Source,1),
    #"Modified Code Column" = 
            Table.SelectRows(
                Table.SelectColumns(
                    #"Removed Top Rows", {"Code"}
                    ),
                each not List.IsEmpty(List.RemoveMatchingItems(Record.FieldValues(_), {"", null}))
            ),
    #"Modified Invoice Total Column" = 
    Table.DemoteHeaders(
        Table.SelectRows(
            Table.SelectColumns(
                #"Removed Top Rows", {"Invoice Total"}
            ),
            each not List.IsEmpty(List.RemoveMatchingItems(Record.FieldValues(_), {"", null}))
        )
    ),
    #"Modified Invoice Total (Incl. Tax) Column" = 
    Table.DemoteHeaders(
        Table.SelectRows(
            Table.SelectColumns(
                #"Removed Top Rows", {"Invoice Total (Incl. Tax)"}
            ),
            each not List.IsEmpty(List.RemoveMatchingItems(Record.FieldValues(_), {"", null}))
        )
    ),
    #"Transposed Table - Kept First Rows and Removed Columns" = Table.Transpose(#"Kept First Rows and Removed Columns"),
    #"Transposed Table - Modified Code Column" = Table.Transpose(#"Modified Code Column"),
    #"Transposed Table - Modified Invoice Total Column" = Table.Transpose(#"Modified Invoice Total Column"),
    #"Transposed Table - Modified Invoice Total (Incl. Tax) Column" = Table.Transpose(#"Modified Invoice Total (Incl. Tax) Column"),
    #"Combined Tables" = Table.Combine({#"Transposed Table - Kept First Rows and Removed Columns",#"Transposed Table - Modified Code Column",#"Transposed Table - Modified Invoice Total Column",#"Transposed Table - Modified Invoice Total (Incl. Tax) Column"}),
    #"Transposed Table" = Table.Transpose(#"Combined Tables"),
    #"Promoted Headers" = Table.PromoteHeaders(#"Transposed Table", [PromoteAllScalars=true]),
    #"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"Number", Int64.Type}, {"Date", type date}, {"Due Date", type date}, {"Code", type text}, {"Name", type text}, {"Invoice Items", type text}, {"Invoice Total", Int64.Type}, {"Invoice Total (Incl. Tax)", type number}})
in
    #"Changed Type"&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="invoice.PNG" style="width: 999px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/501617iF40E496192D63DB4/image-size/large?v=v2&amp;amp;px=999" role="button" title="invoice.PNG" alt="invoice.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Icey&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 06:15:14 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Transform-Invoice-Data/m-p/1804998#M54004</guid>
      <dc:creator>Icey</dc:creator>
      <dc:date>2021-04-26T06:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Filter multiple sheets with different data by the filename</title>
      <link>https://community.powerbi.com/t5/Power-Query/Filter-multiple-sheets-with-different-data-by-the-filename/m-p/1804971#M54003</link>
      <description>&lt;P&gt;Anybody who can help me with a solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 06:06:23 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Filter-multiple-sheets-with-different-data-by-the-filename/m-p/1804971#M54003</guid>
      <dc:creator>klausvm</dc:creator>
      <dc:date>2021-04-26T06:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to reference table[column] as variables in a function</title>
      <link>https://community.powerbi.com/t5/Power-Query/How-to-reference-table-column-as-variables-in-a-function/m-p/1804889#M54002</link>
      <description>&lt;P&gt;Yep, that works. Thank you&amp;nbsp;&lt;LI-USER uid="250150"&gt;&lt;/LI-USER&gt;&amp;nbsp;!&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 05:26:24 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/How-to-reference-table-column-as-variables-in-a-function/m-p/1804889#M54002</guid>
      <dc:creator>gvg</dc:creator>
      <dc:date>2021-04-26T05:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Expand column with functions in each row</title>
      <link>https://community.powerbi.com/t5/Power-Query/Expand-column-with-functions-in-each-row/m-p/1804780#M54000</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="297556"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;As far as I know, function type needs specific parameters to get the query result so it would not return multiple results at the same time.&lt;/P&gt;
&lt;P&gt;About expanding columns in power query, you can refer this article:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.microsoft.com/en-us/office/work-with-a-list-record-or-table-structured-column-power-query-d5e552be-c143-4f06-9a5e-0960bbaaf480" target="_self"&gt;Work with a List, Record, or Table structured column (Power Query)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Yingjie Li&lt;BR /&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 03:01:44 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Expand-column-with-functions-in-each-row/m-p/1804780#M54000</guid>
      <dc:creator>v-yingjl</dc:creator>
      <dc:date>2021-04-26T03:01:44Z</dc:date>
    </item>
    <item>
      <title>Power Query in excel- stored in SharePoint online/One drive. Data wont refresh when its is closed.</title>
      <link>https://community.powerbi.com/t5/Power-Query/Power-Query-in-excel-stored-in-SharePoint-online-One-drive-Data/m-p/1804616#M53999</link>
      <description>&lt;P&gt;I am having a problem having query data coming to Excel. It is API data flowing to Excel. Using power Query data is getting loaded to excel.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have to manually open the file to get this data refresh.&lt;/P&gt;&lt;P&gt;I have tried Refreshing it using Microsoft power Automate but it did not work.&lt;/P&gt;&lt;P&gt;i have tried schedule refresh in excel and it's not working.&lt;BR /&gt;&lt;BR /&gt;How do I refresh data in excel without opening it?&lt;BR /&gt;&lt;BR /&gt;This data gets updated to the Power BI dataset. Not using PQ for the dataset directly because I cannot hold historical data.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 01:12:10 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Power-Query-in-excel-stored-in-SharePoint-online-One-drive-Data/m-p/1804616#M53999</guid>
      <dc:creator>skipper</dc:creator>
      <dc:date>2021-04-26T01:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: RLS on database level with Direct Query</title>
      <link>https://community.powerbi.com/t5/Power-Query/RLS-on-database-level-with-Direct-Query/m-p/1804567#M53998</link>
      <description>&lt;P&gt;Why would you need that? The database already knows which user is running the direct query?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls#faq" target="_blank"&gt;Row-level security (RLS) with Power BI - Power BI | Microsoft Docs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Last FAQ.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 00:18:58 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/RLS-on-database-level-with-Direct-Query/m-p/1804567#M53998</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-04-26T00:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Load data from Intercom</title>
      <link>https://community.powerbi.com/t5/Power-Query/Load-data-from-Intercom/m-p/1804518#M53997</link>
      <description>&lt;P&gt;I did not succeed in obtaining API key that's why I am blocked&lt;BR /&gt;I would like to know how to do this with an access token&lt;/P&gt;</description>
      <pubDate>Sun, 25 Apr 2021 21:56:23 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Load-data-from-Intercom/m-p/1804518#M53997</guid>
      <dc:creator>hasnaa</dc:creator>
      <dc:date>2021-04-25T21:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to reference table[column] as variables in a function</title>
      <link>https://community.powerbi.com/t5/Power-Query/How-to-reference-table-column-as-variables-in-a-function/m-p/1804497#M53996</link>
      <description>&lt;P&gt;&lt;LI-USER uid="28290"&gt;&lt;/LI-USER&gt;&amp;nbsp;, you may want to try&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;= (myTable as table, myColumn as text) =&amp;gt;
let
    #"Replace Value" = Table.ReplaceValue( myTable, "some text", Table.ToList(Table.SelectColumns(myTable, myColumn)){1} &amp;amp; " ccc", Replacer.ReplaceValue, {myColumn})
in
    #"Replace Value"&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 25 Apr 2021 20:42:43 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/How-to-reference-table-column-as-variables-in-a-function/m-p/1804497#M53996</guid>
      <dc:creator>CNENFRNL</dc:creator>
      <dc:date>2021-04-25T20:42:43Z</dc:date>
    </item>
    <item>
      <title>How to reference table[column] as variables in a function</title>
      <link>https://community.powerbi.com/t5/Power-Query/How-to-reference-table-column-as-variables-in-a-function/m-p/1804433#M53995</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;I have a table with very many columns. I am looking to build a function (fChange) that can be called on any column. It looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;= (myTable as table, myColumn as text) =&amp;gt; let
    #"Replace Value" = Table.ReplaceValue( myTable, "some text", myTable[myColumn]{1} &amp;amp; " ccc",  // change to text on row 2 and " ccc"
    Replacer.ReplaceValue, {myColumn})
in
    #"Replace Value"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The function is supposed to be called using :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=fChange(TableFromPreviousStep, "Column78")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;myTable[myColumn]{1}&lt;/EM&gt; reference in line 2 is not working. Power Query interprets &lt;EM&gt;myColumn &lt;/EM&gt;not&amp;nbsp;as variable, but as the column name "&lt;EM&gt;myColumn&lt;/EM&gt;". I need to have variable column name there so that I can call the function on any column. What is correct syntax to reference a column in a variable in "M" function? Failed to google find answer on the net.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Apr 2021 19:18:51 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/How-to-reference-table-column-as-variables-in-a-function/m-p/1804433#M53995</guid>
      <dc:creator>gvg</dc:creator>
      <dc:date>2021-04-25T19:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Good practice for splitting long text strings</title>
      <link>https://community.powerbi.com/t5/Power-Query/Good-practice-for-splitting-long-text-strings/m-p/1804395#M53994</link>
      <description>&lt;P&gt;Thanks, I wasn't able to implement this directly, but was able to pick up some methods.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Apr 2021 16:28:09 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Good-practice-for-splitting-long-text-strings/m-p/1804395#M53994</guid>
      <dc:creator>crossover</dc:creator>
      <dc:date>2021-04-25T16:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple datasources and connections on API</title>
      <link>https://community.powerbi.com/t5/Power-Query/Multiple-datasources-and-connections-on-API/m-p/1804394#M53993</link>
      <description>&lt;P&gt;Is it now possible to do it in April 2021 ?&lt;/P&gt;&lt;P&gt;Another question : Wich products have you found that makes it possible ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Apr 2021 16:27:29 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Multiple-datasources-and-connections-on-API/m-p/1804394#M53993</guid>
      <dc:creator>Jean-Christophe</dc:creator>
      <dc:date>2021-04-25T16:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Excel cell as input for parameter</title>
      <link>https://community.powerbi.com/t5/Power-Query/Excel-cell-as-input-for-parameter/m-p/1804390#M53992</link>
      <description>&lt;P&gt;hey,&amp;nbsp;&lt;/P&gt;&lt;P&gt;you need to convert the query column with the wanted parameter to list, go to tranform tab and select the wanted column as parameter and convert to list.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="StefanoGrimaldi_1-1619367516285.png" style="width: 400px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/501409iAE1962303DB8D5CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="StefanoGrimaldi_1-1619367516285.png" alt="StefanoGrimaldi_1-1619367516285.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if this helped please give some kudos and mark as solution for others to find&lt;/P&gt;</description>
      <pubDate>Sun, 25 Apr 2021 16:18:45 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Excel-cell-as-input-for-parameter/m-p/1804390#M53992</guid>
      <dc:creator>StefanoGrimaldi</dc:creator>
      <dc:date>2021-04-25T16:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to format a number column</title>
      <link>https://community.powerbi.com/t5/Power-Query/how-to-format-a-number-column/m-p/1804283#M53991</link>
      <description>&lt;P&gt;Ideally, you would use Custom Format Strings to do this, but it does not appear to work the same as Excel when adding a condition.&amp;nbsp; For example, this custom format string works in Excel but not in Power BI Desktop.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[&amp;lt;100000000]#,,.0"M";#,,,.0"B"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, you can write a DAX expression with an IF and the FORMAT function to get the same result.&amp;nbsp; Don't add this as a column to your table (since it returns text), but use it in a Measure once all your calculation is done to return the result in the desired format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mahoneypat_0-1619357684663.png" style="width: 400px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/501369i6BBC5A8BEAE81489/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mahoneypat_0-1619357684663.png" alt="mahoneypat_0-1619357684663.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NumberFormat&amp;nbsp;=&lt;BR /&gt;&lt;SPAN class="Keyword" style="color: #035aca;"&gt;VAR&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="Variable" style="color: #49b0af;"&gt;thisnumber&lt;/SPAN&gt;&amp;nbsp;=&lt;BR /&gt;&lt;SPAN class="indent4"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="Keyword" style="color: #035aca;"&gt;MIN&lt;/SPAN&gt;&lt;SPAN class="Parenthesis" style="color: #808080;"&gt;&amp;nbsp;(&lt;/SPAN&gt;&amp;nbsp;CustomNumber[Formatted]&amp;nbsp;&lt;SPAN class="Parenthesis" style="color: #808080;"&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="Keyword" style="color: #035aca;"&gt;RETURN&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="indent4"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="Keyword" style="color: #035aca;"&gt;IF&lt;/SPAN&gt;&lt;SPAN class="Parenthesis" style="color: #808080;"&gt;&amp;nbsp;(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="indent8"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="Variable" style="color: #49b0af;"&gt;thisnumber&lt;/SPAN&gt;&amp;nbsp;&amp;lt;&amp;nbsp;&lt;SPAN class="Number" style="color: #ee7f18;"&gt;1000000000&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN class="indent8"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="Keyword" style="color: #035aca;"&gt;FORMAT&lt;/SPAN&gt;&lt;SPAN class="Parenthesis" style="color: #808080;"&gt;&amp;nbsp;(&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="Variable" style="color: #49b0af;"&gt;thisnumber&lt;/SPAN&gt;,&amp;nbsp;&lt;SPAN class="StringLiteral" style="color: #d93124;"&gt;"###,,.0M"&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="Parenthesis" style="color: #808080;"&gt;)&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN class="indent8"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="Keyword" style="color: #035aca;"&gt;FORMAT&lt;/SPAN&gt;&lt;SPAN class="Parenthesis" style="color: #808080;"&gt;&amp;nbsp;(&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="Variable" style="color: #49b0af;"&gt;thisnumber&lt;/SPAN&gt;,&amp;nbsp;&lt;SPAN class="StringLiteral" style="color: #d93124;"&gt;"###,,,.0B"&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="Parenthesis" style="color: #808080;"&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="indent4"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="Parenthesis" style="color: #808080;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pat&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Apr 2021 13:35:04 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/how-to-format-a-number-column/m-p/1804283#M53991</guid>
      <dc:creator>mahoneypat</dc:creator>
      <dc:date>2021-04-25T13:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Convert the below dax to m query</title>
      <link>https://community.powerbi.com/t5/Power-Query/Convert-the-below-dax-to-m-query/m-p/1804191#M53990</link>
      <description>&lt;P&gt;&lt;LI-USER uid="259927"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You try the following formula as a new custom column in PQ:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;=if [Amount on Hold] &amp;lt;&amp;gt; null and Number.Round([Amount on Hold]+[AP],1) = 0 then  "Payments on Hold" else null&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Apr 2021 10:47:05 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Convert-the-below-dax-to-m-query/m-p/1804191#M53990</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2021-04-25T10:47:05Z</dc:date>
    </item>
    <item>
      <title>Convert the below dax to m query</title>
      <link>https://community.powerbi.com/t5/Power-Query/Convert-the-below-dax-to-m-query/m-p/1804109#M53989</link>
      <description>&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1nv4wk6uv8ZfN45kJzlyaBCKu5kYbKmtl/view?usp=sharing" target="_blank" rel="noopener"&gt;https://drive.google.com/file/d/1nv4wk6uv8ZfN45kJzlyaBCKu5kYbKmtl/view?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how to convert the below dax to m query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Flag PH = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;NOT (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ISBLANK ( 'Table A'[Amount on Hold] )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ROUND( ('Table A'[AP ] + 'Table A'[Amount on Hold]),1) = 0,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"Payments on Hold"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;I am fairly new to m query, can some one help with this.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Apr 2021 08:49:45 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Convert-the-below-dax-to-m-query/m-p/1804109#M53989</guid>
      <dc:creator>AnuTomy</dc:creator>
      <dc:date>2021-04-25T08:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Good practice for splitting long text strings</title>
      <link>https://community.powerbi.com/t5/Power-Query/Good-practice-for-splitting-long-text-strings/m-p/1804073#M53988</link>
      <description>&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="it" data-phrase-index="0"&gt;&lt;SPAN&gt;a version that takes into account, if I understand what you mean, the limit of 70 characters for the first three columns.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Apr 2021 05:12:02 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Good-practice-for-splitting-long-text-strings/m-p/1804073#M53988</guid>
      <dc:creator>Rocco_sprmnt21</dc:creator>
      <dc:date>2021-04-25T05:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Good practice for splitting long text strings</title>
      <link>https://community.powerbi.com/t5/Power-Query/Good-practice-for-splitting-long-text-strings/m-p/1804065#M53987</link>
      <description>&lt;P&gt;&lt;A href="https://docs.microsoft.com/it-it/powerquery-m/text-from" target="_self"&gt;here&lt;/A&gt; &lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="it" data-phrase-index="0"&gt;&lt;SPAN&gt;you can find all the functions available to act on the texts&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="it" data-phrase-index="0"&gt;&lt;SPAN&gt;I propose a draft resolution. See if it comes close to what you are looking for. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Apr 2021 05:03:54 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Good-practice-for-splitting-long-text-strings/m-p/1804065#M53987</guid>
      <dc:creator>Rocco_sprmnt21</dc:creator>
      <dc:date>2021-04-25T05:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Refresh With Data Flow And Power BI Per User</title>
      <link>https://community.powerbi.com/t5/Power-Query/Incremental-Refresh-With-Data-Flow-And-Power-BI-Per-User/m-p/1803955#M53986</link>
      <description>&lt;P&gt;hey, it should work fine for PPU lincence, but the dataflow need to be in a primiun asigned workspace to use that option on it,&amp;nbsp;&lt;/P&gt;&lt;P&gt;here you can get some documentation on it:&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-query/dataflows/incremental-refresh" target="_blank"&gt;https://docs.microsoft.com/en-us/power-query/dataflows/incremental-refresh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;if this helped give some kudos, and if solved your problem please mark as solved for others to find.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Apr 2021 00:52:33 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Incremental-Refresh-With-Data-Flow-And-Power-BI-Per-User/m-p/1803955#M53986</guid>
      <dc:creator>StefanoGrimaldi</dc:creator>
      <dc:date>2021-04-25T00:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Good practice for splitting long text strings</title>
      <link>https://community.powerbi.com/t5/Power-Query/Good-practice-for-splitting-long-text-strings/m-p/1803950#M53985</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try this.&lt;/P&gt;&lt;P&gt;I have added paramater &lt;EM&gt;NumOfChar &lt;/EM&gt;so you can input desired number of characters to split.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;let
Source = Excel.CurrentWorkbook(){[Name="Table2"]}[Content],
#"Added Custom" = Table.AddColumn(Source, "Custom", each Text.PositionOfAny([Column1],{" "},Occurrence.All
)),
Custom = #"Added Custom"{0}[Custom],
#"Converted to Table" = Table.FromList(Custom, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
#"Changed Type" = Table.TransformColumnTypes(#"Converted to Table",{{"Column1", Int64.Type}}),
#"SPLIT (parameter)" = Table.AddColumn(#"Changed Type", "Custom", each if [Column1] &amp;lt; NumOfCh then 0
else if ([Column1] &amp;gt;= NumOfCh and [Column1] &amp;lt; NumOfCh*2) then 1
else if ([Column1] &amp;gt;= NumOfCh*2 and [Column1] &amp;lt; NumOfCh*3) then 2
else if [Column1] &amp;gt;= NumOfCh*3 then 3 else null),
#"Grouped Rows" = Table.Group(#"SPLIT (parameter)", {"Custom"}, {{"Gr", each _, type table [Column1=nullable number, Custom=number]}}),
#"Added Custom2" = Table.AddColumn(#"Grouped Rows", "Custom.1", each Table.AddIndexColumn([Gr], "Index")),
#"Added Custom3" = Table.AddColumn(#"Added Custom2", "Position", each [Gr][Column1]{0}),
#"Removed Columns" = Table.RemoveColumns(#"Added Custom3",{"Custom", "Gr", "Custom.1"}),
Positions = List.Combine ({{0}, List.RemoveFirstN(#"Removed Columns"[Position], 1)}),
FINAL = Table.SplitColumn(Source, "Column1", Splitter.SplitTextByPositions(Positions) )
in
FINAL&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jakinta_0-1619312155889.png" style="width: 400px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/501274iDC058272AFC9D89D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jakinta_0-1619312155889.png" alt="Jakinta_0-1619312155889.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Apr 2021 00:56:07 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Good-practice-for-splitting-long-text-strings/m-p/1803950#M53985</guid>
      <dc:creator>Jakinta</dc:creator>
      <dc:date>2021-04-25T00:56:07Z</dc:date>
    </item>
    <item>
      <title>Good practice for splitting long text strings</title>
      <link>https://community.powerbi.com/t5/Power-Query/Good-practice-for-splitting-long-text-strings/m-p/1803890#M53984</link>
      <description>&lt;P&gt;I have a column [text1] with strings of various lenghts anywhere between 10 to 300+ characters. I need to break this text down to 4 columns - knowing that a single column fits up to 70 characters and line breaking should be done nicely with a space (e.g. not to break up words - this is where my M gets annoyingly extensive). The fourth column can contain whatever is left from the broken down string.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While I can eventually get it done, the reality is that I have 2 columns that need this and my M syntax got really long and I wanted to check if there's a better alternative to Split column at 70 characters + split again at right-most space and do A LOT of replacing and custom columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there some good practice or M text manipulation functions that are well suited for this task? A minor example below of the expected outcome by splitting up to 20 characters per column. Any relevant blog posts or M functions that might be useful in this case? No good hits so far when googling around aside of basic split-by-delimiter stuff. Feels like someone must have surely tackled this issue before...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="split.png" style="width: 885px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/501246iBC6CE15A9C0504F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="split.png" alt="split.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Apr 2021 19:45:40 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Good-practice-for-splitting-long-text-strings/m-p/1803890#M53984</guid>
      <dc:creator>crossover</dc:creator>
      <dc:date>2021-04-24T19:45:40Z</dc:date>
    </item>
    <item>
      <title>Incremental Refresh With Data Flow And Power BI Per User</title>
      <link>https://community.powerbi.com/t5/Power-Query/Incremental-Refresh-With-Data-Flow-And-Power-BI-Per-User/m-p/1803882#M53983</link>
      <description>&lt;P&gt;Can you help me&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did a conection with data flow to SQL Server and i want to create incremental refresh&amp;nbsp; but&amp;nbsp; i have Power Bi Per User&amp;nbsp;&lt;BR /&gt;My cuestion is, i need Power BI Premium&amp;nbsp; for create incremental refresh?&lt;BR /&gt;With Power BI Per User I can not use incremental refresh, Why?&lt;/P&gt;</description>
      <pubDate>Sat, 24 Apr 2021 19:13:15 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Incremental-Refresh-With-Data-Flow-And-Power-BI-Per-User/m-p/1803882#M53983</guid>
      <dc:creator>JoswinPowerBi</dc:creator>
      <dc:date>2021-04-24T19:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Data maniplulation after grouping</title>
      <link>https://community.powerbi.com/t5/Power-Query/Data-maniplulation-after-grouping/m-p/1803873#M53982</link>
      <description>&lt;P&gt;Perfect. Thanks for your time on that. I think I understand the syntax of the solution apart from the "_". If you have a moment could you explain what that is up to or point me towards the documentation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;</description>
      <pubDate>Sat, 24 Apr 2021 18:53:50 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Data-maniplulation-after-grouping/m-p/1803873#M53982</guid>
      <dc:creator>DDON</dc:creator>
      <dc:date>2021-04-24T18:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Filter multiple sheets with different data by the filename</title>
      <link>https://community.powerbi.com/t5/Power-Query/Filter-multiple-sheets-with-different-data-by-the-filename/m-p/1803854#M53981</link>
      <description>&lt;P&gt;Thanks Downy. I know that much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to be able to filter the different sheets in the report by the date of the files they come from. There is no date columns in the files, so there is no relationship between the different sheets and files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know what I mean?&lt;/P&gt;</description>
      <pubDate>Sat, 24 Apr 2021 17:27:31 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Filter-multiple-sheets-with-different-data-by-the-filename/m-p/1803854#M53981</guid>
      <dc:creator>klausvm</dc:creator>
      <dc:date>2021-04-24T17:27:31Z</dc:date>
    </item>
    <item>
      <title>Excel cell as input for parameter</title>
      <link>https://community.powerbi.com/t5/Power-Query/Excel-cell-as-input-for-parameter/m-p/1803846#M53980</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to set up a parameter in Power Query based on an Excel named cell called YTD_date. The reason I'm using a parameter is because this one can be used to add a conditional column to my dataset. This is what I've done up so far:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Added the cell to PowerQuery:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;let&lt;BR /&gt;Source = Excel.CurrentWorkbook(){[Name="YTD_date"]}[Content],&lt;BR /&gt;#"Promoted Headers" = Table.PromoteHeaders(Source, [PromoteAllScalars=true]),&lt;BR /&gt;#"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"31-12-2021", type date}})&lt;BR /&gt;in&lt;BR /&gt;#"Changed Type"&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I want to setup the Parameter but it doens't allow me to select the query, any idea why? When creating a new query it's shown but not giving the excel balue. Is this the right way or would there be an easier solution to fix this? I just want to use an input cell to use in a conditional column to calculate the amounts YTD on record level, I don't want to filter rows based on this cell-value because I need the other rows as well.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Apr 2021 16:52:23 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Excel-cell-as-input-for-parameter/m-p/1803846#M53980</guid>
      <dc:creator>Tom83</dc:creator>
      <dc:date>2021-04-24T16:52:23Z</dc:date>
    </item>
    <item>
      <title>Revenue Recognition Automation</title>
      <link>https://community.powerbi.com/t5/Power-Query/Revenue-Recognition-Automation/m-p/1803754#M53979</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have hit a wall with this one and need help from the community.&lt;/P&gt;&lt;P&gt;Example file here: &lt;A href="https://drive.google.com/file/d/17mOH9IoM2y_l89wcaN04KdSED5wLo695/view?usp=sharing" target="_blank"&gt;https://drive.google.com/file/d/17mOH9IoM2y_l89wcaN04KdSED5wLo695/view?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The idea is generally simple: once you ship a certain quantity of goods, not all are immediately recognized as sales. Some are in transit for the current month and some are recognized in the current month (which were in transit in previous months).&lt;/P&gt;&lt;P&gt;What is needed&amp;nbsp; is that based on the available fact and dimension tables to:&lt;/P&gt;&lt;P&gt;- &lt;U&gt;where I am stuck:&lt;/U&gt; get the final quantity sold per period (shipped - in transit + recognized as sales)&lt;/P&gt;&lt;P&gt;- &lt;U&gt;next step if possible:&lt;/U&gt; get the final revenue per period. Revenue of shipped - revenue in transit (based on the average per unit x quantity in transit) + revenue recognized (based on the average per unit x quantity recognized)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why am I stuck on step 1:&lt;/P&gt;&lt;P&gt;-I got to a point where I get a certain quantity but since it is based on the fact table data, if there are sales in transit from previous periods (such as CC 62037, which was in transit end 2019 and sold in Jan 2020), it does not appear in my list&lt;/P&gt;&lt;P&gt;- the solution I see is to add to my formula for Final_Volumes also the volumes of CCs not in the fact table list but in the SiT list&lt;/P&gt;&lt;P&gt;- However, both lists contain duplicate values and I cannot do it&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The end result for January in this example is Final Volumes of 404,742:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChavdarG_0-1619266671829.png" style="width: 365px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/501200iE4F87C6CA63A6935/image-dimensions/365x649?v=v2" width="365" height="649" role="button" title="ChavdarG_0-1619266671829.png" alt="ChavdarG_0-1619266671829.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'd also accept recommendation of different data modelling, if more optimal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if further clarifications are needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Chavdar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Apr 2021 12:19:01 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Revenue-Recognition-Automation/m-p/1803754#M53979</guid>
      <dc:creator>ChavdarG</dc:creator>
      <dc:date>2021-04-24T12:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Filter multiple sheets with different data by the filename</title>
      <link>https://community.powerbi.com/t5/Power-Query/Filter-multiple-sheets-with-different-data-by-the-filename/m-p/1803753#M53978</link>
      <description>&lt;P&gt;&lt;LI-USER uid="244602"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;When you use Get Data &amp;gt; Folder option to import multiple files, you get the following screen which allows you to filter the files on the dates you require.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fowmy_0-1619266675511.png" style="width: 400px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/501201i5A6AE33E8EF668CF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Fowmy_0-1619266675511.png" alt="Fowmy_0-1619266675511.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Apr 2021 12:18:04 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Filter-multiple-sheets-with-different-data-by-the-filename/m-p/1803753#M53978</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2021-04-24T12:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Data maniplulation after grouping</title>
      <link>https://community.powerbi.com/t5/Power-Query/Data-maniplulation-after-grouping/m-p/1803726#M53977</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 888px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/501192i6879C302A358F7C9/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try using this M-expression&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/501190i7B9D1772EF926BB7/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then expand column records:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 942px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/501191iA88F227499CA2984/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Apr 2021 11:44:59 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Data-maniplulation-after-grouping/m-p/1803726#M53977</guid>
      <dc:creator>Rocco_sprmnt21</dc:creator>
      <dc:date>2021-04-24T11:44:59Z</dc:date>
    </item>
    <item>
      <title>Filter multiple sheets with different data by the filename</title>
      <link>https://community.powerbi.com/t5/Power-Query/Filter-multiple-sheets-with-different-data-by-the-filename/m-p/1803646#M53976</link>
      <description>&lt;P&gt;Hi there&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm wondering if its possible to load a bunch of Excel files from a folder and filter them by the date created (or the date thats part of the file name).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All the Excel files are the same, but they contain multiple sheets with different columns. Not one sheet is the same in each file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I would be like to add the different sheets to the report and use the date from the file names to filter the data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this doable?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks alot in advance,&lt;/P&gt;&lt;P&gt;Klaus&lt;/P&gt;</description>
      <pubDate>Sat, 24 Apr 2021 09:00:29 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Filter-multiple-sheets-with-different-data-by-the-filename/m-p/1803646#M53976</guid>
      <dc:creator>klausvm</dc:creator>
      <dc:date>2021-04-24T09:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Data maniplulation after grouping</title>
      <link>https://community.powerbi.com/t5/Power-Query/Data-maniplulation-after-grouping/m-p/1803596#M53975</link>
      <description>&lt;P&gt;Thanks for your reply, as far as I can tell the Group GUI only allows operations on one column. In scenario 1 I am not really interested in the max of R but which V is on the same row as th max of R.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry if I am missing something in your reply&lt;/P&gt;</description>
      <pubDate>Sat, 24 Apr 2021 06:11:48 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Data-maniplulation-after-grouping/m-p/1803596#M53975</guid>
      <dc:creator>DDON</dc:creator>
      <dc:date>2021-04-24T06:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Data maniplulation after grouping</title>
      <link>https://community.powerbi.com/t5/Power-Query/Data-maniplulation-after-grouping/m-p/1803577#M53974</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 681px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/501145iBD1CB13F3F9C53B9/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you should group by on key using UI (for example) in this way:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/501144i2F3CBDC39CA0E00E/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Apr 2021 05:36:32 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Data-maniplulation-after-grouping/m-p/1803577#M53974</guid>
      <dc:creator>Rocco_sprmnt21</dc:creator>
      <dc:date>2021-04-24T05:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a custom values from a grouped table?</title>
      <link>https://community.powerbi.com/t5/Power-Query/How-to-get-a-custom-values-from-a-grouped-table/m-p/1803506#M53973</link>
      <description>&lt;P&gt;Before grouping by city, you could add a custom column of 1 for if ends with"X" and 0 for if ends with "Y". The when you group, use the sum aggregation for the number column. If the grouped number column is &amp;gt; 0 then "With Partners" else "Prospects".&lt;/P&gt;&lt;P&gt;So before grouping:&lt;/P&gt;&lt;P&gt;WithOrWithout = Table.AddColumn(TableName, "Partners", each if Text.EndsWith([Data], "X") then 1 else 0, type number))&lt;/P&gt;&lt;P&gt;Then group on City, and use Sum to add the Partners column. Then you can add a Status column:&lt;/P&gt;&lt;P&gt;Table.AddColumn(GroupedTable, "Status", each if [Partners] &amp;gt; 0 then "With Partners" else "Prospects")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That should work!&lt;/P&gt;&lt;P&gt;--Nate&lt;/P&gt;</description>
      <pubDate>Sat, 24 Apr 2021 01:13:29 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/How-to-get-a-custom-values-from-a-grouped-table/m-p/1803506#M53973</guid>
      <dc:creator>watkinnc</dc:creator>
      <dc:date>2021-04-24T01:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to format a number column</title>
      <link>https://community.powerbi.com/t5/Power-Query/how-to-format-a-number-column/m-p/1803476#M53972</link>
      <description>&lt;P&gt;I bet Column From Examples would tackle that with ease...&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 22:56:24 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/how-to-format-a-number-column/m-p/1803476#M53972</guid>
      <dc:creator>watkinnc</dc:creator>
      <dc:date>2021-04-23T22:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic column choice if null for index needed</title>
      <link>https://community.powerbi.com/t5/Power-Query/Dynamic-column-choice-if-null-for-index-needed/m-p/1803465#M53971</link>
      <description>&lt;P&gt;You can use the null coalescing operator:&lt;/P&gt;&lt;P&gt;Table.AddColumn(TableName, "Index", each [Column1]??[Column2]??[Column3]??[Column4]??"Default Value")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which is if Column1 =null then Column2 unless Column 2 is null then Column3 unless Column3 is null then Column4 unless Column4 is null then use Default Value.&lt;/P&gt;&lt;P&gt;--Nate&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 22:39:08 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Dynamic-column-choice-if-null-for-index-needed/m-p/1803465#M53971</guid>
      <dc:creator>watkinnc</dc:creator>
      <dc:date>2021-04-23T22:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Seeing my database's structure with Power Query</title>
      <link>https://community.powerbi.com/t5/Power-Query/Seeing-my-database-s-structure-with-Power-Query/m-p/1803454#M53970</link>
      <description>&lt;P&gt;I would add a column of the column names of each table in the dB. PQ is actually THE BEST way to get an idea of what's in the database. Once you have your list of Db tables:&lt;/P&gt;&lt;P&gt;NewColumn = Table.AddColumn(LastStepName, "Columns", each Table.ColumnNames(_[DataTableName]))&lt;/P&gt;&lt;P&gt;This will list the columns in each table, right next to its table name. When I was new, I did this all the time.&lt;/P&gt;&lt;P&gt;--Nate&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 22:27:36 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Seeing-my-database-s-structure-with-Power-Query/m-p/1803454#M53970</guid>
      <dc:creator>watkinnc</dc:creator>
      <dc:date>2021-04-23T22:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help on Date Format conversion</title>
      <link>https://community.powerbi.com/t5/Power-Query/Help-on-Date-Format-conversion/m-p/1803453#M53969</link>
      <description>&lt;P&gt;You need to convert the Date Column to Date format before doing Date.ToText. Right now it looks like you are performing a Date Operation on a text column.&amp;nbsp;&lt;BR /&gt;--Nate&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 22:18:36 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Help-on-Date-Format-conversion/m-p/1803453#M53969</guid>
      <dc:creator>watkinnc</dc:creator>
      <dc:date>2021-04-23T22:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Data maniplulation after grouping</title>
      <link>https://community.powerbi.com/t5/Power-Query/Data-maniplulation-after-grouping/m-p/1803450#M53968</link>
      <description>&lt;P&gt;You can just add a MAX operation on the Value column right from the Group function GUI. Also add an All Rows column. That should give you what you are looking for. You'll have what you need to then add the average column.&lt;/P&gt;&lt;P&gt;--Nate&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 22:12:22 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Data-maniplulation-after-grouping/m-p/1803450#M53968</guid>
      <dc:creator>watkinnc</dc:creator>
      <dc:date>2021-04-23T22:12:22Z</dc:date>
    </item>
    <item>
      <title>Data maniplulation after grouping</title>
      <link>https://community.powerbi.com/t5/Power-Query/Data-maniplulation-after-grouping/m-p/1803399#M53967</link>
      <description>&lt;P&gt;Happy Friday!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to extract data specific for each group from one column in a table based on finding the maximum value in another column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following setup&lt;/P&gt;&lt;P&gt;Key = column by which data is to be grouped&lt;/P&gt;&lt;P&gt;Reference = The column I wish to use to identify/manipulate data&lt;/P&gt;&lt;P&gt;Value = The values I want to output&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DDON_1-1619207372330.png" style="width: 400px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/501071i2637B86D2FD8503F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DDON_1-1619207372330.png" alt="DDON_1-1619207372330.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Scenario 1&lt;/U&gt;&lt;/P&gt;&lt;P&gt;I wish to find the corresponding value for the maximum reference within a group:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DDON_0-1619207305836.png" style="width: 400px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/501069iE0F342B718ACCC7D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DDON_0-1619207305836.png" alt="DDON_0-1619207305836.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Scenario 2&lt;BR /&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;(I may be pushing my luck here!)&lt;/P&gt;&lt;P&gt;I wish use the numbers in the Reference column to perform an operation upon the value column - here it is Average(Reference x Value). I am less fussed about the exact formulation here but the method I can apply&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DDON_2-1619208009017.png" style="width: 400px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/501079i8E4A70D7720991B4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DDON_2-1619208009017.png" alt="DDON_2-1619208009017.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would be hugely greatful for any ideas/solutions&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 20:04:23 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Data-maniplulation-after-grouping/m-p/1803399#M53967</guid>
      <dc:creator>DDON</dc:creator>
      <dc:date>2021-04-23T20:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: box.com</title>
      <link>https://community.powerbi.com/t5/Power-Query/box-com/m-p/1803182#M53966</link>
      <description>&lt;P&gt;Still same error as of today 4/23.&amp;nbsp;Details: "The downloaded data is HTML, which isn't the expected type. The URL may be wrong or you might not have provided the right credentials to the server."&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 16:51:51 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/box-com/m-p/1803182#M53966</guid>
      <dc:creator>YunNC</dc:creator>
      <dc:date>2021-04-23T16:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Per Unit Number when Sold Totals are within Data Field</title>
      <link>https://community.powerbi.com/t5/Power-Query/Calculate-Per-Unit-Number-when-Sold-Totals-are-within-Data-Field/m-p/1803122#M53965</link>
      <description>&lt;P&gt;Unfortunately, that is not what I'm looking for. I have the P&amp;amp;L built in the format we want, with revenues, expenses, etc. I need to find a way to pull out the Volume from the data, and then divide the revenues/expenses by that total volume number. Any thoughts on how to do that?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 16:09:33 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Calculate-Per-Unit-Number-when-Sold-Totals-are-within-Data-Field/m-p/1803122#M53965</guid>
      <dc:creator>triaa21</dc:creator>
      <dc:date>2021-04-23T16:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help on Date Format conversion</title>
      <link>https://community.powerbi.com/t5/Power-Query/Help-on-Date-Format-conversion/m-p/1803073#M53964</link>
      <description>&lt;P&gt;Unfortunately...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ovetteabejuela_0-1619191943513.png" style="width: 400px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/500969i3667473C5BDB3608/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ovetteabejuela_0-1619191943513.png" alt="ovetteabejuela_0-1619191943513.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and my Regional settings is fine:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ovetteabejuela_1-1619192006114.png" style="width: 400px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/500972i6995484AD187E23B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ovetteabejuela_1-1619192006114.png" alt="ovetteabejuela_1-1619192006114.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 15:46:00 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Help-on-Date-Format-conversion/m-p/1803073#M53964</guid>
      <dc:creator>ovetteabejuela</dc:creator>
      <dc:date>2021-04-23T15:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Per Unit Number when Sold Totals are within Data Field</title>
      <link>https://community.powerbi.com/t5/Power-Query/Calculate-Per-Unit-Number-when-Sold-Totals-are-within-Data-Field/m-p/1803058#M53963</link>
      <description>&lt;P&gt;Maybe this would help:&amp;nbsp;&lt;A href="https://youtu.be/IGCIsCC5iXQ" target="_blank"&gt;https://youtu.be/IGCIsCC5iXQ&lt;/A&gt;?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 15:29:41 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Calculate-Per-Unit-Number-when-Sold-Totals-are-within-Data-Field/m-p/1803058#M53963</guid>
      <dc:creator>daxer</dc:creator>
      <dc:date>2021-04-23T15:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Connect online CSV that automatically downloads to computer. No link available.</title>
      <link>https://community.powerbi.com/t5/Power-Query/Connect-online-CSV-that-automatically-downloads-to-computer-No/m-p/1803055#M53962</link>
      <description>&lt;P&gt;The file you're talking about comes from "blob:&lt;A href="https://directory.house.gov/6a0927c6-7952-4518-b81b-968711192bc8" target="_blank" rel="noopener"&gt;https://directory.house.gov/6a0927c6-7952-4518-b81b-968711192bc8&lt;/A&gt;". No way to get a direct link to it. Sorry. But I guess you could use a bit of Python (straight from Power Query) to download the file and then load it in.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 15:26:09 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Connect-online-CSV-that-automatically-downloads-to-computer-No/m-p/1803055#M53962</guid>
      <dc:creator>daxer</dc:creator>
      <dc:date>2021-04-23T15:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect syntax near the keyword 'SET'. Incorrect syntax near ')'</title>
      <link>https://community.powerbi.com/t5/Power-Query/Incorrect-syntax-near-the-keyword-SET-Incorrect-syntax-near/m-p/1803047#M53961</link>
      <description>&lt;P&gt;&lt;LI-USER uid="297496"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why "set quoted identifier off"? Why "OPENQUERY"? Why not get the data directly from SQL Server? If you really need to use such a long-winded way... why not try to use EXEC AT?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 15:19:05 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Incorrect-syntax-near-the-keyword-SET-Incorrect-syntax-near/m-p/1803047#M53961</guid>
      <dc:creator>daxer</dc:creator>
      <dc:date>2021-04-23T15:19:05Z</dc:date>
    </item>
    <item>
      <title>Cleaning Data</title>
      <link>https://community.powerbi.com/t5/Power-Query/Cleaning-Data/m-p/1803022#M53959</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking to reshape some messy data from a PDF table as in the example below, to create the table below that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can perform this transition (i think) with many, many, many applied steps. Though if there are specific techniques that produce a more efficient solution I would be keen to see them, or if anyone knows of any resources online that I can research into this I would be keen to upskill.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Header 1&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Header 2&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Header 3&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Fact 1 Value 1&lt;/TD&gt;&lt;TD&gt;Fact 2 Value 1&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Fact 3 Value 1&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Header 4&lt;/TD&gt;&lt;TD&gt;Fact 4 Value 1&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Header 5&lt;/TD&gt;&lt;TD&gt;Fact 5 Value 1&lt;/TD&gt;&lt;TD&gt;Header 6&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Fact 6 Value 1&lt;/TD&gt;&lt;TD&gt;Header 7&lt;/TD&gt;&lt;TD&gt;Fact 7 Value 1&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Header 1&lt;/TD&gt;&lt;TD&gt;Header 2&lt;/TD&gt;&lt;TD&gt;Header 3&lt;/TD&gt;&lt;TD&gt;Header 4&lt;/TD&gt;&lt;TD&gt;Header 5&lt;/TD&gt;&lt;TD&gt;Header 6&lt;/TD&gt;&lt;TD&gt;Header 7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Fact 1 Value&lt;/TD&gt;&lt;TD&gt;Fact 2 Value&lt;/TD&gt;&lt;TD&gt;Fact 3 Value&lt;/TD&gt;&lt;TD&gt;Fact 4 Value&lt;/TD&gt;&lt;TD&gt;Fact 5 Value&lt;/TD&gt;&lt;TD&gt;Fact 6 Value&lt;/TD&gt;&lt;TD&gt;Fact 7 Value&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Tom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 15:07:20 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Cleaning-Data/m-p/1803022#M53959</guid>
      <dc:creator>tomshaw83</dc:creator>
      <dc:date>2021-04-23T15:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a custom values from a grouped table?</title>
      <link>https://community.powerbi.com/t5/Power-Query/How-to-get-a-custom-values-from-a-grouped-table/m-p/1803015#M53958</link>
      <description>&lt;P&gt;Hi &lt;LI-USER uid="92178"&gt;&lt;/LI-USER&gt;&amp;nbsp;, I really appreciate your help, but I didn't specified the table in a right way. Sorry about that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My goal is to create a slicer that can show cities that have companies using my product and cities that don't have.&lt;/P&gt;&lt;P&gt;The best way to do this is matching two columns from a factual table: a column of Cities and a column of companies that already use my product and companies that could use it classified as "prospect" and "partner". Like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Sem título.png" style="width: 195px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/500947iFDED4E13C138E10A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Sem título.png" alt="Sem título.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This way, I have to create a dimension table with a column where:&lt;/P&gt;&lt;P&gt;- If the city has partners, I would like to show something like "with partners" or "True";&lt;/P&gt;&lt;P&gt;- And if the city has just prospects, show "without partners yet" or "False"...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To get a table with unique values:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Sem título2.jpg" style="width: 256px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/500968iCCDB8488E3543BCA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Sem título2.jpg" alt="Sem título2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After a grouped by city code and city, it appeared a column with a table in each row and after that I couldn't get the "city with" column. Is Group By the best way to get this table with unique values?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to adapt&amp;nbsp;your script, but it didn't worked. Is there another way to do this?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 15:19:54 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/How-to-get-a-custom-values-from-a-grouped-table/m-p/1803015#M53958</guid>
      <dc:creator>massotebernoull</dc:creator>
      <dc:date>2021-04-23T15:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Split up addresses</title>
      <link>https://community.powerbi.com/t5/Power-Query/Split-up-addresses/m-p/1802976#M53956</link>
      <description>&lt;P&gt;sorry, to make this more complaicated some address have 5 rows!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the postcode seem to be consitantly in captials if this is any help&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 14:48:56 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Split-up-addresses/m-p/1802976#M53956</guid>
      <dc:creator>NewbieJono</dc:creator>
      <dc:date>2021-04-23T14:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Split up addresses</title>
      <link>https://community.powerbi.com/t5/Power-Query/Split-up-addresses/m-p/1802965#M53955</link>
      <description>&lt;P&gt;&lt;LI-USER uid="292993"&gt;&lt;/LI-USER&gt;&amp;nbsp;, simple enough as every complete address consists of 4 rows,&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WckxJKUotLlbIycxLVTBUitVBEzICC4Xkl+eBGcGJloYFKZjKaKmzIL+4JDk/JVUpNhYA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Address = _t]),
    Custom1 = Table.FromRows(List.Split(Source[Address],4))
in
    Custom1&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-04-23 163853.png" style="width: 400px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/500933iB2343CC95CA86B84/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2021-04-23 163853.png" alt="Screenshot 2021-04-23 163853.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 14:39:12 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Split-up-addresses/m-p/1802965#M53955</guid>
      <dc:creator>CNENFRNL</dc:creator>
      <dc:date>2021-04-23T14:39:12Z</dc:date>
    </item>
    <item>
      <title>Split up addresses</title>
      <link>https://community.powerbi.com/t5/Power-Query/Split-up-addresses/m-p/1802888#M53954</link>
      <description>&lt;P&gt;i have a list of address in excel in this format&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Address line 1&lt;/P&gt;&lt;P&gt;Address line 2&lt;/P&gt;&lt;P&gt;Town&lt;/P&gt;&lt;P&gt;Sa91pd&lt;/P&gt;&lt;P&gt;Address line 1&lt;/P&gt;&lt;P&gt;Address line 2&lt;/P&gt;&lt;P&gt;Town&lt;/P&gt;&lt;P&gt;Sa91pd&lt;/P&gt;&lt;P&gt;Address line 1&lt;/P&gt;&lt;P&gt;Address line 2&lt;/P&gt;&lt;P&gt;Town&lt;/P&gt;&lt;P&gt;postcode&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the list is all in one coloumn and has multiple address. is there a method to have each address on one line with mutiple coloumns?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 14:03:50 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Split-up-addresses/m-p/1802888#M53954</guid>
      <dc:creator>NewbieJono</dc:creator>
      <dc:date>2021-04-23T14:03:50Z</dc:date>
    </item>
    <item>
      <title>Query Dynamics CRM PartyList</title>
      <link>https://community.powerbi.com/t5/Power-Query/Query-Dynamics-CRM-PartyList/m-p/1802768#M53953</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone has experience with getting data from Dynamics CRM from PartyList type fields? I try to get phone call information into power bi but i can't get the data from the To and From field because these are PartyList fields.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the query i use and it works but it only returns Null values for these fields.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gerald23_0-1619182845610.png" style="width: 400px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/500865iA6B74DF91306F47A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Gerald23_0-1619182845610.png" alt="Gerald23_0-1619182845610.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;let
    GetResults = (z as text, x as number) =&amp;gt;
        let
            S = Json.Document(Web.Contents(ServiceRootURL, [RelativePath="/phonecalls", Headers=[Prefer="odata.include-annotations=*"],Query=[fetchXml="
			&amp;lt;fetch  distinct=""True"" page=""" &amp;amp; Text.From(x) &amp;amp; """ paging-cookie=""" &amp;amp; z &amp;amp; """&amp;gt;
				&amp;lt;entity name=""phonecall""&amp;gt;                                   &amp;lt;all-attributes /&amp;gt;
                    
                    
&amp;lt;link-entity name=""activityparty"" from=""activityid"" to=""activityid"" link-type=""inner"" alias=""ad""&amp;gt;&amp;lt;filter type=""and""&amp;gt;&amp;lt;condition attribute=""participationtypemask"" operator=""in""&amp;gt;&amp;lt;value&amp;gt;1&amp;lt;/value&amp;gt;&amp;lt;value&amp;gt;2&amp;lt;/value&amp;gt;&amp;lt;/condition&amp;gt;&amp;lt;/filter&amp;gt;&amp;lt;/link-entity&amp;gt;
				&amp;lt;/entity&amp;gt;
			&amp;lt;/fetch&amp;gt;"]])),
            P = try Xml.Document(S[#"@Microsoft.Dynamics.CRM.fetchxmlpagingcookie"]) otherwise null,
            R = if P &amp;lt;&amp;gt; null 
                then List.Combine({S[value],@GetResults(Text.Replace(Text.Replace(Text.Replace(Uri.Parts("http://a.b?d=" &amp;amp; Uri.Parts("http://a.b?d=" &amp;amp; P{0}[Attributes]{1}[Value])[Query][d])[Query][d], "&amp;gt;", "&amp;amp;gt;"), "&amp;lt;", "&amp;amp;lt;"), """", "&amp;amp;quot;"), x + 1)})
                else S[value]
        in
            R,
    ResultsList = GetResults("", 1),
    ResultsTable = if List.IsEmpty(ResultsList) 
                    then #table(
                                    type table[                                             #"Subject"= text,
                                            #"Activity Status (statecode)"= text,
                                            #"Activity Status"= text,
                                            #"Priority (prioritycode)"= text,
                                            #"Priority"= text,
                                            #"Due"= text,
                                            #"Created By (createdby)"= text,
                                            #"Created By"= text,
                                            #"Regarding (regardingobjectid)"= text,
                                            #"Regarding"= text,
                                            #"activityid"= text,
                                            #"Call To (to)"= text,
                                            #"Call To"= text,
                                            #"Call From (from)"= text,
                                            #"Call From"= text  ],{})
                    else #"Converted to Table",
	#"Converted to Table" = Table.FromList(ResultsList, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
#"Expanded Column1" = Table.ExpandRecordColumn(#"Converted to Table", "Column1", 
                                        {
                                            "subject",
                                            "statecode",
                                            "statecode@OData.Community.Display.V1.FormattedValue",
                                            "prioritycode",
                                            "prioritycode@OData.Community.Display.V1.FormattedValue",
                                            "scheduledend@OData.Community.Display.V1.FormattedValue",
                                            "_createdby_value",
                                            "_createdby_value@OData.Community.Display.V1.FormattedValue",
                                            "_regardingobjectid_value",
                                            "_regardingobjectid_value@OData.Community.Display.V1.FormattedValue",
                                            "activityid",
                                            "_to_value",
                                            "_to_value@OData.Community.Display.V1.FormattedValue",
                                            "_from_value",
                                            "_from_value@OData.Community.Display.V1.FormattedValue"
                                        }, 

                                        {
                                            "subject",
                                            "statecode",
                                            "statecode@OData.Community.Display.V1.FormattedValue",
                                            "prioritycode",
                                            "prioritycode@OData.Community.Display.V1.FormattedValue",
                                            "scheduledend@OData.Community.Display.V1.FormattedValue",
                                            "_createdby_value",
                                            "_createdby_value@OData.Community.Display.V1.FormattedValue",
                                            "_regardingobjectid_value",
                                            "_regardingobjectid_value@OData.Community.Display.V1.FormattedValue",
                                            "activityid",
                                            "_to_value",
                                            "_to_value@OData.Community.Display.V1.FormattedValue",
                                            "_from_value",
                                            "_from_value@OData.Community.Display.V1.FormattedValue"
                                        }),
    #"Renamed Columns" = Table.RenameColumns(#"Expanded Column1",
                                        {
                                            {"subject", "Subject"},
                                            {"statecode", "Activity Status (statecode)"},
                                            {"statecode@OData.Community.Display.V1.FormattedValue", "Activity Status"},
                                            {"prioritycode", "Priority (prioritycode)"},
                                            {"prioritycode@OData.Community.Display.V1.FormattedValue", "Priority"},
                                            {"scheduledend@OData.Community.Display.V1.FormattedValue", "Due"},
                                            {"_createdby_value", "Created By (createdby)"},
                                            {"_createdby_value@OData.Community.Display.V1.FormattedValue", "Created By"},
                                            {"_regardingobjectid_value", "Regarding (regardingobjectid)"},
                                            {"_regardingobjectid_value@OData.Community.Display.V1.FormattedValue", "Regarding"},
                                            {"activityid", "activityid"},
                                            {"_to_value", "Call To (to)"},
                                            {"_to_value@OData.Community.Display.V1.FormattedValue", "Call To"},
                                            {"_from_value", "Call From (from)"},
                                            {"_from_value@OData.Community.Display.V1.FormattedValue", "Call From"}
                                        }),
    #"Changed Type" = Table.TransformColumnTypes(#"Renamed Columns",
{
                                            {"Subject", type text},
                                            {"Activity Status (statecode)", type text},
                                            {"Activity Status", type text},
                                            {"Priority (prioritycode)", type text},
                                            {"Priority", type text},
                                            {"Due", type datetime},
                                            {"Created By (createdby)", type text},
                                            {"Created By", type text},
                                            {"Regarding (regardingobjectid)", type text},
                                            {"Regarding", type text},
                                            {"activityid", type text},
                                            {"Call To (to)", type text},
                                            {"Call To", type text},
                                            {"Call From (from)", type text},
                                            {"Call From", type text}
})
,
#"Result" = if List.IsEmpty(ResultsList) 
                then ResultsTable
                    else #"Changed Type"
in
    #"Result"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 13:02:16 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Query-Dynamics-CRM-PartyList/m-p/1802768#M53953</guid>
      <dc:creator>Gerald23</dc:creator>
      <dc:date>2021-04-23T13:02:16Z</dc:date>
    </item>
    <item>
      <title>RLS on database level with Direct Query</title>
      <link>https://community.powerbi.com/t5/Power-Query/RLS-on-database-level-with-Direct-Query/m-p/1802739#M53952</link>
      <description>&lt;P&gt;Here is the scenario.&lt;BR /&gt;Source: Teradata&amp;nbsp;&lt;BR /&gt;Connection mode in Power BI: Direct&lt;BR /&gt;Requirement: Identify the user logged in, by USERPRINCIPALNAME() function and pass its value to the direct query, in order to filter the data.&lt;/P&gt;&lt;P&gt;Ideal solution: Pass the value of measure User_Id = USERPRINCIPALNAME() to Power Query parameter, so that it would go to my WHERE clause as a parameter and filter the data.&lt;/P&gt;&lt;P&gt;So far, I did not find a solution. Is it even possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 12:38:48 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/RLS-on-database-level-with-Direct-Query/m-p/1802739#M53952</guid>
      <dc:creator>szymon_zabiello</dc:creator>
      <dc:date>2021-04-23T12:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Count Number of times a value in a column appears in another column in the same table. (DAX)</title>
      <link>https://community.powerbi.com/t5/Power-Query/Count-Number-of-times-a-value-in-a-column-appears-in-another/m-p/1802693#M53951</link>
      <description>&lt;P&gt;@AIB&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp; I ignored&amp;nbsp;&lt;SPAN&gt;intellisense and just kept typing, It works perfectly! Thank you,maybe my computer was running slow, or maybe I am!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please could I ask a followup question?&lt;/SPAN&gt;&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;My data now looks like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have added an aditional column where 0 occurs (Group)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Project List A&amp;nbsp; &amp;nbsp; &amp;nbsp;Project&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;List B Count&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Group&lt;BR /&gt;Project 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Porject 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;BR /&gt;Project 2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project 2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;BR /&gt;Project 2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project 4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;BR /&gt;Project 3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project 2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; A&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Add another column (Count 2) and then count how many times Projects in Project List A (&lt;EM&gt;excluding &lt;/EM&gt;the project marked A) appear in the entire list of projects in Project List B?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In plain english:&lt;/P&gt;&lt;P&gt;Re-run the count but exclude just Project 3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 12:04:11 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Count-Number-of-times-a-value-in-a-column-appears-in-another/m-p/1802693#M53951</guid>
      <dc:creator>rptmaxer</dc:creator>
      <dc:date>2021-04-23T12:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: Formula firewall error - Query referenced to replace parameter</title>
      <link>https://community.powerbi.com/t5/Power-Query/Formula-firewall-error-Query-referenced-to-replace-parameter/m-p/1802670#M53950</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;LI-USER uid="221253"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;probably this is coming from your parameters Storage_path and File1. Does the first parameter end with an "\"? otherwise the complete path is not valid.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jimmy&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 11:49:28 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Formula-firewall-error-Query-referenced-to-replace-parameter/m-p/1802670#M53950</guid>
      <dc:creator>Jimmy801</dc:creator>
      <dc:date>2021-04-23T11:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Load data from Intercom</title>
      <link>https://community.powerbi.com/t5/Power-Query/Load-data-from-Intercom/m-p/1802666#M53949</link>
      <description>&lt;P&gt;Looks like they have a REST API.&amp;nbsp; If so, this video may help get your started on getting data from REST APIs.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://developers.intercom.com/building-apps/docs/rest-apis" target="_blank"&gt;REST API (intercom.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=hHkU8tPhVXs&amp;amp;t=492s" target="_blank"&gt;Power BI - Tales From The Front - REST APIs - YouTube&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pat&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pat&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 11:46:52 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Load-data-from-Intercom/m-p/1802666#M53949</guid>
      <dc:creator>mahoneypat</dc:creator>
      <dc:date>2021-04-23T11:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Append 2 tables and remove dublicate rows</title>
      <link>https://community.powerbi.com/t5/Power-Query/Append-2-tables-and-remove-dublicate-rows/m-p/1802657#M53948</link>
      <description>&lt;P&gt;&lt;LI-USER uid="250150"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;If I use this sintax the blank query basically only appends the two queries.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 11:43:42 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Append-2-tables-and-remove-dublicate-rows/m-p/1802657#M53948</guid>
      <dc:creator>deboec</dc:creator>
      <dc:date>2021-04-23T11:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Append 2 tables and remove dublicate rows</title>
      <link>https://community.powerbi.com/t5/Power-Query/Append-2-tables-and-remove-dublicate-rows/m-p/1802639#M53947</link>
      <description>&lt;P&gt;&lt;LI-USER uid="288956"&gt;&lt;/LI-USER&gt;&amp;nbsp;, you might want to create a blank query&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;= Table.Distinct(#"query 1" &amp;amp; #"query 2")&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 11:33:39 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Append-2-tables-and-remove-dublicate-rows/m-p/1802639#M53947</guid>
      <dc:creator>CNENFRNL</dc:creator>
      <dc:date>2021-04-23T11:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Seeing my database's structure with Power Query</title>
      <link>https://community.powerbi.com/t5/Power-Query/Seeing-my-database-s-structure-with-Power-Query/m-p/1802623#M53946</link>
      <description>&lt;P&gt;&lt;LI-USER uid="297777"&gt;&lt;/LI-USER&gt;&amp;nbsp;, you're barking up the wrong tree. Power Query isn't a db management software; on the contrary, ask db admin for data dictionary or something similar.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 11:27:49 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Seeing-my-database-s-structure-with-Power-Query/m-p/1802623#M53946</guid>
      <dc:creator>CNENFRNL</dc:creator>
      <dc:date>2021-04-23T11:27:49Z</dc:date>
    </item>
    <item>
      <title>Append 2 tables and remove dublicate rows</title>
      <link>https://community.powerbi.com/t5/Power-Query/Append-2-tables-and-remove-dublicate-rows/m-p/1802536#M53944</link>
      <description>&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two queries in my Excel file via connection.&lt;/P&gt;&lt;P&gt;Both queries are connected to tables with an identical structure (columns).&lt;/P&gt;&lt;P&gt;Only some of the rows are different.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to append query 1 with query 2 and only keep the rows which are unique.&amp;nbsp;&lt;BR /&gt;(So not only removce duplicates but also remove&amp;nbsp;&lt;STRONG&gt;all rows&amp;nbsp;&lt;/STRONG&gt;that are not unique).&lt;/P&gt;&lt;P&gt;Query 1 and query 2 both have an index column.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 10:51:27 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Append-2-tables-and-remove-dublicate-rows/m-p/1802536#M53944</guid>
      <dc:creator>deboec</dc:creator>
      <dc:date>2021-04-23T10:51:27Z</dc:date>
    </item>
    <item>
      <title>Load data from Intercom</title>
      <link>https://community.powerbi.com/t5/Power-Query/Load-data-from-Intercom/m-p/1802524#M53943</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Does anyone have any experience with loading data from Intercom.io through Power BI?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have got a personal token and tried to connect to Intercom via a web URL but without success. What is the best way to load Intercom data to Power BI?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any feedback would be greatly appreciated! Many thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 10:39:49 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Load-data-from-Intercom/m-p/1802524#M53943</guid>
      <dc:creator>hasnaa</dc:creator>
      <dc:date>2021-04-23T10:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to ensure correct encoding when importing parquet files into Power BI</title>
      <link>https://community.powerbi.com/t5/Power-Query/How-to-ensure-correct-encoding-when-importing-parquet-files-into/m-p/1802517#M53942</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="194507"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you for your answers. However, this guide doesn't help with changing the encoding in order to keep the Danish letters, which is my problem.&amp;nbsp;&lt;BR /&gt;I have no problem reading the actual data into PBI. However, I have trouble with encoding.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 10:38:17 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/How-to-ensure-correct-encoding-when-importing-parquet-files-into/m-p/1802517#M53942</guid>
      <dc:creator>tbakholdt</dc:creator>
      <dc:date>2021-04-23T10:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Count Number of times a value in a column appears in another column in the same table. (DAX)</title>
      <link>https://community.powerbi.com/t5/Power-Query/Count-Number-of-times-a-value-in-a-column-appears-in-another/m-p/1802295#M53941</link>
      <description>&lt;P&gt;&lt;LI-USER uid="296647"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No. It should work fien with a calculated table, if you simply add a &lt;STRONG&gt;calculated column&lt;/STRONG&gt; with the code above. Make sure to substitute Table3 with the actual name of your table. If it doesn'twork please share the pbix (with mock data if necessary)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="height: 100px; width: 100%; border-collapse: collapse; border-style: groove; border-color: #0c1c49; background-color: #00675f;" border="0" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15px;"&gt;
&lt;TD width="15.961305925030231%" style="width: 92px; height: 15px;"&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="SU18_powerbi_badge" style="width: 82px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/258830iAF7B406DD96B3746/image-dimensions/82x82?v=v2" width="82" height="82" role="button" title="SU18_powerbi_badge" alt="SU18_powerbi_badge" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="84.03869407496977%" style="width: 485px; height: 15px; text-align: left;"&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Please accept the solution when done and consider &lt;FONT color="#FF9900"&gt;giving a thumbs up if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt; &lt;/FONT&gt;&lt;BR /&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="4.5" color="#FF99CC"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 09:28:15 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Count-Number-of-times-a-value-in-a-column-appears-in-another/m-p/1802295#M53941</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2021-04-23T09:28:15Z</dc:date>
    </item>
    <item>
      <title>Seeing my database's structure with Power Query</title>
      <link>https://community.powerbi.com/t5/Power-Query/Seeing-my-database-s-structure-with-Power-Query/m-p/1802286#M53940</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am an IT intern with some experience in databases but not a whole lot with Excel, and none with Power Query.&lt;BR /&gt;My small company requires me to make some pivot tables with relevant info from their SQL database, however in order to do that I would like first to have a clear idea of what the DB's structure is like.&lt;BR /&gt;&lt;BR /&gt;I would like to display the database's general structure with power query, using an ODBC. However all I get when inputting the datasource is basically a list of all the tables in the DB.&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Any ideas or suggestions? Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 09:21:16 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Seeing-my-database-s-structure-with-Power-Query/m-p/1802286#M53940</guid>
      <dc:creator>ImStruggling</dc:creator>
      <dc:date>2021-04-23T09:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to ensure correct encoding when importing parquet files into Power BI</title>
      <link>https://community.powerbi.com/t5/Power-Query/How-to-ensure-correct-encoding-when-importing-parquet-files-into/m-p/1802278#M53939</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="297205"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry for the misunderstanding,check below blog for the steps below:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.red-gate.com/simple-talk/blogs/power-bi-reading-parquet-from-a-data-lake/" target="_blank"&gt;https://www.red-gate.com/simple-talk/blogs/power-bi-reading-parquet-from-a-data-lake/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Kelly&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution!&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 09:15:52 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/How-to-ensure-correct-encoding-when-importing-parquet-files-into/m-p/1802278#M53939</guid>
      <dc:creator>v-kelly-msft</dc:creator>
      <dc:date>2021-04-23T09:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Power Query, M Code, Replace Value based on value in another column</title>
      <link>https://community.powerbi.com/t5/Power-Query/Power-Query-M-Code-Replace-Value-based-on-value-in-another/m-p/1802150#M53938</link>
      <description>&lt;P&gt;&lt;LI-USER uid="250150"&gt;&lt;/LI-USER&gt;&amp;nbsp;Thanks for the quick response... I would highly appreciate if you could explain the&amp;nbsp;&lt;EM&gt;,null, (x,y,z) =&amp;gt; y&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;piece...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this just filling the formula requirement?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rgds&lt;BR /&gt;T&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 08:31:03 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Power-Query-M-Code-Replace-Value-based-on-value-in-another/m-p/1802150#M53938</guid>
      <dc:creator>tweidner</dc:creator>
      <dc:date>2021-04-23T08:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Count Number of times a value in a column appears in another column in the same table. (DAX)</title>
      <link>https://community.powerbi.com/t5/Power-Query/Count-Number-of-times-a-value-in-a-column-appears-in-another/m-p/1802104#M53937</link>
      <description>&lt;P&gt;Thank you for lookng at this AIB, but&amp;nbsp;intellisense won't allow me to choose the table and column to be the variable. Is it because it's a calcualted table?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 08:17:22 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Count-Number-of-times-a-value-in-a-column-appears-in-another/m-p/1802104#M53937</guid>
      <dc:creator>rptmaxer</dc:creator>
      <dc:date>2021-04-23T08:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to ensure correct encoding when importing parquet files into Power BI</title>
      <link>https://community.powerbi.com/t5/Power-Query/How-to-ensure-correct-encoding-when-importing-parquet-files-into/m-p/1802101#M53936</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="194507"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Yes, that works. But my question is more related to reading parquet files directly into PBI, and thereby avoiding a synapse ressource.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 08:14:43 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/How-to-ensure-correct-encoding-when-importing-parquet-files-into/m-p/1802101#M53936</guid>
      <dc:creator>tbakholdt</dc:creator>
      <dc:date>2021-04-23T08:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to ensure correct encoding when importing parquet files into Power BI</title>
      <link>https://community.powerbi.com/t5/Power-Query/How-to-ensure-correct-encoding-when-importing-parquet-files-into/m-p/1802084#M53935</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;LI-USER uid="297205"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check the blog below:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://techcommunity.microsoft.com/t5/azure-synapse-analytics/always-use-utf-8-collations-to-read-utf-8-text-in-serverless-sql/ba-p/1883633" target="_blank"&gt;https://techcommunity.microsoft.com/t5/azure-synapse-analytics/always-use-utf-8-collations-to-read-utf-8-text-in-serverless-sql/ba-p/1883633&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Kelly&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution!&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 08:11:14 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/How-to-ensure-correct-encoding-when-importing-parquet-files-into/m-p/1802084#M53935</guid>
      <dc:creator>v-kelly-msft</dc:creator>
      <dc:date>2021-04-23T08:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unpivot and group columns</title>
      <link>https://community.powerbi.com/t5/Power-Query/Unpivot-and-group-columns/m-p/1802049#M53934</link>
      <description>&lt;P&gt;Sorry for the delay in answering, but only today I was able to test the solution.&lt;/P&gt;
&lt;P&gt;&lt;LI-USER uid="236599"&gt;&lt;/LI-USER&gt;&amp;nbsp;, thank you very much for the code. It helps me to prepare data for visuals.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 08:01:18 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Unpivot-and-group-columns/m-p/1802049#M53934</guid>
      <dc:creator>lkalawski</dc:creator>
      <dc:date>2021-04-23T08:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: JSON connector windows credentials over dataflow</title>
      <link>https://community.powerbi.com/t5/Power-Query/JSON-connector-windows-credentials-over-dataflow/m-p/1802044#M53933</link>
      <description>&lt;P&gt;Thank you for taking time out to look into the above issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the above issue was a false alaram, as it automatically fixed once I updated the gateway with the latest version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 07:56:25 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/JSON-connector-windows-credentials-over-dataflow/m-p/1802044#M53933</guid>
      <dc:creator>shakirkhanani</dc:creator>
      <dc:date>2021-04-23T07:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Power Query, M Code, Replace Value based on value in another column</title>
      <link>https://community.powerbi.com/t5/Power-Query/Power-Query-M-Code-Replace-Value-based-on-value-in-another/m-p/1802014#M53932</link>
      <description>&lt;P&gt;&lt;LI-USER uid="280127"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table.ReplaceValue(#"Changed Type", each if [Country] = "Oman" then "Offshore" else [Division], null, (x,y,z) =&amp;gt; y, {"Division"})&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 23 Apr 2021 07:43:42 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Power-Query-M-Code-Replace-Value-based-on-value-in-another/m-p/1802014#M53932</guid>
      <dc:creator>CNENFRNL</dc:creator>
      <dc:date>2021-04-23T07:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Extract the direct URL to view or edit a Sharepoint list item from PowerBI</title>
      <link>https://community.powerbi.com/t5/Power-Query/Extract-the-direct-URL-to-view-or-edit-a-Sharepoint-list-item/m-p/1801857#M53931</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="10291"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;When you connect to SharePoint list in power bi, you can find the document table. Load it into power query and filter 'File' folumn, expand the 'LinkingUri' or 'LinkingUrl' to extract the URL of files in SharePoint list.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="expand.png" style="width: 275px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/500537iD553DE7F43FBF343/image-size/medium?v=v2&amp;amp;px=400" role="button" title="expand.png" alt="expand.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Yingjie Li&lt;BR /&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 07:02:00 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Extract-the-direct-URL-to-view-or-edit-a-Sharepoint-list-item/m-p/1801857#M53931</guid>
      <dc:creator>v-yingjl</dc:creator>
      <dc:date>2021-04-23T07:02:00Z</dc:date>
    </item>
    <item>
      <title>Power Query, M Code, Replace Value based on value in another column</title>
      <link>https://community.powerbi.com/t5/Power-Query/Power-Query-M-Code-Replace-Value-based-on-value-in-another/m-p/1801811#M53930</link>
      <description>&lt;P&gt;Hello Everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apologies in case this was answered already in this forum, but I wasn't able to find it...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've one column (Division) in a table where I would like to change the value if a value in another column (Country) fulfills a criteria.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looks like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tweidner_0-1619160095198.png" style="width: 400px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/500515i226F6839C3817931/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tweidner_0-1619160095198.png" alt="tweidner_0-1619160095198.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Value in [Division] should change to "Offshore", if value in column [Country] = "Oman"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought I was close with the following formula, but nothing happens.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tweidner_1-1619160236565.png" style="width: 774px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/500519iA32EA274C60F8E48/image-dimensions/774x28?v=v2" width="774" height="28" role="button" title="tweidner_1-1619160236565.png" alt="tweidner_1-1619160236565.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;= Table.ReplaceValue(#"Changed Type", each [Country] = "Oman" , "Offshore" ,Replacer.ReplaceValue,{"Division"})&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you &amp;amp; Rgds&lt;BR /&gt;Tobias&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 06:46:14 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Power-Query-M-Code-Replace-Value-based-on-value-in-another/m-p/1801811#M53930</guid>
      <dc:creator>tweidner</dc:creator>
      <dc:date>2021-04-23T06:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: The downloaded data is HTML, which isn't the expected type. The URL may be wrong ...</title>
      <link>https://community.powerbi.com/t5/Power-Query/The-downloaded-data-is-HTML-which-isn-t-the-expected-type-The/m-p/1801786#M53929</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="294873"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Glad to hear the issue is solved. You can accept the suitable reply as solution, that way, other community members could easily find the answer when they get same issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Yingjie Li&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 06:37:00 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/The-downloaded-data-is-HTML-which-isn-t-the-expected-type-The/m-p/1801786#M53929</guid>
      <dc:creator>v-yingjl</dc:creator>
      <dc:date>2021-04-23T06:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Extract numbers from string and SUM them</title>
      <link>https://community.powerbi.com/t5/Power-Query/Extract-numbers-from-string-and-SUM-them/m-p/1801783#M53928</link>
      <description>&lt;P&gt;Hi Rocco&lt;BR /&gt;&lt;BR /&gt;The above did not work - Now Im gonna provide as much information as possible.&lt;BR /&gt;&lt;BR /&gt;My Source is this:&amp;nbsp;&lt;BR /&gt;Source = Table.FromColumns({Lines.FromBinary(File.Contents("C:\Users\asra\OneDrive - x a-s\PowerBI\xClub\revenue.json"), null, null)}),&lt;BR /&gt;&lt;BR /&gt;Here is sample data:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Decimal numbers&lt;/LI&gt;&lt;LI&gt;Minus Quantity&lt;/LI&gt;&lt;LI&gt;Quantity&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These should every possible case of data and should provide the most optimal results, if you are able to crack it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your time and help. This could never have been done without your contribution.&amp;nbsp;&lt;BR /&gt;I am sorry for not providing everything in the beginning, I also learned all these different scenarios a long the way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;["13 01 2012", 43313, 41, 5, "{\"adults\":2,\"guest\":{\"first_name\":\"abc def\",\"last_name\":\"abc\",\"email\":\"x@stofanet.dk\",\"phone\":\"11111111\",\"customer_id\":\"451831\",\"club_id\":\"BjsT\"},\"addons\":[{\"code\":\"3-1-21143378\",\"price\":65,\"inventory_code\":\"80102\",\"quantity\":2},{\"code\":\"3-1-21143379\",\"price\":60,\"inventory_code\":\"80104\",\"quantity\":2}],\"price\":1400,\"comment\":[\"**** Anonymized \\/ Anonymiseret \\/  Anonymiserad ***\"]}"]

["31 05 2017", 43313, 63, 5, "{\"adults\":2,\"guest\":{\"first_name\":\"x x\",\"last_name\":\"x\",\"email\":\"x@stofanet.dk\",\"phone\":\"11223344\",\"customer_id\":\"451831\",\"club_id\":\"BjsT\"},\"price\":998,\"comment\":[\"**** Anonymized \\/ Anonymiseret \\/  Anonymiserad ***\"]}"]

["30 10 2011", 43315, 81, 5, "{\"adults\":2,\"guest\":{\"first_name\":\"x\",\"last_name\":\"x\",\"email\":\"x@storegade3.dk\",\"phone\":\"11223344\",\"customer_id\":\"661060\",\"club_id\":\"B-IC\"},\"addons\":[{\"code\":\"2-1-39\",\"price\":75,\"inventory_code\":\"9971\",\"quantity\":1},{\"code\":\"3-1-20499510\",\"price\":595,\"inventory_code\":\"c1070\",\"quantity\":1},{\"code\":\"3-1-20499522\",\"price\":595,\"inventory_code\":\"c1072\",\"quantity\":1},{\"code\":\"3-1-20499559\",\"price\":595,\"inventory_code\":\"c1072\",\"quantity\":1},{\"code\":\"3-1-20499682\",\"price\":595,\"inventory_code\":\"c1070\",\"quantity\":1},{\"code\":\"3-1-20499702\",\"price\":595,\"inventory_code\":\"c1070\",\"quantity\":1},{\"code\":\"3-1-20499513\",\"price\":595,\"inventory_code\":\"c1067\",\"quantity\":1},{\"code\":\"3-1-20499533\",\"price\":595,\"inventory_code\":\"c1067\",\"quantity\":1},{\"code\":\"3-1-20499560\",\"price\":595,\"inventory_code\":\"c1067\",\"quantity\":1},{\"code\":\"3-1-20499622\",...

["01 08 2012", 42587, 569, 5, "{\"adults\":2,\"children\":1,\"infants\":1,\"guest\":{\"first_name\":\"x\",\"last_name\":\"x\",\"email\":\"x@mail.dk\",\"phone\":\"11224455\",\"customer_id\":\"741525\",\"club_id\":\"sl_65182\"},\"price\":1487.5,\"comment\":[\"**** Anonymized \\/ Anonymiseret \\/  Anonymiserad ***\"]}"]

["13 11 2013", 42589, 593, 5, "{\"adults\":2,\"children\":2,\"guest\":{\"first_name\":\"x\",\"last_name\":\"x\",\"email\":\"x@x-cannon.dk\",\"phone\":\"55448877\",\"customer_id\":\"929022\",\"club_id\":\"dw_42589\"},\"addons\":[{\"code\":\"3-1-30136673\",\"price\":200,\"inventory_code\":\"5039\",\"quantity\":1},{\"code\":\"3-1-32709447\",\"price\":300,\"inventory_code\":\"5621\",\"quantity\":2}],\"price\":1350,\"comment\":[\"**** Anonymized \\/ Anonymiseret \\/  Anonymiserad ***\

["12 07 2015", 42618, 833, 5, "{\"adults\":2,\"guest\":{\"first_name\":\"x\",\"last_name\":\"x\",\"email\":\"x@gmail.com\",\"phone\":\"77889944\",\"customer_id\":\"1002728\",\"club_id\":\"dw_42618\"},\"addons\":[{\"code\":\"3-1-38798558\",\"price\":0,\"inventory_code\":\"9867\",\"quantity\":2}],\"price\":2796}"]

["08 11 2015", 42621, 839, 5, "{\"adults\":2,\"guest\":{\"first_name\":\"S\\u00f8s\",\"last_name\":\"x\",\"email\":\"x@gmail.com\",\"phone\":\"11445566\",\"customer_id\":\"833061\",\"club_id\":\"dw_42621\"},\"addons\":[{\"code\":\"3-1-40950192\",\"price\":165,\"inventory_code\":\"E3034\",\"quantity\":2}],\"price\":1628,\"comment\":[\"**** Anonymized \\/ Anonymiseret \\/  Anonymiserad ***\"]}"]

["21 06 2013", null, 1025, 5, "{\"adults\":2,\"guest\":{\"first_name\":\"x-x\",\"last_name\":\"x\",\"email\":\"x@hotmail.com\",\"phone\":\"ukendt\",\"customer_id\":\"866978\",\"club_id\":\"dw_42675\"},\"addons\":{\"0\":{\"code\":\"3-1-28304381\",\"price\":175,\"inventory_code\":\"12034\",\"quantity\":2},\"4\":{\"code\":\"3-1-28615023\",\"price\":149,\"inventory_code\":\"c1140\",\"quantity\":1},\"5\":{\"code\":\"3-1-28615024\",\"price\":149,\"inventory_code\":\"c1140\",\"quantity\":1}},\"price\":2144,\"comment\":[\"**** Anonymized \\/ Anonymiseret \\/  Anonymiserad ***\"]}"]

["17 06 2013", 42730, 1197, 5, "{\"adults\":2,\"children\":2,\"guest\":{\"first_name\":\"x\",\"last_name\":\"x\",\"email\":\"x.x@telia.com\",\"phone\":\"77441122\",\"customer_id\":\"159296\",\"club_id\":\"sl_24507\"},\"addons\":{\"0\":{\"code\":\"3-1-13379496\",\"price\":195,\"inventory_code\":\"98890\",\"quantity\":2},\"1\":{\"code\":\"3-1-13379497\",\"price\":100,\"inventory_code\":\"98891\",\"quantity\":2},\"2\":{\"code\":\"3-1-13384836\",\"price\":190,\"inventory_code\":\"11101\",\"quantity\":-2},\"6\":{\"code\":\"2-1-34\",\"price\":219,\"inventory_code\":\"31098\",\"quantity\":2},\"7\":{\"code\":\"3-1-13379489\",\"price\":99,\"inventory_code\":\"32223\",\"quantity\":2}},\"price\":8206}"]

["09 11 2016", 42730, 1225, 5, "{\"adults\":2,\"guest\":{\"first_name\":\"x\",\"last_name\":\"x\",\"email\":\"x.x@telia.com\",\"phone\":\"88995566\",\"customer_id\":\"159296\",\"club_id\":\"sl_24507\"},\"addons\":{\"0\":{\"code\":\"2-1-34\",\"price\":219,\"inventory_code\":\"31098\",\"quantity\":2},\"3\":{\"code\":\"3-1-18899908\",\"price\":0,\"inventory_code\":\"31109\",\"quantity\":2},\"5\":{\"code\":\"2-1-34\",\"price\":219,\"inventory_code\":\"31098\",\"quantity\":2},\"7\":{\"code\":\"2-1-37\",\"price\":495,\"inventory_code\":\"31101\",\"quantity\":2},\"8\":{\"code\":\"3-1-18899910\",\"price\":495,\"inventory_code\":\"87262\",\"quantity\":-1}},\"price\":4467,\"comment\":[\"**** Anonymized \\/ Anonymiseret \\/  Anonymiserad ***\"]}"]

["18 09 2014", null, 1333, 5, "{\"adults\":3,\"children\":1,\"infants\":1,\"guest\":{\"first_name\":\"x\",\"last_name\":\"V\\u00f8lund\",\"email\":\"x@pc.dk\",\"phone\":\"11885566\",\"customer_id\":\"666001\",\"club_id\":\"sl_42914\"},\"price\":1946.5,\"comment\":[\"**** Anonymized \\/ Anonymiseret \\/  Anonymiserad ***\"]}"]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 06:35:48 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Extract-numbers-from-string-and-SUM-them/m-p/1801783#M53928</guid>
      <dc:creator>asamr</dc:creator>
      <dc:date>2021-04-23T06:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Create table from columns</title>
      <link>https://community.powerbi.com/t5/Power-Query/Create-table-from-columns/m-p/1801775#M53927</link>
      <description>&lt;P&gt;&lt;LI-USER uid="196233"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;Follow the steps in power query:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Split the SharedWith column with semilcolon&lt;/P&gt;
&lt;P&gt;2. Select the 3 columns and unpivot&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="V-pazhen-msft_0-1619159429279.png" style="width: 468px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/500497iF53488E22FBA4DAD/image-dimensions/468x130?v=v2" width="468" height="130" role="button" title="V-pazhen-msft_0-1619159429279.png" alt="V-pazhen-msft_0-1619159429279.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;3. Remove the attribute column&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="V-pazhen-msft_1-1619159478363.png" style="width: 400px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/500499i90796B32638C4F55/image-size/medium?v=v2&amp;amp;px=400" role="button" title="V-pazhen-msft_1-1619159478363.png" alt="V-pazhen-msft_1-1619159478363.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Paul Zheng _ Community Support Team&lt;BR /&gt;If this post helps, please Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 06:31:43 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Create-table-from-columns/m-p/1801775#M53927</guid>
      <dc:creator>V-pazhen-msft</dc:creator>
      <dc:date>2021-04-23T06:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Grabbing data with API, unable to convert datetime column to a date</title>
      <link>https://community.powerbi.com/t5/Power-Query/Grabbing-data-with-API-unable-to-convert-datetime-column-to-a/m-p/1801721#M53926</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="297110"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can add a custom column to contain only date values from the original datetime column. Just like below.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;= Date.From([Old DateTime column])&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="042302.jpg" style="width: 999px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/500465iCD4BB5464E785F26/image-size/large?v=v2&amp;amp;px=999" role="button" title="042302.jpg" alt="042302.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This date column is able to be changed into Date type. You can remove the old datetime column and use this new date column later.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards, &lt;BR /&gt;Community Support Team _ Jing&lt;BR /&gt;If this post helps, please Accept it as the solution to help other members find it.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 06:08:49 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Grabbing-data-with-API-unable-to-convert-datetime-column-to-a/m-p/1801721#M53926</guid>
      <dc:creator>v-jingzhang</dc:creator>
      <dc:date>2021-04-23T06:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Data Source from Web link to SharePoint Folder.</title>
      <link>https://community.powerbi.com/t5/Power-Query/Changing-Data-Source-from-Web-link-to-SharePoint-Folder/m-p/1801459#M53925</link>
      <description>&lt;P&gt;I think this is what you need.&amp;nbsp; You may need to make sure there are no duplicate variables names and update those if so (I updated the ones I could see).&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let
Source = SharePoint.Files("https://healthineersapc.sharepoint.com/teams/iMS4CGlobal", [ApiVersion = 15]),
#"Filtered Rows" = Table.SelectRows(Source, each ([Folder Path] = "https://healthineersapc.sharepoint.com/teams/iMS4CGlobal/IMS4C Global Data/On Time Completion of Changes(CM) KPI/Region/")),
#"Filtered Hidden Files1" = Table.SelectRows(#"Filtered Rows", each [Attributes]?[Hidden]? &amp;lt;&amp;gt; true),
#"Invoke Custom Function1" = Table.AddColumn(#"Filtered Hidden Files1", "Transform File (2)", each #"Transform File (2)"([Content])),
#"Renamed Columns1" = Table.RenameColumns(#"Invoke Custom Function1", {"Name", "Source.Name"}),
#"Removed Other Columns1" = Table.SelectColumns(#"Renamed Columns1", {"Source.Name", "Transform File (2)"}),
#"Expanded Table Column1" = Table.ExpandTableColumn(#"Removed Other Columns1", "Transform File (2)", Table.ColumnNames(#"Transform File (2)"(#"Sample File (2)"))),
#"Changed Type" = Table.TransformColumnTypes(#"Expanded Table Column1",{{"Source.Name", type text}, {"overdue", type text}, {"Cat", type text}, {"Change ID", type text}, {"Status", type text}, {"Assigned to", type text}, {"ChangeTitle", type text}, {"Change Description", type text}, {"Target Date", type date}, {"Created", type text}, {"CreatedDate", type date}, {"CreatedDAY", Int64.Type}, {"CreatedMONTH", Int64.Type}, {"CreatedMonthName", type text}, {"Quarter", type text}, {"CreatedYEAR", Int64.Type}, {"Created By", type text}, {"CAPA", type logical}, {"CAPA ID", type text}, {"Process Owner", type text}, {"assigned for Validation", type text}, {"ArchiveDate", type any}, {"Zone", type text}, {"Item Type", type text}, {"Path", type text}, {"OD", type any}, {"FirstReminder", type any}, {"CalculatedCounter", type any}, {"DateCreated", type any}, {"_Created", type datetime}, {"CM Status", type text}, {"CurrentDate", type datetime}, {"Overdue (days)", type any}, {"Overdue / Not overdue", type text}}),
#"Split Column by Delimiter1" = Table.ExpandListColumn(Table.TransformColumns(#"Changed Type", {{"Zone", Splitter.SplitTextByDelimiter(";", QuoteStyle.Csv), let itemType = (type nullable text) meta [Serialized.Text = true] in type {itemType}}}), "Zone"),
#"Filtered Rows3" = Table.SelectRows(#"Split Column by Delimiter1", each true),
#"Removed Columns" = Table.RemoveColumns(#"Filtered Rows3",{"overdue", "Assigned to", "ChangeTitle", "Change Description", "CreatedDAY", "CreatedMONTH", "CreatedMonthName", "Quarter", "CreatedYEAR", "Created By", "CAPA ID", "Process Owner", "assigned for Validation", "ArchiveDate", "Path", "OD", "FirstReminder", "CalculatedCounter", "DateCreated", "CurrentDate"}),
#"Changed Type" = Table.TransformColumnTypes(#"Removed Columns",{{"CreatedDate", type date}}),
#"Filtered Rows4" = Table.SelectRows(#"Changed Type", each ([Zone] &amp;lt;&amp;gt; " Global / iMS4C" and [Zone] &amp;lt;&amp;gt; "Global / iMS4C")),
#"Trimmed Text" = Table.TransformColumns(#"Filtered Rows4",{{"Zone", Text.Trim, type text}}),
#"Removed Columns1" = Table.RemoveColumns(#"Trimmed Text",{"_Created"}),
#"Added Custom" = Table.AddColumn(#"Removed Columns1", "Refline 50%", each "0.5"),
#"Changed Type1" = Table.TransformColumnTypes(#"Added Custom",{{"Refline 50%", Percentage.Type}}),
#"Removed Columns2" = Table.RemoveColumns(#"Changed Type1",{"Refline 50%"}),
#"Changed Type2" = Table.TransformColumnTypes(#"Removed Columns2",{{"Target Date", type date}}),
#"Filtered Rows2" = Table.SelectRows(#"Changed Type2", each [Target Date] &amp;lt;&amp;gt; null and [Target Date] &amp;lt;&amp;gt; "")
in
#"Filtered Rows2" &lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pat&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 01:51:17 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Changing-Data-Source-from-Web-link-to-SharePoint-Folder/m-p/1801459#M53925</guid>
      <dc:creator>mahoneypat</dc:creator>
      <dc:date>2021-04-23T01:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: If condition</title>
      <link>https://community.powerbi.com/t5/Power-Query/If-condition/m-p/1801436#M53924</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="279582"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could add a pair of parentheses to wrap the third condition in this if statement. This should work.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="042205.jpg" style="width: 999px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/500341i1323476103769DAA/image-size/large?v=v2&amp;amp;px=999" role="button" title="042205.jpg" alt="042205.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Regards, &lt;BR /&gt;Community Support Team _ Jing&lt;BR /&gt;If this post helps, please Accept it as the solution to help other members find it.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 01:42:11 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/If-condition/m-p/1801436#M53924</guid>
      <dc:creator>v-jingzhang</dc:creator>
      <dc:date>2021-04-23T01:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Count Number of times a value in a column appears in another column in the same table. (DAX)</title>
      <link>https://community.powerbi.com/t5/Power-Query/Count-Number-of-times-a-value-in-a-column-appears-in-another/m-p/1801368#M53923</link>
      <description>&lt;P&gt;Hi &lt;LI-USER uid="296647"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create a calculated column:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;NewCol =
VAR currentCol1_ = Table3[Column1]
RETURN
    0
        + CALCULATE (
            COUNT ( Table3[Column2] ),
            Table3[Column2] = currentCol1_,
            ALL ( Table3 )
        )
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="height: 100px; width: 100%; border-collapse: collapse; border-style: groove; border-color: #0c1c49; background-color: #00675f;" border="0" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15px;"&gt;
&lt;TD width="15.961305925030231%" style="width: 92px; height: 15px;"&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="SU18_powerbi_badge" style="width: 82px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/258830iAF7B406DD96B3746/image-dimensions/82x82?v=v2" width="82" height="82" role="button" title="SU18_powerbi_badge" alt="SU18_powerbi_badge" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="84.03869407496977%" style="width: 485px; height: 15px; text-align: left;"&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Please accept the solution when done and consider &lt;FONT color="#FF9900"&gt;giving a thumbs up if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt; &lt;/FONT&gt;&lt;BR /&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="4.5" color="#FF99CC"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 23:54:15 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Count-Number-of-times-a-value-in-a-column-appears-in-another/m-p/1801368#M53923</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2021-04-22T23:54:15Z</dc:date>
    </item>
    <item>
      <title>Count Number of times a value in a column appears in another column in the same table. (DAX)</title>
      <link>https://community.powerbi.com/t5/Power-Query/Count-Number-of-times-a-value-in-a-column-appears-in-another/m-p/1801360#M53922</link>
      <description>&lt;P&gt;Hello, please could I have some help solving my issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two coulmns in a table called Projects.&lt;/P&gt;&lt;P&gt;Both columns contain the names of some projects.&lt;/P&gt;&lt;P&gt;I would like a third coulmn that counts how many times a project in coulmn A appears in column B.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for any help given.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;N.B. The projects table is calculated a table from another table (don't know if this has any impact).&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 23:39:04 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Count-Number-of-times-a-value-in-a-column-appears-in-another/m-p/1801360#M53922</guid>
      <dc:creator>rptmaxer</dc:creator>
      <dc:date>2021-04-22T23:39:04Z</dc:date>
    </item>
    <item>
      <title>Calculate Per Unit Number when Sold Totals are within Data Field</title>
      <link>https://community.powerbi.com/t5/Power-Query/Calculate-Per-Unit-Number-when-Sold-Totals-are-within-Data-Field/m-p/1801338#M53920</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am building a Power BI P&amp;amp;L using raw data from our accounting system. The data contains a list of accounts/entities with the appropriate values for each month. I would like to calculate per unit values for revenues, expenses, etc. However, the sold totals are in specific accounts within the data. I have tried to create custom fields that would filter out the sold data using if statements and calculate/filters. However, this only populates the sold date within the sold accounts. The attachedpictures are examples of how the data is set up, along with the results I'm getting trying to filter out the sold volume.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Per Unit Result.JPG" style="width: 664px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/500308iEA11EB6F1AD1913E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Per Unit Result.JPG" alt="Per Unit Result.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="P&amp;amp;L Data.JPG" style="width: 999px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/500309i4A3792A4E7F5A726/image-size/large?v=v2&amp;amp;px=999" role="button" title="P&amp;amp;L Data.JPG" alt="P&amp;amp;L Data.JPG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 22:45:09 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Calculate-Per-Unit-Number-when-Sold-Totals-are-within-Data-Field/m-p/1801338#M53920</guid>
      <dc:creator>triaa21</dc:creator>
      <dc:date>2021-04-22T22:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter a column based on a column from another table?</title>
      <link>https://community.powerbi.com/t5/Power-Query/How-to-filter-a-column-based-on-a-column-from-another-table/m-p/1801310#M53919</link>
      <description>&lt;P&gt;Hi &lt;LI-USER uid="297652"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An inner join should do it and is quite probably the best performing option&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Place the following M code in a blank query to see the steps.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let
    Source = Table.NestedJoin(Table1, {"Employee ID"}, Table2, {"Employee ID"}, "Table2", JoinKind.Inner),
    #"Removed Columns" = Table.RemoveColumns(Source,{"Table2"})
in
    #"Removed Columns"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="height: 100px; width: 100%; border-collapse: collapse; border-style: groove; border-color: #0c1c49; background-color: #00675f;" border="0" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15px;"&gt;
&lt;TD width="15.961305925030231%" style="width: 92px; height: 15px;"&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="SU18_powerbi_badge" style="width: 82px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/258830iAF7B406DD96B3746/image-dimensions/82x82?v=v2" width="82" height="82" role="button" title="SU18_powerbi_badge" alt="SU18_powerbi_badge" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="84.03869407496977%" style="width: 485px; height: 15px; text-align: left;"&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Please accept the solution when done and consider &lt;FONT color="#FF9900"&gt;giving a thumbs up if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt; &lt;/FONT&gt;&lt;BR /&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="4.5" color="#FF99CC"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 22:03:57 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/How-to-filter-a-column-based-on-a-column-from-another-table/m-p/1801310#M53919</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2021-04-22T22:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a custom values from a grouped table?</title>
      <link>https://community.powerbi.com/t5/Power-Query/How-to-get-a-custom-values-from-a-grouped-table/m-p/1801303#M53918</link>
      <description>&lt;P&gt;Hi &lt;LI-USER uid="297539"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Place the following M code in a blank query to see the steps.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45Wcs4sqVRwVNJRilCK1UHiRqJyccs64eU6Y3IjcHJdUBWjcV1RFUO5sQA=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [CITY = _t, DATA = _t]),
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"CITY", type text}, {"DATA", type text}}),
    
 #"Grouped Rows" = Table.Group(#"Changed Type", {"CITY"}, {{"Res", each let aux_ = List.Distinct([DATA]) in if List.Contains(aux_, "X") then "X" else List.Select(aux_, each _ &amp;lt;&amp;gt;"X"){0} }})
in
    #"Grouped Rows"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="height: 100px; width: 100%; border-collapse: collapse; border-style: groove; border-color: #0c1c49; background-color: #00675f;" border="0" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15px;"&gt;
&lt;TD width="15.961305925030231%" style="width: 92px; height: 15px;"&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="SU18_powerbi_badge" style="width: 82px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/258830iAF7B406DD96B3746/image-dimensions/82x82?v=v2" width="82" height="82" role="button" title="SU18_powerbi_badge" alt="SU18_powerbi_badge" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="84.03869407496977%" style="width: 485px; height: 15px; text-align: left;"&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Please accept the solution when done and consider &lt;FONT color="#FF9900"&gt;giving a thumbs up if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt; &lt;/FONT&gt;&lt;BR /&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="4.5" color="#FF99CC"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 21:50:46 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/How-to-get-a-custom-values-from-a-grouped-table/m-p/1801303#M53918</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2021-04-22T21:50:46Z</dc:date>
    </item>
    <item>
      <title>How to get a custom values from a grouped table?</title>
      <link>https://community.powerbi.com/t5/Power-Query/How-to-get-a-custom-values-from-a-grouped-table/m-p/1801237#M53917</link>
      <description>&lt;P&gt;I have a table with cities and data, like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;CITY&lt;/TD&gt;&lt;TD&gt;DATA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;City A&lt;/TD&gt;&lt;TD&gt;X&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;City A&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;City A&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;X&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;City A&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;City B&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;City B&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;City C&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;City C&lt;/TD&gt;&lt;TD&gt;X&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;City C&lt;/TD&gt;&lt;TD&gt;X&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;City D&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;City D&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;City E&lt;/TD&gt;&lt;TD&gt;X&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;City E&lt;/TD&gt;&lt;TD&gt;X&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;need to get a dimensional table from this table with single cities based mainly on X data. I need to prioritise&amp;nbsp;if a city has X data. Then, if the city doesn't has X data, only Y, show her too. In the end, I need a table like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;CITY&lt;/TD&gt;&lt;TD&gt;DATA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;City A&lt;/TD&gt;&lt;TD&gt;X&amp;nbsp; (has x and y, but prioritise&amp;nbsp;x)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;City B&lt;/TD&gt;&lt;TD&gt;Y&amp;nbsp; (has only y)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;City C&lt;/TD&gt;&lt;TD&gt;X&amp;nbsp;&amp;nbsp;(has x and y, but prioritise&amp;nbsp;x)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;City D&lt;/TD&gt;&lt;TD&gt;Y&amp;nbsp; (has only y)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;City E&lt;/TD&gt;&lt;TD&gt;X&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to group by city, then used Table.Contains in the data grouped, but I failed.&lt;/P&gt;&lt;P&gt;Can anyone help me, please?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 20:47:25 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/How-to-get-a-custom-values-from-a-grouped-table/m-p/1801237#M53917</guid>
      <dc:creator>massotebernoull</dc:creator>
      <dc:date>2021-04-22T20:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: month to date to show nil for next month</title>
      <link>https://community.powerbi.com/t5/Power-Query/month-to-date-to-show-nil-for-next-month/m-p/1801188#M53916</link>
      <description>&lt;P&gt;thanks. Does ship date in this part of the DAX needs to be a query?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 20:16:30 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/month-to-date-to-show-nil-for-next-month/m-p/1801188#M53916</guid>
      <dc:creator>SH-VE</dc:creator>
      <dc:date>2021-04-22T20:16:30Z</dc:date>
    </item>
    <item>
      <title>How to filter a column based on a column from another table?</title>
      <link>https://community.powerbi.com/t5/Power-Query/How-to-filter-a-column-based-on-a-column-from-another-table/m-p/1801141#M53915</link>
      <description>&lt;P&gt;I have Table 1 that contains a column of ALL of my employees:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Employee ID&lt;/TD&gt;&lt;TD&gt;Sales Value&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;25&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;75&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;I have Table 2 that contains a SUBSET of employees and their info:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Employee ID&lt;/TD&gt;&lt;TD&gt;First Name&lt;/TD&gt;&lt;TD&gt;Last Name&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;Jon&lt;/TD&gt;&lt;TD&gt;Doe&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;Jane&lt;/TD&gt;&lt;TD&gt;Doe&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;I want to filter my Table 1, so that it only contains rows that show up in Table 2. Table 1 after the filter should look like this:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Employee ID&lt;/TD&gt;&lt;TD&gt;Sales Value&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I achieve this? Bonus: is there a way to achieve this without doing a Join? The tables are millions of rows long, so I don't know how join would impact performance.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 19:27:47 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/How-to-filter-a-column-based-on-a-column-from-another-table/m-p/1801141#M53915</guid>
      <dc:creator>rahme</dc:creator>
      <dc:date>2021-04-22T19:27:47Z</dc:date>
    </item>
    <item>
      <title>Graph with multiple series</title>
      <link>https://community.powerbi.com/t5/Power-Query/Graph-with-multiple-series/m-p/1801140#M53914</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Context&lt;/STRONG&gt;&lt;BR /&gt;I have two tables. I use table 2 to divide the value by the quantity.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Table 1 Column Names&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Ref&lt;/TD&gt;&lt;TD&gt;Code&lt;/TD&gt;&lt;TD&gt;Food&lt;/TD&gt;&lt;TD&gt;?&lt;/TD&gt;&lt;TD&gt;Class&lt;/TD&gt;&lt;TD&gt;Category Header&lt;/TD&gt;&lt;TD&gt;Category&lt;/TD&gt;&lt;TD&gt;Value&lt;/TD&gt;&lt;TD&gt;Year&lt;/TD&gt;&lt;TD&gt;Source&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Test&lt;/TD&gt;&lt;TD&gt;k00022&lt;/TD&gt;&lt;TD&gt;Chocolate&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;Sweet&lt;/TD&gt;&lt;TD&gt;Sales&lt;/TD&gt;&lt;TD&gt;Quarter 1&lt;/TD&gt;&lt;TD&gt;1,000.00&lt;/TD&gt;&lt;TD&gt;2016-17&lt;/TD&gt;&lt;TD&gt;XX&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Table 2 Column Names&amp;nbsp;&lt;BR /&gt;&lt;/STRONG&gt;Code is unique.&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Code&lt;/TD&gt;&lt;TD&gt;Quantity&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;k00022&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Measure&lt;/STRONG&gt;&lt;BR /&gt;In PowerBI I create a measure to divide Value / Quantity.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Graph&lt;/STRONG&gt;&lt;BR /&gt;X axis = Year&lt;BR /&gt;&lt;BR /&gt;I want to have the graph have two lines. One line for a particular food type e.g. chocolate and the cost per year.&lt;BR /&gt;I also want to have another line which is the averge of the value/quantity per class. So for blueberry which has a class of fruit, I want to have the average of fruit as a second line.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 19:18:47 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Graph-with-multiple-series/m-p/1801140#M53914</guid>
      <dc:creator>Dashmir</dc:creator>
      <dc:date>2021-04-22T19:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Compare current period to the average of that period of the last X years.</title>
      <link>https://community.powerbi.com/t5/Power-Query/Compare-current-period-to-the-average-of-that-period-of-the-last/m-p/1801072#M53913</link>
      <description>&lt;P&gt;Thanks, Ying,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I've tried yesterday and today to solve the issue, this is what I have right now, focusing on RAIN column:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;RAIN Comparison = 
AVERAGEX (
    FILTER (
        ALLEXCEPT ( 'WEATHER',WEATHER[ID1],WEATHER[Month] ),
        MONTH ( 'WEATHER'[DATE] ) &amp;gt;= 4
            &amp;amp;&amp;amp; MONTH ( 'WEATHER'[DATE] ) &amp;lt;= 7
            &amp;amp;&amp;amp; DAY ( 'WEATHER'[DATE] ) &amp;gt;= 1
            &amp;amp;&amp;amp; DAY ( 'WEATHER'[DATE] ) &amp;lt;= 16
            &amp;amp;&amp;amp; YEAR ( 'WEATHER'[DATE] )
                &amp;lt;= CALCULATE (
                    YEAR ( MIN ( 'Calendar'[Date] ) ),
                    ALLSELECTED ( 'Calendar'[Date] )
                )
    ),
    [RAIN]
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Result:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ciervax_0-1619114687868.png" style="width: 400px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/500215i8D1B23385B3CE267/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ciervax_0-1619114687868.png" alt="ciervax_0-1619114687868.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I've tried the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;RAIN Comparison = 
AVERAGEX (
    FILTER (
        ALLEXCEPT ( 'WEATHER',WEATHER[ID1],WEATHER[Month] ),
        MONTH ( 'WEATHER'[DATE] ) &amp;gt;= 4
            &amp;amp;&amp;amp; MONTH ( 'WEATHER'[DATE] ) &amp;lt;= 7
            &amp;amp;&amp;amp; DAY ( 'WEATHER'[DATE] ) &amp;gt;= 1
            &amp;amp;&amp;amp; DAY ( 'WEATHER'[DATE] ) &amp;lt;= 16
            &amp;amp;&amp;amp; YEAR ( 'WEATHER'[DATE] )
                &amp;lt;= CALCULATE (
                    YEAR ( MIN ( 'WEATHER'[DATE]) ),
                    ALLSELECTED ( 'WEATHER'[DATE] )
                )
    ),
    [RAIN]
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ciervax_1-1619115074055.png" style="width: 400px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/500216i53C36F9C6B224DAF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ciervax_1-1619115074055.png" alt="ciervax_1-1619115074055.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;But still no luck, I am not able to get in column rain, the rain of the current period, and RAIN comparison difference between the current period vs average of the last X years.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This is my target but with the correct numbers on the column "RAIN vsXy"&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ciervax_2-1619115237803.png" style="width: 400px;"&gt;&lt;img src="https://community.powerbi.com/t5/image/serverpage/image-id/500217i520AAA5ED96FFEE3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ciervax_2-1619115237803.png" alt="ciervax_2-1619115237803.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance, really appreciate your help.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 18:17:14 GMT</pubDate>
      <guid>https://community.powerbi.com/t5/Power-Query/Compare-current-period-to-the-average-of-that-period-of-the-last/m-p/1801072#M53913</guid>
      <dc:creator>ciervax</dc:creator>
      <dc:date>2021-04-22T18:17:14Z</dc:date>
    </item>
  </channel>
</rss>

