In SAS How to Create Tables Like Pivot |PROC TABULATE in SAS | Learnerea

Поділитися
Вставка
  • Опубліковано 28 гру 2024

КОМЕНТАРІ • 36

  • @williamstan1780
    @williamstan1780 2 роки тому +2

    Thanks for you help …. Very informative and useful….. best lecturer ever

  • @rajukumarkotrangi
    @rajukumarkotrangi Рік тому +1

    Thank you so much! I have a question , can we put any name in that empty A1 position (left of origin and top of type there is a empty )

    • @learnerea
      @learnerea  Рік тому

      Yes you can!
      At 20:44, notice the line number 7, the "box" statement... you can use this statement to put whatever you want to write over there..

  • @danayoung4460
    @danayoung4460 2 роки тому +2

    Fantastic! Thank you so much! Question, what if I need to use the tabulate sheet join with another dataset? How can I used the tabulate that I create from here as a dataset not having column direction changed to rows?

  • @Learn_Everything127
    @Learn_Everything127 Рік тому

    Such a valuable training and awesome way of explaining. Thanks for your support. kudos to entire team & good luck🙂

  • @mateomacca228
    @mateomacca228 2 роки тому +2

    Great! I want to export the whole table. Is that impossible with big basedata?

    • @learnerea
      @learnerea  2 роки тому

      Do you want to export report or the raw data.. if you want to export the report i.e. the output of proc tabulate -
      1. you can first output that in a table and then can export as any other table
      2. you can use the ods process, you may like to watch below -
      ua-cam.com/video/wbzUMnYcQbk/v-deo.html

  • @ajaykushwaha4233
    @ajaykushwaha4233 2 роки тому +2

    Very well explained

  • @TheYi1985
    @TheYi1985 Рік тому +1

    Fantastic!

  • @balakumarn7852
    @balakumarn7852 2 роки тому +2

    Thank you! Have you got materials for sas EG?

    • @learnerea
      @learnerea  2 роки тому +1

      Hi Balakumar,
      Whatever we have explained in SAS OnDemand or University edition, almost all of them can be used in EG as well.
      SAS EG is a licensed version and usually not taken by the individuals because of affordibility.
      you can just post your questions here which you have specific to EG and we will try to support on that

    • @balakumarn7852
      @balakumarn7852 2 роки тому

      @@learnerea Thanks for the quick response. I have asked you because, SAS Guided tutorial is still utilized for enterprise data warehouse persay but mainly has GUI. This is not available in university or On-demand. How is it the same? The semantics is little different. Data manipulation is the same in Base SAS and EG is this what you meant?
      My question is not relevant in this context as I wanted to do functional testing.

  • @Klisania_A
    @Klisania_A 2 роки тому +1

    Another question: How to sent more than one summary to the same excel file ( in two different tabs i.e). I'm trying to sent them but the second report overlap the first one even I do put different cell addresses!
    Thanks again!

    • @learnerea
      @learnerea  2 роки тому

      you can try exporting them on different sheet, let me know if that doesn't work

  • @abhinavbhardwaj9158
    @abhinavbhardwaj9158 Рік тому

    Thanks for this amazing video

  • @sathishr9808
    @sathishr9808 3 місяці тому

    Can we add subtotal also and total as well if possible

  • @sanskarsharma5732
    @sanskarsharma5732 Рік тому +1

    U ARE GREAT BROTHER. KEEP IT UP AND PLEASE COTINUE TO MAKING THESE TYPES OF FULL DETAILS VIDEOS ON SAS SQL.

  • @mohanpatil7778
    @mohanpatil7778 2 роки тому +1

    How to export to xlsb format... Please guide.

    • @learnerea
      @learnerea  2 роки тому

      try below, if it works on your machine -
      proc export data=sashelp.cars(obs=10)
      outfile="/home/u49504224/excelFiles/cars.xlsb"
      dbms=xls replace;
      run;
      if this gives you any error, put the script and error both here in the comment, we will see it further

  • @ramachandranmg2828
    @ramachandranmg2828 2 роки тому +2

    Nice explanation.. please post video on SQL pass through in SAS.

  • @Klisania_A
    @Klisania_A 2 роки тому +1

    A very informative video. My question: how to format the summary in non decimal numbers?
    Thnx

    • @learnerea
      @learnerea  2 роки тому

      In the table statement, where you provide the numeric variable name put >> *f=18.

  • @leratoratlhogo7422
    @leratoratlhogo7422 Рік тому +1

    Great video. What if I don't want the grand total to be a sum but instead I want it to be an average (grand total)

    • @leratoratlhogo7422
      @leratoratlhogo7422 Рік тому

      e.g. I have 2 3 4 and I want grand total to be (2+3+4)/3=3 rather than (2+3+4)=9 ?

    • @learnerea
      @learnerea  Рік тому +1

      Try something like below -
      proc tabulate data = sashelp.cars;
      class origin drivetrain;
      var msrp;
      table origin all,msrp*(mean) all;
      run;

  • @banktig
    @banktig Рік тому +2

    👍

  • @Learn_Everything127
    @Learn_Everything127 8 місяців тому

    Can we add the subtotal on this Sir...!!! 🙂

  • @7979sunny
    @7979sunny Рік тому

    Thanks for posting video..I have doubt on one option Row=float.could you plz explain.

    • @learnerea
      @learnerea  Рік тому

      This is related to how SAS displays the output results in the Results Viewer when running procedures that produce tabular output.
      Here's a breakdown:
      ROW=FLOAT: It causes the output rows to flow (or 'float') continuously rather than breaking at page boundaries. This is particularly useful when generating HTML or RTF output where the concept of a "page" doesn't really apply. By setting rows to float, you avoid unnecessary page breaks in your output.
      COULD: It's an instruction to SAS to try to float rows, but if it can't for some reason (like some incompatibility with other options), then it won't and will fall back to default behavior.
      By setting option ROW=FLOAT.COULD; in your SAS session, you're telling SAS to attempt to float rows in the output, but if it encounters issues, it won't stop the process or return errors; it will just proceed with the default row behavior
      To use this option, you'd typically set it at the beginning of your SAS session or program:
      options ROW=FLOAT.COULD;
      /* rest of your SAS code here */

    • @7979sunny
      @7979sunny Рік тому

      @@learnerea thank you so much for the detailed explanation