<?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: Dynamic Dropdown Uniqueness Issue- Is it possible to retain all the values of x? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-Dropdown-Uniqueness-Issue-Is-it-possible-to-retain-all/m-p/598032#M49028</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/122285"&gt;@BrentHetherwick&lt;/a&gt;&amp;nbsp;-&amp;nbsp;Here for the dropdown:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Field for Label - is like the title&lt;/LI&gt;&lt;LI&gt;Field for Value - is like the ID&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Hence ID has to be unique. Now Field for Label and Field for Value both could be the same field does not necessarily have different fields.&lt;/P&gt;&lt;P&gt;Now if you want X as value and title both, and as you mentioned X is unique.&lt;/P&gt;&lt;P&gt;For Y you cannot do that same because Y value is not unique.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or you can try updating this query while keeping everything else in the current state to see if this works what you expect or not:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup LT | fields X, Y | stats values(X) as X by Y | eval X=mvjoin(X, ", ")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps!!! Karma/upvote would be appreciated!!!&lt;/P&gt;</description>
    <pubDate>Tue, 17 May 2022 05:26:45 GMT</pubDate>
    <dc:creator>VatsalJagani</dc:creator>
    <dc:date>2022-05-17T05:26:45Z</dc:date>
    <item>
      <title>Dynamic Dropdown Uniqueness Issue- Is it possible to retain all the values of x?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-Dropdown-Uniqueness-Issue-Is-it-possible-to-retain-all/m-p/597998#M49019</link>
      <description>&lt;P&gt;I have a dropdown in a dashboard that uses a lookup table with columns X and Y.&amp;nbsp; The values in X are unique; the values in Y are not.&amp;nbsp; I am using X in "Field for Label" and Y in "Field for Value".&lt;/P&gt;
&lt;P&gt;The problem is that when I do not dedup Y, I get an error below the dropdown that says,&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="terminal,monaco"&gt;Duplicate values causing conflict.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;The search string I'm using is this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| inputlookup LT | fields X, Y&lt;/LI-CODE&gt;
&lt;P&gt;When I change it to this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| inputlookup LT | fields X, Y  | dedup Y sortby X&lt;/LI-CODE&gt;
&lt;P&gt;...the error disappears.&lt;/P&gt;
&lt;P&gt;What I would like is to retain all the values of X instead of removing some with the dedup operation.&amp;nbsp; Is this possible?&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 20:49:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-Dropdown-Uniqueness-Issue-Is-it-possible-to-retain-all/m-p/597998#M49019</guid>
      <dc:creator>BrentHetherwick</dc:creator>
      <dc:date>2022-05-16T20:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Dropdown Uniqueness Issue- Is it possible to retain all the values of x?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-Dropdown-Uniqueness-Issue-Is-it-possible-to-retain-all/m-p/598032#M49028</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/122285"&gt;@BrentHetherwick&lt;/a&gt;&amp;nbsp;-&amp;nbsp;Here for the dropdown:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Field for Label - is like the title&lt;/LI&gt;&lt;LI&gt;Field for Value - is like the ID&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Hence ID has to be unique. Now Field for Label and Field for Value both could be the same field does not necessarily have different fields.&lt;/P&gt;&lt;P&gt;Now if you want X as value and title both, and as you mentioned X is unique.&lt;/P&gt;&lt;P&gt;For Y you cannot do that same because Y value is not unique.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or you can try updating this query while keeping everything else in the current state to see if this works what you expect or not:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup LT | fields X, Y | stats values(X) as X by Y | eval X=mvjoin(X, ", ")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps!!! Karma/upvote would be appreciated!!!&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 05:26:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-Dropdown-Uniqueness-Issue-Is-it-possible-to-retain-all/m-p/598032#M49028</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2022-05-17T05:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Dropdown Uniqueness Issue- Is it possible to retain all the values of x?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-Dropdown-Uniqueness-Issue-Is-it-possible-to-retain-all/m-p/598171#M49036</link>
      <description>&lt;P&gt;Thank you.&amp;nbsp; This solution will work for me.&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 19:04:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-Dropdown-Uniqueness-Issue-Is-it-possible-to-retain-all/m-p/598171#M49036</guid>
      <dc:creator>BrentHetherwick</dc:creator>
      <dc:date>2022-05-17T19:04:14Z</dc:date>
    </item>
  </channel>
</rss>

