IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

ODS et reporting Discussion :

PROC GKPI et affichage des bounders [GRAPH]


Sujet :

ODS et reporting

  1. #1
    Membre à l'essai
    Femme Profil pro
    Étudiant
    Inscrit en
    Août 2014
    Messages
    24
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Localisation : France, Eure (Haute Normandie)

    Informations professionnelles :
    Activité : Étudiant
    Secteur : Finance

    Informations forums :
    Inscription : Août 2014
    Messages : 24
    Points : 23
    Points
    23
    Par défaut PROC GKPI et affichage des bounders
    Bonjour à tous,

    Je déroule le code qui suit:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    proc GKPI mode=raised;
    hslider actual= &mvTotNPIES15 bounds=(0 &mvTotNPIES10 &mvTotNPIES15 &mvNbPiece)/ bvalue
    format="commafr8.2"
    colors= (green orange red)
    bfont=(f="calibri" height=.4cm)
    lfont=(f="calibri" height=.4cm) 
    label= "Nombre de pièces en stock au &mvDatPiece1, avec visualisation du stock de moins de 10 et 15j";
    run;
    et j'obtiens la découpe que je veux mais les valeurs des bounds ne s'affichent pas pourtant j'ai bien précisé l'option BVALUE.
    Pourriez-vous me dire ce qui fait que je ne les visualisent pas? Je vous ai mis en PJ la figure obtenue.

    Je vous remercie d'avance,
    Images attachées Images attachées  

  2. #2
    Membre à l'essai
    Femme Profil pro
    Étudiant
    Inscrit en
    Août 2014
    Messages
    24
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Localisation : France, Eure (Haute Normandie)

    Informations professionnelles :
    Activité : Étudiant
    Secteur : Finance

    Informations forums :
    Inscription : Août 2014
    Messages : 24
    Points : 23
    Points
    23
    Par défaut
    Quelqu'un a une idée ??!!

  3. #3
    Membre éprouvé
    Homme Profil pro
    Statisticien/développeur BI
    Inscrit en
    Janvier 2012
    Messages
    326
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 49
    Localisation : France, Oise (Picardie)

    Informations professionnelles :
    Activité : Statisticien/développeur BI
    Secteur : Transports

    Informations forums :
    Inscription : Janvier 2012
    Messages : 326
    Points : 1 142
    Points
    1 142
    Par défaut
    Bonjour,

    Le code est correct.
    Peux-tu poster une log avec les options mprint, mlogic et symbolgen ?

    Je pense à un problème d'espace d'affichage ... ton &mvTotNPIES15 est proche du &mvNbPiece

  4. #4
    Membre à l'essai
    Femme Profil pro
    Étudiant
    Inscrit en
    Août 2014
    Messages
    24
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Localisation : France, Eure (Haute Normandie)

    Informations professionnelles :
    Activité : Étudiant
    Secteur : Finance

    Informations forums :
    Inscription : Août 2014
    Messages : 24
    Points : 23
    Points
    23
    Par défaut
    Re;

    Voici le journal avec les options demandées:


    1 ;*';*";*/;quit;run;
    2 OPTIONS PAGENO=MIN;
    3 %LET _CLIENTTASKLABEL='Code RNDC';
    4 %LET _CLIENTPROJECTPATH='';
    5 %LET _CLIENTPROJECTNAME='';
    6 %LET _SASPROGRAMFILE=;
    7
    8 ODS _ALL_ CLOSE;
    9 OPTIONS DEV=JAVA;
    NOTE: Procedures may not support all options or statements for all devices. For details, see the documentation for each procedure.
    10 GOPTIONS XPIXELS=0 YPIXELS=0;
    11 FILENAME EGSR TEMP;
    12 ODS tagsets.sasreport12(ID=EGSR) FILE=EGSR STYLE=Analysis STYLESHEET=(URL="file:///C:/Program%20Files/SAS/EnterpriseGuide/4.3/Styles/Analysis.css") NOGTITLE NOGFOOTNOTE GPATH=&sasworklocation ENCODING=UTF8 options(rolap="on");
    NOTE: Writing TAGSETS.SASREPORT12(EGSR) Body file: EGSR
    13
    14 GOPTIONS ACCESSIBLE;
    15 OPTIONS mprint;
    16 options mlogic;
    17 options symbolgen ;
    18 proc GKPI mode=raised;
    19 hslider actual= &mvTotNPIES15 bounds=(0 &mvTotNPIES10 &mvTotNPIES15 &mvNbPiece)/ bvalue
    SYMBOLGEN: Macro variable MVTOTNPIES15 resolves to 56244
    SYMBOLGEN: Macro variable MVTOTNPIES10 resolves to 43490
    SYMBOLGEN: Macro variable MVTOTNPIES15 resolves to 56244
    SYMBOLGEN: Macro variable MVNBPIECE resolves to 59562
    20 format="commafr8.2"
    21 colors= (green orange red)
    22 bfont=(f="calibri" height=.4cm)
    23 lfont=(f="calibri" height=.4cm)
    24 label= "Nombre de pièces en stock au &mvDatPiece1, avec visualisation du stock de moins de 10 et 15j";
    SYMBOLGEN: Macro variable MVDATPIECE1 resolves to 03/09/2014
    25 run;

    NOTE: PROC GKPI does not support DEVICE=JAVA. Device changed to JAVAIMG.
    NOTE: Procedures may not support all options or statements for all devices. For details, see the documentation for each procedure.
    26
    27 GOPTIONS NOACCESSIBLE;
    28 %LET _CLIENTTASKLABEL=;
    29 %LET _CLIENTPROJECTPATH=;
    30 %LET _CLIENTPROJECTNAME=;
    31 %LET _SASPROGRAMFILE=;
    32
    33 ;*';*";*/;quit;

    Format introuvable ("commafr8.2"). Application du format par défaut ("Best").
    Format introuvable ("commafr8.2"). Application du format par défaut ("Best").
    NOTE: PROCEDURE GKPI used (Total process time):
    real time 13.44 seconds
    cpu time 0.15 seconds

    33 ! run;

    34 ODS _ALL_ CLOSE;
    35
    36
    37 QUIT; RUN;
    38

  5. #5
    Membre éprouvé
    Homme Profil pro
    Statisticien/développeur BI
    Inscrit en
    Janvier 2012
    Messages
    326
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 49
    Localisation : France, Oise (Picardie)

    Informations professionnelles :
    Activité : Statisticien/développeur BI
    Secteur : Transports

    Informations forums :
    Inscription : Janvier 2012
    Messages : 326
    Points : 1 142
    Points
    1 142
    Par défaut
    C'est bien ça, il suffit de jouer avec la taille de la police pour afficher ou non les valeurs :

    Essayer avec :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    bfont=(f="calibri" height=8pt)

  6. #6
    Membre à l'essai
    Femme Profil pro
    Étudiant
    Inscrit en
    Août 2014
    Messages
    24
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Localisation : France, Eure (Haute Normandie)

    Informations professionnelles :
    Activité : Étudiant
    Secteur : Finance

    Informations forums :
    Inscription : Août 2014
    Messages : 24
    Points : 23
    Points
    23
    Par défaut
    Ca marche.

    Mercii bcp edward,

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Affichage des titres dans des proc freq
    Par tassia dans le forum ODS et reporting
    Réponses: 3
    Dernier message: 26/06/2015, 17h07
  2. Proc Tabulate/ affichage des bordures du "BOX"
    Par koulifanya dans le forum ODS et reporting
    Réponses: 3
    Dernier message: 18/12/2012, 22h30
  3. Réponses: 4
    Dernier message: 20/05/2011, 17h01
  4. choisir l'ordre d'affichage des modalités proc tabulate
    Par traersa dans le forum ODS et reporting
    Réponses: 5
    Dernier message: 17/05/2011, 16h50
  5. Eviter l'affichage des résultats d'une proc sql
    Par fafabzh6 dans le forum SAS Base
    Réponses: 0
    Dernier message: 30/07/2008, 15h42

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo