<?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 Import data from Excel from SAP, how to fill in blanks with the value above? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Import-data-from-Excel-from-SAP-how-to-fill-in-blanks-with-the/m-p/81059#M36930</link>
    <description>&lt;P&gt;Often there are data tables in Excel or from SAP that do not repeat values down a column.&amp;nbsp; This is not missing data.&amp;nbsp; The data is implied from the last cell in the column that has a value.&amp;nbsp; &amp;nbsp;Is there a way to get JMP to fill in my imported data with those values?&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="JMP Question Fill in Blanks.png" style="width: 713px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/13698iD4355B9742BC3599/image-size/large?v=v2&amp;amp;px=999" role="button" title="JMP Question Fill in Blanks.png" alt="JMP Question Fill in Blanks.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Oct 2018 17:01:39 GMT</pubDate>
    <dc:creator>BSwid</dc:creator>
    <dc:date>2018-10-25T17:01:39Z</dc:date>
    <item>
      <title>Import data from Excel from SAP, how to fill in blanks with the value above?</title>
      <link>https://community.jmp.com/t5/Discussions/Import-data-from-Excel-from-SAP-how-to-fill-in-blanks-with-the/m-p/81059#M36930</link>
      <description>&lt;P&gt;Often there are data tables in Excel or from SAP that do not repeat values down a column.&amp;nbsp; This is not missing data.&amp;nbsp; The data is implied from the last cell in the column that has a value.&amp;nbsp; &amp;nbsp;Is there a way to get JMP to fill in my imported data with those values?&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="JMP Question Fill in Blanks.png" style="width: 713px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/13698iD4355B9742BC3599/image-size/large?v=v2&amp;amp;px=999" role="button" title="JMP Question Fill in Blanks.png" alt="JMP Question Fill in Blanks.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 17:01:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Import-data-from-Excel-from-SAP-how-to-fill-in-blanks-with-the/m-p/81059#M36930</guid>
      <dc:creator>BSwid</dc:creator>
      <dc:date>2018-10-25T17:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Import data from Excel from SAP, how to fill in blanks with the value above?</title>
      <link>https://community.jmp.com/t5/Discussions/Import-data-from-Excel-from-SAP-how-to-fill-in-blanks-with-the/m-p/81063#M36933</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/12865"&gt;@BSwid&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Highlight the values and right-click and select Fill.&lt;/P&gt;
&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-VrMzFpZzE6gKHYyLH-OuiYtskut1ANCcw1446h856r359" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6064701464001" data-account="6058004218001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6058004218001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-VrMzFpZzE6gKHYyLH-OuiYtskut1ANCcw1446h856r359');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.jmp.com/t5/video/gallerypage/video-id/VrMzFpZzE6gKHYyLH-OuiYtskut1ANCc"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 17:19:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Import-data-from-Excel-from-SAP-how-to-fill-in-blanks-with-the/m-p/81063#M36933</guid>
      <dc:creator>stan_koprowski</dc:creator>
      <dc:date>2018-10-25T17:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Import data from Excel from SAP, how to fill in blanks with the value above?</title>
      <link>https://community.jmp.com/t5/Discussions/Import-data-from-Excel-from-SAP-how-to-fill-in-blanks-with-the/m-p/81065#M36935</link>
      <description>&lt;P&gt;This little script should do what you want&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
dt = current data table();
for(I=2, I&amp;lt;=N rows(dt),  I++,
     if(:room[I] == "", :room[I] = :room[I-1]);
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 25 Oct 2018 17:36:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Import-data-from-Excel-from-SAP-how-to-fill-in-blanks-with-the/m-p/81065#M36935</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-10-25T17:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Import data from Excel from SAP, how to fill in blanks with the value above?</title>
      <link>https://community.jmp.com/t5/Discussions/Import-data-from-Excel-from-SAP-how-to-fill-in-blanks-with-the/m-p/81197#M36938</link>
      <description>Before posting the question I tried creating a script using "for each row(If())" similar to your script. I didn't have success. Is there any reason for each row() shouldn't work and your for (i=) structure is better?</description>
      <pubDate>Thu, 25 Oct 2018 18:21:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Import-data-from-Excel-from-SAP-how-to-fill-in-blanks-with-the/m-p/81197#M36938</guid>
      <dc:creator>BSwid</dc:creator>
      <dc:date>2018-10-25T18:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Import data from Excel from SAP, how to fill in blanks with the value above?</title>
      <link>https://community.jmp.com/t5/Discussions/Import-data-from-Excel-from-SAP-how-to-fill-in-blanks-with-the/m-p/81211#M36939</link>
      <description>I tried your script and had the same problem. I suspected the column name as the problem. My actual column name is "Room/Area" (I modified your script to replace room with Room/Area). When I change the column name it to Room the script works fine. There must be some special character syntax for column names in JSL?</description>
      <pubDate>Thu, 25 Oct 2018 18:31:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Import-data-from-Excel-from-SAP-how-to-fill-in-blanks-with-the/m-p/81211#M36939</guid>
      <dc:creator>BSwid</dc:creator>
      <dc:date>2018-10-25T18:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Import data from Excel from SAP, how to fill in blanks with the value above?</title>
      <link>https://community.jmp.com/t5/Discussions/Import-data-from-Excel-from-SAP-how-to-fill-in-blanks-with-the/m-p/81212#M36940</link>
      <description>That was cool! I changed the name of the column back to RoomArea and the script automatically updated. And now I can see the syntax for the special characters.&lt;BR /&gt;&lt;BR /&gt;Names Default To Here( 1 );&lt;BR /&gt;dt = Current Data Table();&lt;BR /&gt;For( I = 2, I &amp;lt;= N Rows( dt ), I++,&lt;BR /&gt;If( :Name( "Room/Area" )[I] == "",&lt;BR /&gt;:Name( "Room/Area" )[I] = :Name( "Room/Area" )[I - 1]&lt;BR /&gt;)&lt;BR /&gt;);</description>
      <pubDate>Thu, 25 Oct 2018 18:35:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Import-data-from-Excel-from-SAP-how-to-fill-in-blanks-with-the/m-p/81212#M36940</guid>
      <dc:creator>BSwid</dc:creator>
      <dc:date>2018-10-25T18:35:58Z</dc:date>
    </item>
  </channel>
</rss>

