Powershell CSV populate columns

Hi ~~ ~ I have a exisiting CSV. I would like to use power shell to add 3 columns
and those columns values will be vlookup expressions.
can we do that in powershell ?

oh~~ i have found the solution my self~~
for ($i = 1; $i -le $rowcount; $i++) {
  #$ws.cells.item($i,15).activate()
  $ws.cells.item($i,15) = '=VLOOKUP(A'+$i+',''C:\[ServerDescription.xlsx]ServerDescription''!$A:$E,5,FALSE)'
   # $GoLiveDate = $ws.Cells.Item($i, 1).Value
   # $GoLiveDate
   # break

Similar Messages

  • How to populate columns in IVIEW using ABAP FM ?

    Hi All,
    I need to populate columns in IVIEW using ABAP FM. I had developed a FM which is working fine in SAP ABAP. Now Functional people has done the configuration for this FM to MSS.
    When we go to the IVIEW in MSS, My FM is not getting triggered in the MSS portal, it is not displaying any values in that particular column of IVIEW. I dont know why.
    Can anybody help me out? If u need any more details i'll provide that..

    Hi,
    If you need only two why to fetch three ?
    Just doing it by yourself will show you what will happen.
    Regards
    Yoonas

  • Import CSV file: column count mismatch by always 1

    Hello,
    I am trying to import data from a CSV file into a HANA db table with an .hdbti file.
    I have a large structure of 332 fields in the table. When I activate the files to start the import, I always get the following message:
    CSV table column count mismatch. The CSV-file: Test.data:data.csv does not match to target table: Test.data::test. The number of columns (333) in csv record 1 is higher than the number of columns (332) in the table.
    But even if I delete the last column in the CSV file, the message stays the same. I also tried adding an additional field in the table on HANA, but then the column numbers in the error message just increase by 1. Then the message is: The number of columns (334) in csv record 1 is higher than the number of columns (333) in the table.
    So, it seems, whatever I do, the system thinks always that the csv file has one column too much.
    With another smaller structure of 5 fields, the import worked that way.
    Do you have an idea what the problem could be?
    Regards,
    Michael

    Hi Michael,
    It may be coz of delimiter problem or something. Can you paste the control file content here. So that i can check it out. Issue may be in your control file.
    Also if you can show the contents of the your *.err error log file, we can have a broader picture.
    Regards,
    Safiyu

  • Using PowerShell to Add Columns to A CSV File

    Hello,I wonder if someone can shed some light on this. I have a PowerShell script which has been working perfectly well pulling tab-seperated text log files off individual PCs, adjusting the data within and combining them into a single CSV for processing by our reporting tools via Excel and SQL. These files are call history logs generated by Toshiba Call Manager software installed on each PC. They keep a log of every call made by the phone linked to the individual user's software. By combining them for reporting, we get a clear and accurate picture of time spent on the phone etc.The problem we have is I need two extra columns added. One is for the person's name ('Person'), taken from the log file name, the other is a column for the call duration (which is logged under 'Dur' as a unit of time, e.g. 4:12 for 4 mins 12 seconds) and we...
    This topic first appeared in the Spiceworks Community

    Hello,I wonder if someone can shed some light on this. I have a PowerShell script which has been working perfectly well pulling tab-seperated text log files off individual PCs, adjusting the data within and combining them into a single CSV for processing by our reporting tools via Excel and SQL. These files are call history logs generated by Toshiba Call Manager software installed on each PC. They keep a log of every call made by the phone linked to the individual user's software. By combining them for reporting, we get a clear and accurate picture of time spent on the phone etc.The problem we have is I need two extra columns added. One is for the person's name ('Person'), taken from the log file name, the other is a column for the call duration (which is logged under 'Dur' as a unit of time, e.g. 4:12 for 4 mins 12 seconds) and we...
    This topic first appeared in the Spiceworks Community

  • Data set created out of csv file: columns not recognized, too many rows

    After uploading a csv file I got out of the OPP the columns don't get recognized in the dataset viewer. Perhaps this happens because the delimiter is a semicolon instead of a comma? Unfortunately, I have no influence how the data gets exported out of the OPP. Is there any option to configure which delimiter to recognize, like it's possible in excel?
    Further, is it possible to configure from which row on the data should be taken into account, similar to excel? With the csv file I get out of the OPP, the data only starts with row 7, while row 6 has the headings.

    After uploading a csv file I got out of the OPP the columns don't get recognized in the dataset viewer. Perhaps this happens because the delimiter is a semicolon instead of a comma? Unfortunately, I have no influence how the data gets exported out of the OPP. Is there any option to configure which delimiter to recognize, like it's possible in excel?
    The delimiter cannot be configured. Comma is the delimiter. I would suggest that you open this file in text editor then replace semicolon with comma. After that you can reupload your dataset.
    Further, is it possible to configure from which row on the data should be taken into account, similar to excel? With the csv file I get out of the OPP, the data only starts with row 7, while row 6 has the headings.
    This is not configurable as well.

  • How to populate column value from a sequence in adv table

    Hi Everyone,
    This is my requirement. When a user clicks on add another row button of advance table a new row should appear with ID column populated as a sequence value. For eg: When the page renders for the first time, no records are shown in the advance table. when user clicks on add another row button a new row should be added with the ID column poplulated as 1. When the user clicks on add another row button for the 2nd time, the ID coulmn value should be 2 and so on.
    After user clicks on submit button data will be inserted to the data base table.
    Please tell me how to populate the column values with a sequence 1,2,3 ..so on on click of add another row button.
    Thanks in Advance
    Sunny!

    Hi Gyan,
    Below is the code I'm using in PFR.
    OAAdvancedTableBean tableBean = (OAAdvancedTableBean)webBean;
    OADBTransaction Tr=amobj.getOADBTransaction();
    if ( (tableBean.getName().equals(pageContext.getParameter(SOURCE_PARAM)))
    && ADD_ROWS_EVENT.equals(pageContext.getParameter(EVENT_PARAM)))
    System.out.println("in if clause");
    Number lineNumber = Tr.getSequenceValue("paymentLineSequence");
    testLineEOViewImpl vobj = amobj.gettestLineEOView1();
    vobj.getCurrentRow().setAttribute("SundryRequestLineNumber",lineNumber);
    When i click on Add Another Row button its throwing an exception as below.
    oracle.apps.fnd.framework.OAException: java.lang.ClassCastException: oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean
         at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.lang.ClassCastException: oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean
         at oracle.apps.ap.payments.webui.testCO.processFormRequest(testCO.java:98)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    java.lang.ClassCastException: oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean
         at oracle.apps.ap.payments.webui.testCO.processFormRequest(testCO.java:98)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

  • How to Populate columns automatically

    Hi,
    Choosing an Employee ID in EMPNO column thru a LOV, how to populate the corresponding LASTNAME, FIRSTNAME columns populated automatically?
    Thanks!

    if I was correct understend this is way>
    When select ID from LOV as select list
    select D50 ID, R50 ID FROM EMPNO on page number 10
    from field (:P10_ID) with SUBMIT default button referenced at 10 page
    1.
    On form chose select list (by default is text field)
    and type
    select d100 LASTNAME, R100 LASTNAME FROM EMPNO WHERE ID=:P10_ID
    D100 display in form, R100 return into tables, id selected from page 10
    (same with column FIRSTNAME)
    2. With trigger INSERT or UPDATE
    gordan
    http://gordanmilojevic.blogspot.com/

  • Select CSV output columns

    Hi,
    I am using APEX 3.1.2.00.02 and was wondering why you can select which columns to output on the Print Attributes tab, but not select which columns are outputted to the CSV download on the Report Attributes tab.
    Graham

    Hello Graham,
    I don’t have an answer to your question, but if you’re looking for a practical solution, the following might help - Re: Condtional Export to Excel .
    Regards,
    Arie.

  • Split CSV output column

    I need to split a exported field from CSV file generated by Export-CSV Serverlist.csv in VMWare PowerCLI.
    Get-VM * | Select Name,Notes | Export-Csv Serverlist.csv -NoTypeInformation
    Current CSV output:
    Name
    Note
    Server1 Exchange Server at HQ
         Group=5
    *** I need to move "Group=5" to next column instead in the same field.  Every Note field have Group=x.
    Name
    Note Group
    Server1 Exchange Server at HQ
    Group=5

    If I understand you correctly, you want to take the csv file you just made and create a csv file with three headings: Name, Note, Group. The value for Group is currently listed in the Note field.
    Import-CSV Serverlist.csv |
    Select Name, @{Name="Note";Expression={($_.Note -split "Group\=")[0]}},@{Name="Group";Expression={(($_.Note -Split "(Group\=)")[1..2]) -join ""}} |
    Export-CSV newServerlist.csv -NoTypeInformation

  • PowerShell CSV script behaving strangely with different keyboard language layout

    Hello all,
    OK kinda stumped on this one. I have written the below simple script that takes a group and outputs its members to a CSV file. However, the script is not outputting correctly when it is run under a different keyboard layout, in this case a Norwegian
    keyboard layout ("For" loop doesn't serve any purpose in this trimmed script version but was left in as this was the script that was tested):
    cls
    import-module ActiveDirectory
    $group = "Group1"
    #grabbing all of the groups properties so they can be referenced easily when needed (reduces multiple calls to AD)
    [array]$members = get-adgroupmember $group
    $Report = For($i=0;$i -lt $members.count;$i++){
    #When processing the first member in the group, output this way
    If($i -eq 0){$Table = @{`
    "UserID"=$members[$i].SamAccountName;`
    "Type"=$members[$i].objectclass
    #When processing all other members of the group, output this way
    Else{$Table = @{`
    "UserID"=$members[$i].SamAccountName;`
    "Type"=$members[$i].objectclass
    #Create the table using the above output
    New-Object psobject -Property $Table | select 'UserID','Type'
    } #end of $Report and "for" loop above
    #Export the table to CSV on the user's desktop
    $Report | export-csv C:\Users\$env:Username\Desktop\$group.csv -NoTypeInformation
    #Open the CSV file we just created
    invoke-item C:\Users\$env:Username\Desktop\$group.csv
    The script outputs to CSV fine for my "English" keyboard layout:
    However, when the script is run on a computer with a Norwegian keyboard layout, the output is not delimited correctly:
    Has anyone ever dealt with anything like this, or know why the output is not delimiting correctly? There are no errors when running the script in either English or Norwegian keyboard layout.

    Ahhh... I bet you guys are exactly right!
    I did a quick Google search and found this TechNet thread where jrv discusses an issue similar to mine:
    http://social.technet.microsoft.com/forums/scriptcenter/en-US/4de7ed7a-f1b3-4e35-98b1-ef1f7f2ee7b2/powershell-export-from-excel-to-csv-having-delimiter
    One of the links jrv gives in the article describes how to find what delimeter you're using:
    http://www.howtogeek.com/howto/21456/export-or-save-excel-files-with-pipe-or-other-delimiters-instead-of-commas/
    So it looks like I can just run a "(get-culture)" command in my script before I output to CSV and then use the "delimeter" parameter of export-csv. With the get-culture cmdlet, there's 2 parameters I believe I can use: the "LCID" parameter, and the "keyboardlayoutID"
    parameter (but I can't seem to find a difference between the two parameters). Would you guys know which one of these parameters (LCID or keyboardlayoutID) might determine the delimiter used in CSV's? (link to LCID's below)
    http://msdn.microsoft.com/en-us/goglobal/bb964664.aspx

  • SQLLDR: Is it possible to import CSV using column defined in CVS?

    Hello,
    We are in 11gR1 ...and I have just practiced easy SQLLDR import ... So I feel quite new in the domain.
    We receive CSV files with, at their first line, the column titles, ...
    These CSV have their columns never at the same place ... and we experience difficulties to import their data...
    The column titles are the same, but not their position in the file...
    Here are small examples :
    CSV1 :
    Project;Customer;Title *;Description *;Submitted By;Submitted On
    Maintenance 1 2 3;CUST_A;Analysis;Description of the Analysis;Bob Dylan;19/08/2008
    Maintenance B;CUST_B;Development;Description of the project;Bob Dylan;19/08/2008
    CSV2 :
    Title *;Description *;Project;Customer;Submitted On;Submitted By
    Admin; Description of Administration; Proj1; Cust_A; 25/12/2008; Prince
    CSV3 :
    Description *;Customer;Title *;Project;Submitted By;Submitted On
    Desc profile;Cust_B;Analysis;Projet_A; Phil Collins; 11/03/2009
    I hope that their is a solution ...
    I suppose that someone got a similar issue ...
    Thanks in advance for your help,
    Olivier

    Hello,
    Yes, you are correct ...
    like in the examples I provided, the column titles are giving the position of the column data .. but there can have different positions
    So, at the moment, I play with the Unix script to decide with CTL I should take ....
    So, it looks like, there is no other issue than duplicating the code and the CTL files ...
    Any other suggestions or advices ?
    Thanks in advance,
    Olivier

  • BUG: SQL Developer 1.5.3 CSV export column order broken

    There's a bug in the 1.5.3 release of SQL Developer regarding data export. This bug re-orders the column order in the data export to be alphabetically sorted. This produces mangled CSV files if used on a table or a view.
    This is a critical bug to me since I need to produce lots of ad-hoc data CSV export files. I'm staying with SQL Developer 1.5.0.53 (53.38) for now as it doesn't have this problem.
    This is the same bug as present in Jdeveloper 11.1 as described in my post here: BUG: Jdev 11.1.1.0.0 -- DB table data export column order is not preserved
    Quoted from that post:
    When I connect to Oracle database, get the table list, right click on the table and select 'Export Data'->csv. The dialog box opens with three tabs: Format, Columns, Where. The column order displayed in both tabs Columns and Where is alphabetic. Because alphabetic ordering re-arranges columns from their initial ordering in the table, this screws up CSV export because columns are not in their intended order. This same problem occurs when I try to export data from views to generate a CSV file with a particular column order.
    Please open/check bug report if it's already open.
    Thanks!

    This happens with all of the export options for tables or views if you right click from the connections tab table list. If I pull it up in the main window and go to the data tab, I can then right click and it will keep the column id order for some of the views and tables. But not all.
    I am running 1.5.3 Build Main 5783 on a Windows XP Professional Service Pack 3 platform

  • CSV file column heading

    Hi Experts,
    This is File to IDOC scenario. The source file is a csv file with header and item records.
    The file comes with column headings and now problem is how to remove the column headings using my content conversion.
    Any help would be appericiated
    Regards,
    Vijay

    Hi Prakash,
    Yes you are right but now my problem is the file will not have the header all the time. Actually the source files are generated from different legacy systems so some may have column headings and some may not have.. but the structure remains the same.
    Regards,
    Vijay
    Message was edited by: Vijay Kuruvila
    Message was edited by: Vijay Kuruvila

  • Csv destination column

    Good day, I have some simple SQL as my source.
    select '00' B 
    union all
    select '00' B 
    union all
    select '00' B 
    union all
    select '00' B 
    union all
    select '00' B 
    union all
    select '00' B 
    I want to have a .csv destination file with column B having values 00 throughout
    But I get a single 0 value in the csv. 
    Please assist

    Hi Zimiso,
    After texting the issue in my local environment, I can reproduce it when use Microsoft Excel to open the csv file. As per my understanding, excel always format data based on the data appearance. By default, when we directly type “00” in a excel cell, it
    would be automatically displayed as “0”. Because it is acted as a number data. But the actual value is “00”.
    So if we want to see “00” value in the csv file, please open it with Notepad program.
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Is there a special token that I can put in a stimulus file CSV channel column that implies leave the current value?

    Versistand version is 2013 sp1.
    I am using CSV stimulus expressions in my real-time sequence, and would like a channel to retain its current (last) value until a certain time step is reached. Is there a way to do this?
    Example CSV stimulus file:
    timestamp,chan1,chan2
    0,0,<keep current value>
    10,1,<keep current value>
    20,1,5
    30,2,10
    In this example, chan2 would retain its current value until timestamp 20.
    Is there any way to implement this functionality?
    Regards,
    Rick Howard

    Thanks! This is valuable feedback. I can't think of a way to do this natively with the CSV playback functionality for real-time sequences. Some thoughts on how this might be done:
    1. Create your own utility to script real-time sequences based on a CSV file. Extend the functionality to have a special marker in a cell that designates not to change the value for the channel that timestep. You don't have to start from scratch. This open source tool and this one both script real-time sequences and stimulus profiles to playback table-based data sets (though in different ways).
    2. Using software fault-insertion to fault the channel value that you want to maintain the initial value for for the first X seconds of playback of the CSV file. You could, for instance, play another sequence at the same time as your CSV file to fault the channel to its current value so that the CSV playback fails to overwrite the value.

Maybe you are looking for