<?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 Prevent Map from Loading Until Filter Values Are Assigned in SAS Viya in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Prevent-Map-from-Loading-Until-Filter-Values-Are-Assigned-in-SAS/m-p/952778#M18532</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I’m working on a map visualization in SAS Viya, and I want to ensure that the map doesn’t load any data until specific filter values are assigned by the user. Currently, the map starts loading data as soon as it is initialized, which is not the desired behavior.&lt;/P&gt;&lt;P&gt;My goal is to delay the map's data loading until the filter conditions are explicitly set. For example, the map should only display data after the user selects values in the filter controls.&lt;/P&gt;</description>
    <pubDate>Fri, 06 Dec 2024 20:26:41 GMT</pubDate>
    <dc:creator>sbhemre</dc:creator>
    <dc:date>2024-12-06T20:26:41Z</dc:date>
    <item>
      <title>Prevent Map from Loading Until Filter Values Are Assigned in SAS Viya</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Prevent-Map-from-Loading-Until-Filter-Values-Are-Assigned-in-SAS/m-p/952778#M18532</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I’m working on a map visualization in SAS Viya, and I want to ensure that the map doesn’t load any data until specific filter values are assigned by the user. Currently, the map starts loading data as soon as it is initialized, which is not the desired behavior.&lt;/P&gt;&lt;P&gt;My goal is to delay the map's data loading until the filter conditions are explicitly set. For example, the map should only display data after the user selects values in the filter controls.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 20:26:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Prevent-Map-from-Loading-Until-Filter-Values-Are-Assigned-in-SAS/m-p/952778#M18532</guid>
      <dc:creator>sbhemre</dc:creator>
      <dc:date>2024-12-06T20:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent Map from Loading Until Filter Values Are Assigned in SAS Viya</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Prevent-Map-from-Loading-Until-Filter-Values-Are-Assigned-in-SAS/m-p/952779#M18533</link>
      <description>&lt;P&gt;This may be a little tedious depending on how many prompts you have but one way to achieve this is to assign a Parameter to the "required" prompts.&lt;BR /&gt;Then you can assign a filter to the map and any other object you don't want to load yet using the "IsSet" function. The filter would something like this:&lt;BR /&gt;&lt;BR /&gt;IF ( IsSet('Parameter'p))&lt;BR /&gt;RETURN (1=1)&lt;BR /&gt;ELSE (1=2)&lt;BR /&gt;&lt;BR /&gt;which basically checks to see if there is a value for the parameter. If yes, then return values. If no, then return no values.&lt;BR /&gt;&lt;BR /&gt;Hopefully that makes sense!&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 20:32:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Prevent-Map-from-Loading-Until-Filter-Values-Are-Assigned-in-SAS/m-p/952779#M18533</guid>
      <dc:creator>HunterT_SAS</dc:creator>
      <dc:date>2024-12-06T20:32:09Z</dc:date>
    </item>
  </channel>
</rss>

