<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to lookup a SharePoint People field with multiple selections in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-lookup-a-SharePoint-People-field-with-multiple-selections/m-p/3228016#M118295</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="555763" data-lia-user-login="ITBeard" class="lia-mention lia-mention-user"&gt;ITBeard&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Please consider adding a custom column to the PowerQuery Editor.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;= Text.Combine(Table.SelectRows(#"User Information List",(x)=&amp;gt; List.Contains(Text.Split([#"Autor(s)Id"],";"),x[Id]))[Title],";")&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Note that the data types of the id columns in the two tables need to be the same, otherwise they need to be converted to be consistent in the code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;Best Regards,&lt;BR /&gt;Gao&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Community Support Team&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;If there is any post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT size="3" color="#008080"&gt;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT size="3"&gt;&lt;FONT color="#008080"&gt;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#008080"&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;Thanks a lot!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" color="#FF0000"&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;How to get your questions answered quickly&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;--&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;How to provide sample data in the Power BI Forum&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 10 May 2023 02:15:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-05-10T02:15:06Z</dc:date>
    <item>
      <title>How to lookup a SharePoint People field with multiple selections</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-lookup-a-SharePoint-People-field-with-multiple-selections/m-p/3220557#M117704</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't figure out how to create a new column with a lookup of a SharePoint people field with mutiple selections.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use the following formula but it returns only the first value.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Name = &lt;/SPAN&gt;&lt;SPAN&gt;LOOKUPVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'User Information List'&lt;/SPAN&gt;&lt;SPAN&gt;[Title]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'User Information List'&lt;/SPAN&gt;&lt;SPAN&gt;[Id]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Final Documents'&lt;/SPAN&gt;&lt;SPAN&gt;[Autor(s)Id]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;There's a way to return all values with a semicolon delimiter?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 04 May 2023 17:13:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-lookup-a-SharePoint-People-field-with-multiple-selections/m-p/3220557#M117704</guid>
      <dc:creator>ITBeard</dc:creator>
      <dc:date>2023-05-04T17:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to lookup a SharePoint People field with multiple selections</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-lookup-a-SharePoint-People-field-with-multiple-selections/m-p/3224239#M118006</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="555763" data-lia-user-login="ITBeard" class="lia-mention lia-mention-user"&gt;ITBeard&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Please create a calculated column.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Name = 
CONCATENATEX (
    CALCULATETABLE (
        DISTINCT ( 'User Information List'[Title] ),
        FILTER (
            ALL ( 'User Information List' ),
            'User Information List'[Id] = 'Final Documents'[Autor(s)Id]
        )
    ),
    'User Information List'[Title],
    ","
)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;Best Regards,&lt;BR /&gt;Gao&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Community Support Team&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;If there is any post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT size="3" color="#008080"&gt;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT size="3"&gt;&lt;FONT color="#008080"&gt;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#008080"&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;Thanks a lot!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" color="#FF0000"&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;How to get your questions answered quickly&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;--&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;How to provide sample data in the Power BI Forum&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 04:49:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-lookup-a-SharePoint-People-field-with-multiple-selections/m-p/3224239#M118006</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-08T04:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to lookup a SharePoint People field with multiple selections</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-lookup-a-SharePoint-People-field-with-multiple-selections/m-p/3226987#M118220</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In your example, you have multiple names with the same ID in table "User Information List" but it is not exactly my problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my case, I have multiple IDs delimited by semicolon in Autor(s)Id (Final Documents) table and I try to create a new column that will convert those IDs in Names delimited by semicolon with Id of "User Information List". There's only one name per Id in "User Information List" Table&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I hope you can find a solution for me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you!!&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 12:30:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-lookup-a-SharePoint-People-field-with-multiple-selections/m-p/3226987#M118220</guid>
      <dc:creator>ITBeard</dc:creator>
      <dc:date>2023-05-09T12:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to lookup a SharePoint People field with multiple selections</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-lookup-a-SharePoint-People-field-with-multiple-selections/m-p/3228016#M118295</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="555763" data-lia-user-login="ITBeard" class="lia-mention lia-mention-user"&gt;ITBeard&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Please consider adding a custom column to the PowerQuery Editor.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;= Text.Combine(Table.SelectRows(#"User Information List",(x)=&amp;gt; List.Contains(Text.Split([#"Autor(s)Id"],";"),x[Id]))[Title],";")&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Note that the data types of the id columns in the two tables need to be the same, otherwise they need to be converted to be consistent in the code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;Best Regards,&lt;BR /&gt;Gao&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Community Support Team&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;If there is any post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT size="3" color="#008080"&gt;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT size="3"&gt;&lt;FONT color="#008080"&gt;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#008080"&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;Thanks a lot!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" color="#FF0000"&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;How to get your questions answered quickly&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;--&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;How to provide sample data in the Power BI Forum&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 02:15:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-lookup-a-SharePoint-People-field-with-multiple-selections/m-p/3228016#M118295</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-10T02:15:06Z</dc:date>
    </item>
  </channel>
</rss>

