Monday 25 September 2017

Moving Media Calcolo In Sap B1


spiegano tipi di condizione Vorrei provare a rispondere alla tua domanda ad uno ad uno ltbgtExample di un tipo di condizione che si definisce il tipo di condizione per uno sconto speciale materiale. Si specifica che il sistema calcola lo sconto come un importo (ad esempio, uno sconto di INR 1 per unità di vendita). In alternativa, è possibile specificare che il sistema calcola lo sconto in percentuale (ad esempio: uno sconto del 2 per ordini superiori a 1.000 unità). Se si desidera utilizzare entrambe le possibilità, è necessario definire due tipi di condizione separati. Questo valore condizione è prelevato dalla anagrafica materiale contabile 1 visita in cui si mantiene prezzo standard e mobile prezzo medio a prezzi procedura, se tutti e tre i campi sono vuoti, il rispettivo valore della condizione affluiranno documento contabile ha fornito la condizione è mantenuto in VK11. Passi di prezzi procedura funziona nel seguente modo: - ltbgt1) Passo numero Numero che determina la sequenza delle condizioni all'interno di una procedura. ltbgt2) numero di contatore Condizione di accesso delle condizioni all'interno di un passo nella procedura di determinazione dei prezzi. Durante tariffazione automatica, il sistema tiene conto della sequenza specificata dal contatore. ltbgt3) tipo di condizione il tipo di condizione viene utilizzato per funzioni diverse. In prezzi, per esempio, il tipo di condizione permette di distinguere tra diversi tipi di sconto determinazione di uscita, tra i diversi tipi di output, come conferma d'ordine o bolla di consegna nella determinazione del gruppo, tra i diversi tipi di strategia. Descrizione del tipo di condizione ltbgt5) Dal punto di riferimento (per condizioni percentuali) step ltbgt Condizione, il cui valore è la base per pagamento percentuali. Se si specifica un riferimento di fase, allo stesso tempo, i valori di condizione delle due passi specificati ei valori condizioni dei passaggi intermedi vengono sommati. In questo caso, supplementi percentuali sono calcolate sulla base del totale. Stipendi Livello CType Descrizione FromSt Tost ActKy 20 A-B2 OvertimeWages 30 A-B3 40 A-Z1 fx vacanze 10 30 E11 Il supplemento per passo 40 viene aggiunto al totale di punti da 10 a 30. ltbgt6) per fare riferimento a passo (per le percentuali) Condizione passo fino al quale vengono sommati i valori di condizione dei passaggi precedenti. supplementi percentuali sono calcolate sulla base del totale. Se si specifica un passo da riferimento, allo stesso tempo, vengono sommati i valori di condizione delle due passi specificati ed i valori di condizione dei passi in mezzo. Stipendi passo CType Descrizione FromSt ToStep AcctKey 20 A-B2 OvertimeWages 30 A-B3 40 A-Z1 fx vacanze 10 30 E11 Il supplemento per passo 40 viene aggiunto al totale di passaggi da 10 a 30. ltbgt7) Condizione determinata manualmente condizioni, che sono in questo indicatore nella procedura di tariffazione, sono incluse solo nella determinazione (determinazione dei prezzi, outputdetermination, determinazione batch) o se sono inseriti manualmente, per esempio, nella schermata panoramica condizione a prezzi o se vengono trasferiti da un processo esterno, tale la determinazione dei costi. ltbgt8) Condizione è obbligatorio Indica se la condizione è obbligatorio quando il sistema effettua dei prezzi utilizzando questa procedura prezzi. Se, per esempio, è sempre desidera includere una condizione (IVA o imposta sulle vendite) durante la determinazione dei prezzi, è possibile impostare questo indicatore per l'appropriato tipo di condizione fiscale. ltbgt9) Condizione è utilizzato per le statistiche Questo indicatore provoca un surchage o sconto da impostare nel documento statisticamente (che è, senza alterare il valore). ltbgt10) ID Stampa per la condizione linesltbgt Controlli questione della condizione linee per la stampa di documenti come conferme d'ordine o fatture. Nelle versioni precedenti alla 4.0, i seguenti indicatori di stampa sono disponibili: 149. Linea condizione non è stampato 149 X. linea condizione viene stampata a livello di elemento 149 linea S. condizione viene stampata nei totali blocco è definire le seguente logica standard per questi indicatori di stampa: o POS Item dell'ultima condizione linea è determinata con X. o Tutte le linee di condizione che contengono un elemento più piccolo POS nella procedura di pricing vengono stampati solo se sono impostati indicatori di stampa X o S. o Tutte le linee di condizione che contengono un elemento maggiore di POS nella procedura di prezzi, che vengono prima la prima condizione imposta la linea e che hanno una condizione di IVA non statistico, ricevere indicatore di stampa S. Lo stesso vale per le linee di condizione che contengono un elemento grande rispetto POS nella procedura di determinazione dei prezzi, che vengono dopo la prima riga condizioni fiscali e una condizione di IVA non statistica attiva. O linee condizione che rappresentano un tipo di condizione fiscale sono sempre stampati in blocchi totali con indicatore di stampa S (impostato internamente o esternamente). o linee condizione che rappresentano un tipo di condizione che non è un tipo di condizione fiscale vengono stampati solo con indicatore di stampa S (SET esternamente o internamente) se il valore della condizione della linea di condizione non è uguale a zero. linee Struttura che non rappresentano un tipo di condizione (cioè subtotali) vengono stampati solo con indicatore di stampa S o X (impostata esternamente o internamente) se il valore della condizione della linea condizione è diverso dal valore della condizione della condizione precedente riga nel prezzo procedura. Per fornire una migliore panoramica di questo processo, altre 8 parametri di stampa sono disponibili dalla versione 4.0. Questi indicatori di stampa non possono tuttavia essere mescolati con i tre indicatori di stampa precedenti, X e S nella procedura di determinazione dei prezzi. Ciò significa che i nuovi indicatori sono prese in considerazione solo se una condizione linee nella procedura di pricing contenere indicatori di stampa X o S. I nuovi indicatori di stampa hanno le seguenti impostazioni, e l'influenza sul trattamento corrispondente. o A. in totale: generale o B. in totale: se il valore ltgt pari a zero o C. in totale: se il valore valore ltgt del predecessore o D. in totale: se il valore ltgt zero e il valore ltgt valore del predecessore o un. alla voce. generale o b. alla voce. se il valore ltgt pari a zero o c. alla voce. se il valore del valore di ltgt predecessore o d. alla voce. se il valore ltgt zero e il valore del valore di ltgt predecessore ltbgt11) Controlli Condizione subtotalltbgt se e in quali campi quantità condizione o parziali (ad esempio, uno sconto del cliente o il costo di un materiale) sono memorizzati. Se gli stessi campi sono utilizzati per memorizzare diverse quantità di condizione, il sistema somma i singoli importi. Tali importi condizione o parziali sono usati come punto di partenza per ulteriori calcoli. Si può, per esempio, si desidera un totale parziale di tutti gli sconti compresi nel prezzo di un ordine di vendita. Se la condizione è soddisfatta (SY-SUBRC 0), quindi la determinazione di uscita prende anche in considerazione il tipo di uscita o la sequenza di accesso, per i quali è stato specificato il requisito. Un requisito possibile sarebbe, per esempio, che la differenza dovrebbe essere fatta tra moneta documenti e valuta locale. ltbgt13) la formula per il calcolo Condizione alternativa typeltbgt formula alternativa alla formula nel sistema standard che determina una condizione. ltbgt14) formula alternativa a condizione base valueltbgt Formula per determinare la base condizione come alternativa allo standard. Una riduzione assoluta intestazione è, per esempio, distribuiti nel sistema standard secondo il valore cumulativo delle voci. Se il sistema, tuttavia, distribuisce l'intestazione sconto assoluto secondo a volume, uno sconto di testa di 30 risultati nelle seguenti sconti: ltbgt15) key account keyltbgt che identifica i diversi tipi di conto GL. La chiave di conto permette al sistema di inviare ammonta a determinati tipi di conto di gestione. Ad esempio, il sistema può inviare spese di trasporto (generati dalla condizione di prezzi di trasporto) il conto di gestione del trasporto in questione. ltbgt16) Key Account - accantonamenti provisionsltbgt chiave che identifica i vari tipi di GL Conti per competenza o disposizioni. Con l'aiuto del tasto conto, il sistema può inviare è pari a determinati tipi di conti per competenza. Ad esempio, per competenza di sconto che sono calcolati da Condizioni di prezzo possono essere imputati al conto corrispondente per ratei di abbuono. ltbgtreward per favore se questo è molto utile per rivestimenti in legno youTraditional per la vostra casa sarà sempre la scelta preferita in qualsiasi installazione raccordo. Tuttavia, è necessario il diritto appaltatore raccordo per aiutarvi a scegliere il miglior rivestimenti in legno con la minor quantità di manutenzione raccordo. Ci sono molti diversi tipi di rivestimenti in legno realizzato con materiali di legno sub-par. Don8217t lasciate che il vostro nexthellip Leggi servizi di copertura più professionale e la riparazione del tetto a prezzi accessibili Se il vostro avere problemi tetto di perdite, don8217t l'ora di contattare un imprenditore di copertura. perdite del tetto prolungate sembrare innocuo in un primo momento, ma possono trasformarsi in problemi seri rapidi Avendo perdite del tetto persistenti possono causare la formazione di muffe, soffitti danneggiati, mobili. Chiama oggi se you8217re ha bisogno ofhellip Read More Quando si cerca di ridurre i home8217s heatingcooling disegno di legge, there8217s modo migliore per risparmiare denaro che avere nuove finestre in vinile o di sostituzione del legno installati. Soprattutto, con il nuovo sconto fiscale federale di fino a 1.500 there8217s alcun motivo per non. Avere una bella piattaforma avrà sempre un ritorno positivo sul valore della proprietà. L'aggiunta di un ponte è un modo economico per espandere il vostro spazio vitale. Il costo medio per costruire un ponte è di circa 7.000 e produce un ritorno di circa 15.000 su vendere la vostra casa per 8211Not cattivo, giusto in modo da considerare avere ahellip Read More La scelta del giusto contraente raccordo è fondamentale in qualsiasi installazione raccordo. Che si tratti di installazione di rivestimenti in vinile su binario di raccordo o completamente rimuovere il raccordo esistente per il nuovo raccordo. Avere un imprenditore raccordo professionale che può fornire la migliore soluzione per il raccordo liscio installazione vi farà risparmiare un sacco di mal di testa, tempo andhellip Read More Cosa dicono i nostri clienti Molto soddisfatto volevo solo esprimere la mia soddisfazione erano con il nostro nuovo tetto e grondaie senza soluzione di continuità. Mike e il suo lavoro sono molto piacevoli e ben educato per essere intorno. Non potevo credere quanto velocemente hanno completato coperture nostra casa e garage. Hanno lasciato il più pulito posto di quando hanno cominciato e protetti i nostri arbusti, piante come promesso. Erano così felici con l'installazione del tetto, che vogliamo di nuovo per le sostituzioni di finestre. Grazie Mike Vista la loro casa: coperture Melrose MA mdash Robert Patricia Quinn, Melrose, MA MBM costruzione è valutato 5 5 basato su 3 recensioni. Trovare il giusto contraente non dovrebbe essere doloroso Facendo il miglioramento casa giusta o rimodellamento del progetto possono aggiungere valore reale a qualsiasi tipo di casa, se fatto correttamente e in modo efficiente da un autorizzato e assicurato professionale. Utilizzando materiali di alta qualità che siano efficienti, accattivante e, soprattutto energia, affidabile come bassa manutenzione rivestimenti in vinile. sostituzioni finestra. tetti a scandole e mazzi personalizzati aggiungerà valore reale. Nella maggior parte dei casi, ci si può aspettare e immediato ritorno sull'investimento, dopo avere questi miglioramenti a casa fatto. Scegliere un imprenditore che otterrà il lavoro fatto, vi guiderà attraverso ogni passo del progetto dall'inizio alla fine, senza alcun extra nascosti. I nostri servizi per la casa ci hanno dato un vantaggio sopra altre società rimodellamento casa. Essendo una delle zone migliori fornitori di servizi in rivestimenti, coperture, sostituzione finestre, e le aggiunte camera. ci dà un grande potere d'acquisto attraverso i nostri fornitori e, in cambio, in grado di passare lungo il risparmio a voi in modo Perché scegliere noi come la vostra casa rimodellamento appaltatore Ascoltiamo le vostre esigenze. Noi non utilizzare le vendite ad alta pressione, o cercare di vendere qualcosa non avete bisogno o vuole. La comunicazione è la chiave per qualsiasi tipo di progetto di ristrutturazione e vogliamo che il progetto per avere il miglior risultato possibile. Youll ottenere un tempo dettagliata del progetto stimato di completamento - senza mal di testa Si riceverà anche una delle migliori garanzie del settore per la casa, si dovrebbe mai bisogno di usarlo. Che tipo di Home Improvement Servizi Si ricerca Scegliere un appaltatore del tetto che lavorerà nel vostro interesse e non in quanto profitto si può fare tagliando gli angoli. Come Coperture edili, crediamo nel utilizzando le migliori tegole di copertura e sottostrato per dare ai nostri clienti la pace della mente. Per maggiori informazioni sui servizi di copertura, visitare: Commercial tetto piatto o di copertura residenziale non tutto il vinile e rivestimenti in legno sono gli stessi. Scegli un imprenditore raccordo professionista che vi aiuterà a capire che tipo di rivestimenti in vinile per evitare, e ciò che vi darà la migliore bang per il dollaro nel lungo periodo. Da un mazzo standard pressione-trattato, ponte mogano, o di una piattaforma composita - Weve ha ottenuto coperto. Per saperne di più ponti e portici Deck buildersOne dei concetti più difficili da spiegare quando l'introduzione di nuove persone di Business Objects è contesto. Ora immagino i lettori del blog che hanno lavorato con gli strumenti per un po 'hanno cominciato cenni con la testa d'accordo, solo per fermarsi e dire, 8220Hey, aspetta un secondo, è Dave parlando di contesti universo o calcolo rapporto contexts8221 E la risposta è, certo che si. Entrambi i concetti possono essere molto complicato e prendere un po 'per comprendere appieno. Dal momento che ho già scritto una serie di post sul blog circa contesti universo ho pensato che era il momento di rivolgere la mia attenzione alla tecnica rapporto dei contesti di calcolo. Si noti che questo concetto è usato in Desktop Intelligence e Web Intelligence, ma non in cristallo. Questo post vuole essere solo una panoramica. Ho piani per un post dettagliato su ciascuno dei vari operatori di contesto dove andrò in molto più approfondita. Per questo post il mio obiettivo è quello di introdurre il concetto e fornire alcune definizioni di base. Presentazione di calcolo contesto Il contesto di calcolo predefinito è definito dalle dimensioni che fanno parte di un blocco di rapporto. E 'questa caratteristica che rende la natura dinamica delle misure possibili. Quando le dimensioni vengono rimosse o aggiunte al blocco dei cambiamenti di contesto e gli importi misura anche cambiare. Questo è controllato dalla funzione di proiezione impostata su ogni misura dal designer dell'universo. Tuttavia, uno scrittore rapporto a volte vuole una misura per essere fissato a un valore particolare. Le percentuali sono un esempio molto semplice. Per calcolare una percentuale di contributo che ho bisogno di dividere ogni singolo valore per il totale complessivo. Per fare questo, ho bisogno di sapere come generare il totale ovunque lo voglio. Al fine di farlo. Ho bisogno di capire come utilizzare i vari operatori contesto di calcolo. Gli operatori di contesto vi è un insieme semplice (ma potente) di operatori di contesto che posso scegliere. Ho intenzione di definire brevemente ciascuno in questo post del blog e poi tuffarsi in modo più dettagliato nei prossimi post. Come ho già detto quando ho iniziato, il contesto predefinito di un atto è basato sui valori delle quote presenti nella struttura a blocchi. Posso alterare che di quelle dimensioni influire sul calcolo utilizzando uno dei seguenti tre operatori di contesto. In viene utilizzato per specificare esattamente quali dimensioni da includere in un contesto. Altre dimensioni nel blocco vengono ignorati. Aggiungere elementi di togliere dal blocco non influisce questo calcolo, a meno di una dimensione rimosso è stato specificato nel contesto. In tal caso, viene visualizzato un errore di più valori. ForEach viene utilizzato per includere una dimensione in un contesto. Il contesto di calcolo è ancora influenzato da altri valori nel blocco. PerTutto viene utilizzato per escludere una dimensione da un contesto. verranno comunque considerate altre dimensioni del blocco. L'aggiunta o la rimozione di valori da un blocco potrebbe cambiare il valore, ma sarà sempre ignorare le voci forall. Gli operatori elencati soprattutto richiedono una o più dimensioni come parte della loro sintassi. Tuttavia, contesto di calcolo può essere specificata più di un insieme di valori dimensionali. Ci sono una serie di parole chiave struttura report che può essere utilizzato come bene. In relazione illustra il contesto in rapporto o 8220grand livello total8221. Qualsiasi formula con queste parole chiave per il contesto restituirà un totale complessivo. Si noti che il totale potrebbe ancora essere influenzata da filtri di report. Nel Blocco imposta il contesto per ogni sezione del blocco. Per anni ho aspettato questa impostazione per essere rinominato in modo da riflettere come funziona davvero, ma hasn8217t. Suppongo it8217s per la compatibilità all'indietro. Se vi è un solo isolato su un rapporto poi 8220In Block8221 e 8220In Report8221 stanno per essere lo stesso. Ma quando un blocco viene suddiviso in sezioni, allora questo contesto genera un totale per ogni valore di sezione. Per questo motivo sostengo che un nome migliore sarebbe stato 8220In Section8221 invece, ma fino a quando so che cosa significa la parola specifica non ha molta importanza. Nel corpo è il contesto predefinito standard per ogni riga di dati. Con Desktop Intelligence abbiamo la possibilità di In CurrentPage che può essere molto utile e, purtroppo, non sono ancora disponibili in Web Intelligence. Probabilmente don8217t devo spiegare come il totale 8220CurrentPage8221 è derivato. Infine, queste parole chiave possono apparire in diversi punti in una formula. I più comuni sono le impostazioni 8220input8221 e 8220output8221 contesto, ma alcune funzioni (come RunningSum (), per esempio) hanno anche un contesto 8220reset8221. contesto di input viene utilizzato per determinare i valori di ingresso per la formula. contesto di output viene utilizzato per determinare la portata di uscita della formula. Aggiorna contesto viene usato per determinare quando una funzione esecuzione ricomincia da zero. Dimensioni di riferimento nel contesto di input non devono comparire nel blocco. Uscita e di reset dimensioni devono comparire nel blocco per un funzionamento corretto. Per molti calcoli il contesto di input di default funziona bene. Vi mostrerò un esempio in cui it8217s fondamentale per capire contesto di input in seguito. Per ora vorrei passare a un semplice esempio. Semplice calcolo Contesto Esempio It8217s difficile da afferrare pienamente alcune delle sottigliezze del contesto di calcolo senza buoni esempi. Per questo post vorrei fornire un esempio semplice, ma comune che ho detto prima: contributo per cento. Vorrei iniziare con un semplice blocco con una dimensione (stazione), una misura (entrate), e un totale, come mostrato qui. Questo blocco ha già un totale su di esso. Se questo fosse un foglio di calcolo tipica ho potuto fare riferimento al valore totale con un indirizzo rowcolumn, ma che il lavoro doesn8217t in Web Intelligence. Ciò significa che devo usare un'altra tecnica per generare il totale generale. Ho accennato la soluzione earlier8230 tutto quello che devo fare è creare una formula semplice che assomiglia a questo: ancora una volta la formula Here8217s: Ricavi I ricavi In relazione Ricordate che il contesto relazione a progetti di misura fino alla totale rapporto. Utilizzando tale operatore contesto di calcolo nel denominatore della mia divisione mi assicuro che sarò sempre dividendo per il totale complessivo in questa formula. I risultati What8217s Avanti Questo post appena scalfito la superficie della domanda contesto di calcolo. Ha fornito un paio di brevi definizioni e un esempio semplice. Ho diversi altri posti previsti che addentreremo molto più dettagliato su questo argomento spesso confuso. Per prima cosa ho intenzione di parlare di più su Nel rispetto PerOgni contro PerTutto e come sono diversi. Poi ho intenzione di coprire ingresso contro contesto di output e quando ogni dovrebbe essere usato. Mentre scrivo questo post nessuno di questi due sono molto di più di uno schema per ora, quindi ho don8217t ho una stima data di pubblicazione. Ma they8217ll vengono pubblicati. Infine. 125 risposte a 8220Calculation Contesto Parte I: Grazie Overview8221 per questo ottimo post, non vedo l'ora di futuri messaggi su questo argomento. contesti di calcolo sono spesso frainteso e indovinato a, anche dopo anni di esperienza con il loro utilizzo. Speriamo che questo aumenterà la comprensione di tutti gli utenti WebI e deski. Ciao Dave. Se tu fossi un DJ I8217d essere dicendo amore lo spettacolo. Ogni volta che ho bisogno di usare contesti di calcolo che devo tornare a principi primi e lavorare attraverso esempi per aiutare la mia comprensione. Quindi più approfondita i messaggi sarà grande. In ogni caso, nel tuo esempio sopra, non si ha funzione di aggregazione e senza staffe. Il mio modo semplice di ricordare la sintassi è che i contesti di input sono all'interno delle parentesi per esempio sum (misura nel contesto) e di uscita sono al di fuori dei contesti le staffe ad es sum (misura) nel contesto. Con questo in mente, è il rapporto in nel denominatore tecnicamente contesto di input o output Hi Dave, Grazie per aver scelto i contesti di calcolo come soggetto di questa post. I solo can8217t trattenermi ricordare che mi è stato chiesto la differenza tra per ciascuno e per tutti nel mio precedente interview. I risposto ma vedrà quanto di esso è giusto leggendo il vostro prossimo post8230 sto cercando alcune cose su soluzioni Integra ma couldn8217t trovarli, Quoram è popping up. Capisco che Integra è fusa con Quoram ma dove posso trovare il materiale. Ciao, Grantie, grazie per il tuo commento. La verità è che don8217t necessario utilizzare le funzioni di aggregazione per la formula se la funzione di proiezione è definita in modo corretto. Nel caso di cui sopra ho lasciato fuori per semplicità. contesto di input è sempre dentro parentesi, in modo da rispondere alla tua domanda il 8220In Report8221 è il contesto di output. Jus, la società Integra Solutions e il sito web associato non esiste più. Quando sono andato a ottenere un link alla pagina di download sul sito Quorum, sembra che hanno ridisegnato il sito dall'ultima volta che ho guardato. Ho cercato, e ci sono i file pdf ancora disponibili, ma don8217t sembrano essere indicizzato su una pagina da nessuna parte. I don8217t so cosa suggerire, diverso da quello di provare a utilizzare la loro pagina di contatto. C'è un elemento specifico che stavi cercando Se it8217s qualcosa che ho creato it8217s possibile che ho potuto postare qui sul mio blog per riferimento. Ciao Dave. Sì ho capito la proiezione e that8217s quello che mi è stato sempre al suppongo. Senza di essa esplicitamente di essere lì, non so mai se la funzione SUM (come definito dalla vostra proiezione object8217s) comprenderebbe il rapporto nella all'interno del contesto di input o output io così finisco sempre per mettere esplicitamente la funzione di aggregazione in un solo modo che io possa capire se I8217m riferimento al contesto ingresso o uscita. Mi dispiace drivvle su. So che in questo esempio it8217s né qui né là, ma it8217s cosa che mi ha infastidito e I8217ve mai avuto una risposta. Quindi, da quello che you8217re dicendo le tue entrate Nella relazione è la stessa di Somma (Entrate) In relazione. Bontà me. Vedere il motivo per cui faccio fatica. E I8217m cercando di ottenere la mia testa intorno ad un problema trappola ventilatore presso la Grande sito stesso tempo. Grazie per la condivisione il cervello. Grantie, in un dato fila di un blocco, i valori di contesto di input e output di default sono sempre 8220In Body8221. Se un valore è un piè di rottura, quindi il contesto di output si basa sulla struttura della rottura. Per rendere le cose più confuse quando si fa una proiezione Sum () l'ingresso raramente fa la differenza. Supponiamo di avere dettagliate valori di riga di 1, 2, 3, 4, e 5. Supponiamo che 1, 2, e 3 sono valori dettagliati per 8220A8221, e 4 e 5 appartengono a B, qualcosa di simile: Se faccio una pausa su il valore della quota, ottengo questo: Se voglio un totale report, doesn8217t importa se il mio contesto di input è il valore della quota (1 2 3 4 5) o il valore di rottura (6 9) in quanto entrambi i risultati sono ancora 15. le cose diventano più interessante quando le medie o le altre operazioni vengono utilizzati però. Ciao Dave, devo sempre verificare con le note quando ho a che fare con ingresso e di uscita contesti. Potrebbe dirmi la differenza tra ingresso e uscita contesti. Uno è per l'ingresso e l'altra è per l'uscita. In tutta serietà, that8217s un argomento per il prossimo post. It8217s un po 'troppo di coprire come un commento, quindi rimanete sintonizzati per more8230 Ciao Dave, ho bisogno di usare contesto di calcolo nel mio rapporto. Ho bisogno dei dati in un rapporto tra quattro diversi universi che sono in diverse grainshierarchy..It sarebbe bello se il vostro potrebbe inviare ulteriori informazioni con esempi su In, per ciascuno, per tutti, in relazione, in blocco e in contesti di calcolo corpo..thanks in anticipo .. Ciao, Yogesh, mi hanno in programma di scrivere più su PerOgni e PerTutto e così via. Ho un posto in stato di bozza, ora che ho bisogno di finire. Mi auguro che possiate essere paziente come a volte le cose si muovono lentamente. Sei sempre bene con il tuo post e mi aiuta molto. Mi piacerebbe vedere di più la pubblicazione sul contesto di calcolo. Una domanda particolare che ho è, Possiamo utilizzare dimensioni che non sono lì nel blocco ma disponibile nella query di alterare il calcolo della misura utilizzando ulteriormente contesto di calcolo estesa se siamo in grado di come dobbiamo stare attenti quando ci sono più query (dataproviders ). Ciao, Mathew, ho più messaggi in mode8221 8220draft su questo argomento. Spero di ottenere alcuni di loro hanno completato al più presto. Per rispondere alla tua domanda, qualsiasi dimensione che partecipa al contesto di output deve essere sul blocco. Una dimensione che partecipa al contesto di ingresso non deve essere presente. Ciao, Dave. Grazie per il post. I8217m trovando davvero utile. Ho riscontrato un problema, però, che a mio avviso richiede l'uso di contesto di calcolo che I8217ve stati sconvolge il mio cervello su per la settimana passata o così senza fortuna. Immaginate we8217re abbattendo entrate da parte dei clienti, ma ogni cliente poteva vivere in più stati. L'universo è costruito con un contesto che contiene i nostri clienti e le misure, e un secondo contesto che unisce ai clienti di Stati. Quando li porto in un blocco insieme, tutto funziona bene (immaginate la prima colonna è stato, secondo è del cliente, e la terza è fatturato): AX 10 AY 5 AZ 12 del 5 CZ 12 in totale: 27 (la somma dei tre clienti) Ora, se tolgo il cliente dal blocco, ottengo: a 27 (che è corretto) B 27 (vorremmo che questo sia 5) C 27 (vorremmo che questo sia 12) t: 27 Allo stesso modo, se metto rompe sugli stati, vorrei avere: AX 10 AY 5 AZ 12 in totale: 27 CZ 12 in totale: 27 I8217ve provato ogni combinazione se di ingresso e di uscita di calcolo contesti che mi veniva in mente, e sempre ottenere i risultati di cui sopra. Ogni pensiero A proposito, se si fa la differenza, we8217re su BOE XI R2 (si spera di trasferirsi a 3.1 entro la fine dell'anno). Ciao, Dario, e benvenuto. Quello che avete descritto è quello che io chiamo 8220unbalanced providers8221 dati quando si dispone di valori di quota a diversi livelli. Stato è a un livello superiore a quello del cliente, e si sta utilizzando cliente per tirare i due insiemi di dati insieme. Penso che se si legge il seguente post si vedrà una descrizione esatta del problema insieme ad una soluzione. Ora per la cattiva notizia: La funzione ForzaUnione () non esiste finché XI 3.0. Se si sta lavorando in Web Intelligence poi you8217re fuori di fortuna fino a quando si esegue l'aggiornamento. Se si utilizza Desktop Intelligence allora si può provare a utilizzare la funzione Multicube () in una soluzione simile. Grazie. Da quello che ho letto, che sembra esattamente quello che I8217m cercando. L'unico inconveniente è tutto nel mio esempio proviene da una singola providor dati (anche se con molteplici contesti), ma I8217ll fare un tentativo, quando si passa a XI 3.0. In teoria, credo it8217ll fare il trucco. Per fortuna i miei clienti haven8217t chiesto ancora, e io don8217t anticiparle cercando di costruire un rapporto con i dati che potrebbero causare questo problema. I8217m solo cercando di rimanere un passo avanti di them8230 ho dati qui sotto ora nella mia relazione voglio qui di seguito le dimensioni e numero di RiskIDs uniche a livello di entità. come sotto. cioè voglio estendere la funzione Count () per includere entità nel contesto di input. Regione Paese Count (RiskIDs) Asia India 5 hanno lasciato gentilmente sapere come scrivere la formula per sopra. Grazie, Poonam N. Ciao, e grazie per la tua domanda. Da quello che posso vedere, questo problema richiede doesn8217t contesto. È sufficiente creare una nuova variabile che unisce entità con l'identificazione dei rischi e poi contano i risultati. mentre la fusione di un nome del fornitore solo valore è duplicato. Esempio: fornitore contiene HFC, UHC, e Aetna da tavolo A. claim fornitore contiene Aetna UHC e cobra quando si unisce ho ottenuto HFC UHC Aetna Aetna Aetna cobra si ripete due volte nella dimension. could unito prego di aiutarmi a risolverlo. Salve, questo isn8217t davvero un problema di contesto. Come già detto altrove. questo blog isn8217t destinato ad essere una fonte di sostegno personale. Si potrebbe provare a BOB o contattare il supporto tecnico con le vostre domande, se non sono legati a un post qui. Grazie. Stavamo trovando problemi con il calcolo di età su un rapporto forato XI R2 SP4. Il totale abbiamo ottenuto dividendo per sempre filtrato. XI 3 caratteristica NOFILTER (oggetto trapano) funziona in SP4 8211 questo option8217 8216drill è documentato in SP4 aiuto 8211 così in precedenza avevamo optato per due origini dati, ma questo è di gran lunga migliore. È contesto di calcolo viene utilizzato solo per l'aggregazione caso negativo, quali sono le funzioni che possiamo usare pls dare una chiara definizione di contesto di calcolo ho insegnato la scorsa settimana corsi di Web Intelligence e tra le cose più importanti a mio avviso sono InputOutput contesti e tenere traccia dei dati (e le nuove formule) . Mi sarebbe piaciuto avere la possibilità in Web Intelligence per valutare una formula nel suo contesto (come abbiamo potuto con il vecchio DesktopIntelligence). Apprezzo molto il tuo stile di spiegare i concetti. Questo blog mi ha davvero aiutato molto. Cab si prega di gettare più luce su contesti di input e output Grazie saluti amp, Girish Jawale Sto cercando di creare contesto formula, ho 3 misure per venire con. misura 1 8212 PY spesa totale misura 2 8212 Cy spesa totale misura 3 8212-CY totale spesa totale (fino alla fine del mese precedente) sono stato un ble per creare la prima 2, il mio problema è sempre il 3 ° quello creato. Grazie per l'aiuto. Ciao, Sunil, si don8217t hanno un problema di contesto nel vostro scenario. Sembra che avete bisogno di un calcolo che comprende tutto tranne per il mese corrente. Vorrei sperimentare con il codice che sembra qualcosa di simile: Sum (spendere) - Sum (spendere) Dove (mese corrente mese) che vi porterà un totale complessivo e quindi 8220back out8221 l'importo per il mese in corso, lasciando l'anno corrente totale fino alla fine del mese precedente. That8217s solo un'idea e non la sintassi reale, come sono sicuro che ti rendi conto. Una sintesi bella, chiara e concisa degli operatori di contesto. I miei ques. è per quanto riguarda i calcoli utilizzando i dettagli delle dimensioni ad esempio qryDatadim userFiledim Data Area Zone Zone GeographicId (particolare della città) del sito del sito 82128212821282128212821282128212821282128211 NumCalls DenCalls Due calcoli necessari sono Data e GeographicID. Tuttavia, il calcolo per la data dipende da GeographicID come due siti condividono un GeographicID comune. per esempio. goodCalls se (numCallsdenCalls) IN geographicID lt 2 poi numCalls Mentre l'esempio precedente calcola correttamente, i valori non vengono trasferite correttamente verso l'alto per livello Data. Re-pubblicando la dimensions8230 qryDatadim8211userFiledim Date821282128211none none821282128211Area Zone821282128211Zone none821282128211GeographicId (particolare della città) Site821282128211Site 821282128212821282128212 numCalls8212-nessuno-denCalls8212 nessuno NumCalls DenCalls Ho una situazione specifica in cui si potrebbe essere in grado di guidare me. Ho un rapporto WebI in cui ho pause e la sezione impostati su alcune colonne. Come parte di calcolo sono tenuto a fare media su alcune colonne e produrre la media rapporto di rottura, la sezione e Grand media totale. Ora, quando applico la funzione media all'interno della sezione sulla colonna di pausa e di colonna sezione le medie si rivela essere right8230..but quando ho bisogno di visualizzare grande media di tutti i valori delle colonne di fuori della sezione di un altro valore 8230.the blocco appena viene riassunta up8230.no calcolo della media si place8230as consigliati ho cercato di applicare gli operatori contesto in relazione, Sezione 82308230but o nessun successo 8230.could fammi sapere se c'è un modo per raggiungere questo obiettivo. Ciao, Grazie per l'argomento e informazioni utili sul contesto, sto avendo un requisito semplice che ha bisogno di calcuate totale ouside sezione. Dire che ho una sezione sul peoduct e all'interno della sezione ci conteggio sottoprodotto Wile e quelli sottoprodotto sarà dinamico in base ai valori delle richieste. una volta che essi vengono generati ho bisogno di calucated il conteggio dei prodotti parte la sezione, io sono in grado di ottenere il cout all'interno della sezione, ma io non sono in grado di ottenere il cout ouside sezione, hai qualche idea8217s in questo numero. Darsh, si può provare a fare un conteggio somma piuttosto che utilizzare la funzione di media Hi Dave. Spesso mi piace sbattere contro il sito ogni volta I8217m googling lungo per alcune domande BO. Avete in programma di scrivere il prossimo blog su forEach e Forall presto Questi argomenti sono come lei ha sottolineato abbastanza difficile da spiegare, e anche acquisire familiarità con. Con i migliori saluti Ingrid Dave 8211 cosa posso voi Ciao Dave, Grazie say8230..thank per questo scrivere. I8217ve non è mai andato a mani vuote dopo aver letto il tuo blog. Sempre ottenere una risposta qui :) Grazie ancora Rinvio a quanto pare alcune delle formule didn8217t pubblicati corretta .. Ciao Dave, ho gerarchia Divisione-gtMarket-gtCenter. Ho creato la sezione sulla dimensione di mercato con vendite come misura. Volevo vedere le vendite a divisione non di livello per ogni mercato, anche se è sezionato dal mercato. Ho provato ad utilizzare i contesti di input e ouput ancora non lavorare. Ho provato ad utilizzare Divisione Mercato PerOgni ottengo l'errore più valori, Se uso Max (di vendita nella divisione) ottengo massimo delle vendite di tutte le Divisioni. Qualsiasi aiuto su quali contesti di calcolo o di sintassi da utilizzare sarebbe apprezzato. Si può spiegare in dettaglio la questione che Poonam ha pubblicato 8220Comment da Poonam N 15 Apr 2010 alle 06:40 8220. Volevo tutti i dimesions nel rapporto e voglio 5 da visualizzare nel totale. Può spiegare come farlo. Creare una variabile che combina ID del rischio e di entità e contare i risultati unici. Si otterrebbe Sales-1001 vendite-1001 vendite-1002 Marketing-1001 Marketing-1001 Marketing-1003 Istruzione-1001 Istruzione-1001 Quando si contano i valori unici, sarete contando questo: vendite-1001 vendite-1002 Marketing-1001 Marketing -1003 Istruzione-1001 che ti porterà 5. Ciao Dave, Lei ha spiegato clearly. Would piace sapere di più su BO. Dato che io sono nuovo di questo strumento potrebbe per favore mi consigli a pochi passi per ottenere iniziare con BO. Durante la lettura il tuo blog sempre dà qualche idea su BO. Grazie mille Ciao Dave. Volevo solo di estendere la discussione per la classifica. I8217ve utilizzato con successo dei contesti di calcolo e la classifica per mostrare ai clienti le prime X, con i restanti clienti raggruppati in 8220Others8221. Ma quando ho posto una pausa su questa dimensione, la classifica viene ripristinato entro la pausa, il che significa che ogni cliente è ora classificato come 1. I can8217t vedo un modo di raccontare le mie variabili di ignorare il ripristino in pausa. Hai incrinato questo onegt Questo blog mi ha aiutato molto nella comprensione dei concetti di base di contesti di calcolo. Grazie, Dave. Ho così che tu aveva pubblicato qualche altro blog su questo argomento che erano in drafts8230 Grazie per questo post e blog in generale. Mi ha veramente aiutato con alcuni concetti difficili che don8217t sembravano essere coperto in libri (in particolare il post sul provider di dati sbilanciati). Dopo aver letto questo mi sembrava di essere utilizzando contesti bene per la maggior parte delle cose, ma hanno colpito un muro di mattoni quando si utilizza la conta, in alcune circostanze. In particolare, utilizzando CountAll su un oggetto dimnesion. Ho scritto la questione su Bob: Se avete commenti su tale questione sarebbe bello, ma in amore I8217d generale per vedere parte 2 di questo post è il 2 ° parte di questo post è stato ancora pubblicato I8217m in attesa di esso. In trepidante attesa per il prossimo post su questo argomento. Spero che prendere un po 'di scrivere su In, Forall, contesti PerOgni presto in attesa del prossimo post Ciao Dave, ho letto il tuo blog molto frequentemente. Sono molto informativo e di facile comprensione. Il modo in cui si spiegano le cose complesse, davvero rendere la nostra vita molto facile. Trepidante attesa per i tuoi prossimi messaggi su contesti di calcolo. Ho fatto ripartire per leggere tutti i tuoi post del blog dal risveglio. I should complete, infact grasp all the BO things effectively. I8217ve recently published a few reports using the ForceMerge() function which works great in the column. The column I have this applied to has a filter on the first report and a different filter on the second report. The third report combines the two. The third report total is correct, but the first and second report column totals are not 8230 it displays the whole report total for the ForceMerge() field. What am I missing I tried: If(Provider Type Group 8220Physician8221) Then Sum(fmRTS) Else 0 but this still gives the whole report total, not just the total where 8216Physician8217. Thoughts Any help is appreciated. Your blogs are very helpful and making me understand the concepts well. This blog is also well written. I am eagerly waiting for your detailed blogs on for each and for all. Hi Dave, I8217m in desperate need of your expertise. This multivalue has me stumped. I have a report where I am calculating the amount of time that it takes to resolve a service request, in weeks. So I have a variable that calculates weeks. the example is for those that take 0-4 weeks. Variable name Count0-4 IfWeekslt5 Then Count(CompletedInstallTurnaround. SR Number) I then also have a variable that counts how many records were in that count. Variable name Total0-4 RunningSum(Count0-4) This gives me a correct total of how many service requests took between 0-4 weeks. I039m trying to display the variable Total0-4 on a second report and I get MULTIVALUE I have then tried to use the max function and the last function I039ve also tried adding quotin Reportquot to the variable above. I still get the error MULTIVALUE on each one of them. How to I get the total from the first query to display on the second query Hi, Karen, your issue is probably because you8217re referencing a dimension object in an 8220If8221 statement. If that dimension object 8211 Weeks in your case 8211 is not in the block, then the measures roll up (project) beyond the level of Weeks and therefore are no longer in the same calculation context. There are too many weeks, thus you get a MULTIVALUE error. You might try creating a couple of variables to address this. First, create a flag variable with a syntax something like this: If Weeks lt 5 Then 1 else 0 Then use this flag in the 8220Where8221 clause of another variable, like this: Count(. ) Where (Flag 1) That8217s not the exact code, but you might see where I8217m going. By using the Where clause you can reference something that isn8217t in the block, which sometimes allows you to work around a multiple value error. Dave, that worked perfect. I8217m so happy I found your site. I8217ve found so much helpful information. I had resorted to putting the calculations in the universe which is not what I wanted to do. I can pull those back out now and do it the proper way. Hi Dave, As an ex BOBJ employee and BOBJ trainer I do find your explanations very easy to understand 8211 and although a lot of what you have here i know, as you say 8211 there is always something Thank you for your sharing Hi sir Dave Rathbun can you please demonstrate how to create dynamic measures i want to calculate difference between revenue of any two year from available 3years with only 1 measure and display the difference in the other column. Thanks in advance for giving your precious time. Hi, this isn8217t really a calculation context issue, and I have seen you have posted the same question on BOB which is probably the best place. Grazie. Hi sir That isn8217t me. i saw that post but did not work. please help. waiting for your reply. As I said, it8217s not a calculation context issue, and therefore isn8217t really appropriate to address in comments on this blog post. If you can provide additional details in the topic listed, what you have tried, how your situation is different, and what you ultimately need, I suspect you8217ll get better results. Grazie. Hi Dave, I always find that your posts improve my knowledge and often my product and this post, about calculation contexts is one that I8217ve found most useful. However I have a continuing problem with contexts for median and other percentile functions. I am easily able to test the results by pushing the source out to excel, sorting and then finding the middle row so I know what I should see and can compare with what I get. When I use median function the results for each row in a block are correct but when I try to get the median for the whole block in a table footer the result has never been correct. What context should I use to fix my mistakes Thanks in advance. I have never experimented with the median function that much, and I don8217t think I8217ve ever tried to use it with a context operator. Normally the footer context is whatever the break (or breaks, if multiple) are. If I have a block with Resort, Year, and Revenue, and I break on Resort, then the footer context is In (Resort) as you probably know. Dave, you come highly recommended by members of the Bus Obj Boards. I desperately need your expertise. I need to create a report that is a top 10 ranking (which has been completed) but the report is too large to export to Excel or CSV. The crosstab report contains items on the left and individual store numbers across the top (each store number also belongs to a 8220group8221). The data is the number of cases each store has sold since the beginning of the year. My real problem is that I can get the report reduced down to an exportable (manageable) amount of data by using a filter that will limit the results for that tab to show only the results for a particular 8220group8221 of stores, but each time I use the filter, the order re-sorts based on the sales of that 8220group8221 of stores selected instead of using the grand total. I need to measure the items against the grand total because we are trying to show distribution voids. I can not get it to reflect the grand total, only the individual group total. Any help on this would be appreciated. Hey Dave , If I want to calculate the grand total of revenue for three years where there is section break in a year and break in a state how can I do it A grand total can always be generated using the context 8220In Report8221 in the formula. Glenn, you can use the NoFilter() function as part of the formula to get the grand total even after you have applied filters to the report. Awaiting for the sequel of 8220Calculation Context Part I: Overview8221 Hi Dave, I8217m triying to implement a margin of error and raise a flag if that margin is pass. I implemented this within Webi but the user will want to filter by flag ( Y N). I created a variable that will hold that flag but when I use it as a filter, it will only display one value Y, not N When the user selects that only value, Y, there8217s no data to display. I think Im missing something but cant figure what it is8230Any advise will be greatly appreciated. (Thanks) Can you post a few details about the data and the formulas you are using I suspect that what is happening is your numbers 8211 without context 8211 are being rolled up. The 8220Y8221 is then being calculated at the top 8220grand total8221 level, resulting in a single value. More details would help clarify your question. X amp Y are columns that sum up values. Those columns are in a table with the flag variable. Flag variable. If(Abs(x 8211 y) gt Abs(Margin of Error) Then 8220Y8221 Else 8220N8221 The above variable is working fine but when I set the Flag variable as a filter in the report. It would only show Y and when selected, no data is displayed. I hope this helped. Data exaple: Error Margin: 0.03 X Y F 1.1 1.2 N 1.3 1.9 Y Any thoughts Webi8217s filters cant use contexts even if you set them as dimension. Hi Dave, I have a report which will display top five projects and their revenue percentage. Percentage is of a project revenue is calculated as project revenueAll projects revs. Here i m not able get the All project revenue in each record to calculate percentage. Could you pls suggest. Sample data: project rev percentage 1 500 (5002000)10025 2 400 (4002000)10020 3 300 8230.. 4 200 82308230 5 100 82308230 Total of top five 1500 Total of all projects 2000 (i calculate using formula: sum(nofilter(projrev))) thanks in advance Satya You need an 8220In Report8221 somewhere to get the overall total. Also sometimes I have to play with the NoFilter() function and decide if it works better as Sum(NoFilter()) or NoFilter(Sum()) instead. Satya, You can use this formula 8220Measure(Sum(Measure) In Report)8221 Hi Dave, I would like to exclude a particular object in the context (file) and than take the sum with a different object as output (cons) and than sum again on file level. I8217ve tried every combination of ForAll and ForEach and even tried something with In, but it doesn8217t seem to work. I8217ve also considered using 2 different queries such that the cost is gathered on cons-level, but when using forcemerge() the cost of a consignment is only used for one file that the cons is on. I hope you understand my question. Below an overview of the data I have in my report and the results I would like to retrieve. Required summary overview: Could you please help me with this problem Or is this not possible I thought I followed your question, but then when I looked at your sample data I got confused again. How many data providers do you currently have Is your final output going to have 3 rows (as in your second example) or 5 (as in the first) Because based on the 3 rows, it seems like you can simply create a block with 8220file8221 and 8220Cons costs8221 and based on the 5 rows of raw data you showed, the cost should naturally roll up when you remove the 8220Cons8221 object. Or is this the final output you8217re looking for If what you8217re looking for is what you posted, I created your sample data in a spreadsheet, created a Webi report, and generated this output: My formula was this: Sum(Cost ForAll(File)) In (Cons) Hi Dave, Thanks for your quick response. I would like to solve my problem without using an extra data provider. Meaning that all information is available in one data provider. Currently, my raw data looks like: Cons file Cost 1 A 10 2 B 20 3 B 30 1 B 5 2 C 25 After creating a variable called 8220Cons cost8221 I can created the following table (same as raw data but including the new created variable. This variable calculates the total cost for each consignment. Cons file Cost Cons cost 1 A 10 15 2 B 20 45 3 B 30 30 1 B 5 15 2 C 25 45 Now, what I would like to do is create a block that provides me the below overview. This overview should sum all Cons Costs of each Cons on a particular file. For file B: Cost(cons 1)Cost(cons 2)cost(cons 3)15453090. file Cons costs A 15 B 90 C 45 What I get as output is the below block which is not what I need. For some reason I get the total cost if I remove the cons Object. file Cons costs A 90 B 90 C 90 I hope this clearifies my question. You get that because the 8220file8221 value is no longer available, which apparently in this case makes the 8220In File8221 act the same as 8220In Report8221 and you get the overall total. Basically it works this way: anything in the input context does not have to be in the block. Anything in the output context has to be in the block. You can8217t sum by 8220file8221 and use it to drive a calculation unless it8217s in the output block in some fashion. I also tried to create a break and fold the results, but the break total doesn8217t work because of the MULTIVALUE error that occurs. Maarten, i think your SQL should be as below to get the desired result. select B. file, sum(A. CONSCOST) from (select cons, sum(COST) as CONSCOST from TableA group by CONS ) A, TableA B where A. consB. cons group by B. file TableA has the data as below I am not sure whether we can achieve that at report level. Thanks a lot for this page 8211 I8217ve learnt a lot from it. There is something I8217m currently stuck on though and was hoping you might be able to give me a pointer: I have a report sectioned by a date dimension, but I need to have all the dates of the dimension available in each section. I8217ve tried nofilter(date) but this doesn8217t help and 8216in report8217 gives me a multivalue error. Is there a context operator that could help me with this please Hi, Rob, that doesn8217t sound like a context problem because you8217re missing dimension values rather than adjusting how measures work. There are a couple of other blog posts here that talk about making up data, perhaps one of those will help. I am currently using webi 4.0. I have two reports in one file. First one contains the overall sales of all regions and the second one is broken down by region. In the region report I need to calculate some expenses where i need to find the ratio by taking the region expenses divide by overall expenses, my measure give me UNAVAILABLE error.. This is the how my measure roughly look like : (ifExpenses1 Then Region Expenses earned profit) (ifExpenses1 Then overall Expenses earned profit) in report I used flag to avoid Multivalue error Appreciate your assistance. Hi Judy, to understand the problem clearly could you please provide a small data set and the desired result you wish to achieve Hi, I need some ideas to accomplish something. I am working on a table that needs to show the Top 10 Incidents by Configuration Item (not complicated), where I am stuck is in the column that needs to show the percentage, as I need it to show the percentage based on the total Incidents and not on the ones shown in the table: CI01 116 11.42 CI02 86 8.46 CI03 59 5.81 CI04 47 4.63 CI05 47 4.63 CI06 47 4.63 CI07 43 4.23 CI08 38 3.74 CI09 35 3.44 CI10 29 2.85 The total Incidents for this example is 1,016 and if I show the table with all data, all percentages are calculated properly. When I add a ranking or somehow filter the table, the percentages are calculated based on the information shown by the table, like this, which represents the percentage of the Top 10 only: CI01 116 21.21 CI02 86 15.72 CI03 59 10.79 CI04 47 8.59 CI05 47 8.59 CI06 47 8.59 CI07 43 7.86 CI08 38 6.95 CI09 35 6.40 CI10 29 5.30 The percentage is being calculated by this formula: CR - Ticket Count(Sum(CR - Ticket Count) In Report) CR 8211 Ticket Count is constant 822018243 sent by the database for each ticket and is defined as SUM measure in the Universe. Any ideas are appreciated. Molte grazie. A rank or filter are two different ways that data can be reduced. If you want the overall total ignoring all filters then the NoFilter() function does that for you. A good initial guess might be: CR - Ticket CountNoFilter((Sum(CR - Ticket Count) In Report)) Dave Rathbun, you are a genius. I did not know that one of the 8220NoFilter()8221. I got exactly what I was looking for. Grazie. Hi Dave, I need to see sum of all rows for one of my measure column even when a dynamic report level filter is applied in webi. i tried using noFilter() function but that is not working. You8217ll have to provide more details than 8220not working8221 in order to get any useful replies. Thanks a ton for the post. It really helped me accomplish a very detailed level report. I am hoping you could suggest a solution for one detail of my report. I have a Region - Location 8211 Status 8211 of applications table in my report. I have a Horizontal stacked Chart(x-axis Location, Y-axis of the count) by status. The problem is the is being calculated for the entire report or any value given through input control whereas I want a for each Location by Status. Example: location Bay Area I want my to be count for each statuscount of Bay Area. Whereas I get to be Count of each Status for Bay Area for the entire report or any filter I select which changes constantly. Is there a way I missed where the calculation context can be applied to the Charts Thanks much Avanthi Just waiting for your detailed post on imput vs output context. Could you please post it as early as possible. Please post the part II for calculation context, waiting eagerly to see it from you. As always, you seem to explain things where I finally have the 8220ah ha8221 moment I8217ve been missing for a very long time. Thanks Once again this one page has helped me get past a problem point. I kept trying to use ForEach and ForAll and what I need was IN Delivered 100 I am working on a report where I need to use calculation contexts8230I have the following dimensions. Users, Dates and Comments. And my table looks like this: U1 D1 C1 U2 D2 C2 U3 D3 C3 U3 D3 C4 U4 D4 C5 U4 D4 C6 U4 D4 C7 U4 D4 C8 But the Comments with the same date and username are actually the same comment8230and needs to be counted for only once. I used calculation contexts using Count(CommentIn(UserDate)). Its not working and its is giving me the following results8230 U1 D1 1 U2 D2 1 U3 D3 0 U4 D4 0 Please help ASAP Is a section considered to be a filter I have report with sections and I need to calculate a rolling sum for the previous 3 months, but I need to filter the resulting table so that it shows months 4-6 but calculates the running sum using months 1-3. Because of the version that I am running I need to calculate the sum as hours previous(hours) previous(previous(hours)). I have added the NoFilter() function around the sum calculation. When I look at the first section, the sum is correct, but when I look at the next section, the sum is being calculated using the hours figure from the first section also. So I can only assume the NoFilter() function is removing the section in the calculation. Is there any way of using NoFilter() but resetting the calculation for each section Your post is really helpful..Inspired by all your work..I myself wrote one here: gauravkalra. wordpress Let me know how does that look. I have included very less detail in my first post..and tried to keep it interesting too:). I hope to follow up with more of them. Glad to have helped. Yes, a section is definitely a filter. But all is not lost. When I have needed to do this in the past, I have done something along these lines. Assume that our section is on the Resort object, and there are three years of data within each section. I want a running total of 3 years, but only where the resort is the same. I might build three objects. The first is called 8220Previous Revenue8221 and it has this formula: If Previous(Resort) Resort Then Previous(Revenue) else 0 The next is called Previous Previous Revnue: If Previous(Previous(Resort)) Resort Then Previous(Previous(Revenue)) else 0 Finally the running 3 years of revenue: Revenue Previous Revenue Previous Previous Revenue The total will then compare the current Resort value to the previous two rows, and only include the revenue when the resort values are the same. At the same time, you could use the RunningSum() function which already has a reset function built in. So what you really have is this: U1 D1 C1 U1 D2 C2 U3 D3 C3 U3 D3 C3 (this should be C3, not C4, as it8217s the same comment) U4 D4 C4 U4 D4 C4 U4 D4 C4 U4 D4 C4 (the last four are the same) What is the desired output from this Hi Dave, I keep reading your blog to find a solution for a data calculationanalysis problem. I have a measure called result value for A4,3,2,lt2,lt2 and for B4,3,lt2,lt2,lt2. The system proveds a measure called numeric value for A4,3,2,2,2 and for B4,3,2,2,2 by removing quotltquot sign. The system also give a measure calledcalculated value for A4,3,2,1,1 and B4,3,1,1,1 by using half the value after quotltquot. I need to use a rule for my calculation. The rule is: if total count of quotltquot is less than the total count of data number, use half of the value after quotltquot. if total quotltquot is more or equal to total count of data, put the data with quotltquot to 0. I create a measure calculated valuenewin tab quotreport 1quot which gives A4,3,2,1,1 and B4,3,0,0,0. When I calculate average and percentile for calculated value and calculated valuenewfor A and B, there is no problem. But when I create another tab quotreport2quot to summarise the average and percentile, there is no problem for the average and percentile for calculated value but gives multivalue for the calculated valuenew. I try everything and not working. Per favore aiuto. Regards, Shaohua Hello, I8217m having the next problem and I want to see if you can give me some advice about it, let me explain. I have two data providers, this because the data comes from distinct databases. TABLE1 TABLE2 Date id detail Detail Cost 29413 A A1 A1 5 29413 A A2 A2 1 29413 A A3 A3 3 29413 B B1 B1 4 29413 B B2 B2 2 29413 C C1 C1 7 29413 C C2 C2 4 29413 C C3 C3 3 The report I need to launch must look like this: REPORT Date id Cost 29413 A 9 29413 B 6 29413 C 14 But what I get is something like this one: REPORT Date id Cost 29413 A 29 29413 B 29 29413 C 29 I tried to use the next combinations: Sum(cost) ForEach(Date, Id) RunningSum(costRow) RunningSum(costDate, Id) RunningSum(cost) ForEach(Date, Id) Can you help me with this calculation Hi Dave, When we use Foreach in aggregation functions with Where clause then do we need to follow specific order for specifying Foreach clause PLease see below example: My Formula is Average( Session Average Where(KP1822118243 And(Session Status8221C8221) And(Year822120138243) ) ForEach(Course CodeSession Number) ) This above formula gives right rsults but if i specify Foreach clause before 8220where8221 clause then it gives wrong result. Average( Session Average ForEach(Course CodeSession Number) Where(Kp1822118243 And(Session Status8221C8221) And(Year822120138243) ) ) PLease help me to understand the difference. Thank you, Mani Your posts are so informative and I8217m a big fan. I8217m sure this is simple and I8217m missing something, but I8217ve tried every variation of calculation context to no avail. I have four columns (shown in 8216table8217 below). I want the percentages to calculate correctly as shown in 8220COLUMN48243, but for some reason, they will not calculate as needed. So basically, I want to determine how many times a particular car feature is being used in unique models within the subset of unique Makes in the table. I then want to rank the Top 3 Car Features based on the USAGE RATIO column. It seems simple enough in theory, but I8217ve literally spent hours on this and cannot figure it out. Please let me know what I8217m missing. I would TRULY appreciate it. For the USAGE RATIO column, I8217ve used the following calculation contexts (in every variation): COLUMN3COLUMN2 Foreach(MAKEMODEL)in Block COLUMN3COLUMN2 In(MAKEMODEL) COLUMN3COLUMN2 In(CAR FEATUREMAKEMODEL) COLUMN1 COLUMN2 COLUMN3 COLUMN4 CAR FEATURE MAKE (Unique) CAR FEATURES IN UNIQUE MODELS USAGE RATIO (Column3Column2) Navigation System 50 15 30 Rear backup Camera 15 6 40 Heated Seats 30 12 40 Moon Roof 45 30 67 Top Air Bags 20 10 50 I posted a calculation context dilemma earlier, but it hasn8217t shown up yet on the site (hope it went through Please let me know if you did not receive it.) I wanted to provide a cleaner screenshot of the table in question, but can8217t figure out how to attach one to this forum. Basically, I8217m just trying to get Column 4 (USAGE RATIO). It8217s so simple on paper, in Excel, but for some reason, not in BO due to, I believe, calculation contexts, but none work for me. For some background, if you look at the data hierarchically, 8216Make8217 is at the top level, Unique 8216Model8217 is a subset of Make, and 8216Car Feature8217, the most detailed level, is offered in some 8216Models8217 by the associated 8216Makes8217. I want to show how many times a Car Feature is used in the unique Models of a given Make (which I have), and then divide that number of Models by the number of Makes for each Car Feature (which I can8217t figure out how to do and render correct results). I literally have no other folks to consult who have any BO knowledge, and BOB has produced no working suggestions so far. Hoping you can help8230 Thanks. say if I have a measure object in my report and I create a variable out of it(with no context defined) Example categorizing the revenue measure(1-100 million,100-200 million) . what will be the default context on that measure would it consider all the dimensions within the report while creating the variable The default context is based on the dimensions that are included in the block (or section) containing the new variable. For example, if the measure is in a stand-alone cell the output context would be 8220In Report.8221 If the measure is within a block, then the dimensions in the block determine the output context. If you include the specific context 8220In Report8221 within the formula, and place that measure inside of a block, then the specified context will override the dimension structure and you8217ll get the overall report total instead. Thanks, Dave, for the quick response. But the problem for me is, I have to create a section on the new variable. Just to let u know, when I used only rev in the formula 8216rev 1mill8217 then 82161-100mill8217..same Id is appearing in different categories(investigating this i found that the id has two rows in the table(database) because of a column(which is not available in my report) which has different values). So for the formula I used something like this 8216rev in (id)1mill8217 then 82161-100mill82178230thus defining the context for the measure limiting it to only the id. I was able to set up the section on this variable but ran into issues when trying to create an input control on this variable. I understand this blog is not intended for personnel issues8230please ignore this if am wasting your time. Really appreciate your contribution to Business Intelligence world..especially for starters like me. You generally cannot use a measure (or a variable derived from a measure) as a section. The reason for that is the measure scope (or context) is defined by the section, not the other way around. When I have had to create a break down by range (10-19, 20-29, 30-39 and so on for ages, for example) then I have created that as a dimension object in my universe instead of trying to do it on the report. I am new to BOB webi reporting and have started at a new company where the universe is set up differently than I have worked with before, we are trying to create a simple TY vs. LY rolling 12 month report (month to date plus last 11 months compared with same time LY) I am able to get the rolling using (year100) month Nbr for each block. (block1 has LY data and block2 has TY data) the issue I am having is creating a variable that can calculate data from each block. The report is displaying Month, week of month, Returns, Sales and RA Sales for each 12 month block. Last Year (Block1) This Year (Block2) Month Week RRA LY Sales LY Month Week RRA TY Sales TY Aug 1 50 6,000 Aug 1 20 7,000 What I am wanting to do is add a 3rd block or incorporate the totals into the 2nd block that calculates RRA TY RRA LY (created variable RRA TY-LY Change) and another calculation that shows the difference (RRA TY-LY ChangeRRA LY) When I try and add these to the report I get a single value duplicated in each row or a multivalue error. Any suggestions Hope you can help a complete newbie. I8217m working in Webi Intelligence (BOXI XI R2) with no access universe design. I have created a report measure variable in web intelligence which returns 1 if a record is current and 0 if not. I have a table on the report with a section break on case manager. If I do a sum on this measure in the table footer it returns the correct value for that section. However, I8217ve been trying to do a summary table in a seperate block and when I try exactly the same formula in that, i get the multivalue error. Any ideas Marcus, the problem is probably related to the fact that your 01 indicator is only valid at the row level. Once you try to project it to a higher level you get a MULTIVALUE error because there are multiple values (two different states, in this case) to pick from. What you might try instead is to use your current indicator as part of a 8220Where8221 clause on a sum, as the values used there do not have to appear in the block. Something like: sum(Measure) where (Current Flag 1) Do you have separate objects in the universe for this year (TY) and last year (LY) or are you breaking them apart on the report I have a problem in calculating the time taken for a particular status alone involved in a service request. multivalue error. One service request will have multiple no of status such as ( pending, work in progress. closed etc).Now i want to calculate the time taken for the status 8221 pending8221 which should in the business days calculation. Request Status Start Time Stop Time Total Time Taken 101 draft 1-Jul-13 5-Jul-13 4 101 review 6-Jul-13 7-Jul-13 1 101 WIP 7-Jul-13 8-Jul-13 1 101 Pending 8-Jul-13 9-Jul-13 1 101 Pending 10-Jul-13 11-Jul-13 1 Expected output Request No Total Time Taken(Pending) 101 2 Hi, Can you provide me Calculation Context Part II Hi Dave thanks for the extrordinary articles always8230. 4 years had past we are eagerly waiting for the later chapters Me too When am I going to get around to writing them, does anybody know In all seriousness, I have dusted off my draft for part two of this article and hopefully will have it ready to post without too much delay. I love your blogs and am so glad they come up frequently when I am searching for something. I8217m a little stumped here8230 I have a situation where I am pulling in a couple of dimensions (customer and fiscal periods) and the sales associated. What I want to do is show the sales for each customer for ONLY the latest fiscal period. So for example I am showing: Cust 1 8212 201401 8212 1,000 Cust 1 8212 201402 8212 2,000 Cust 1 8212 201403 8212 1,500 Cust 2 8212 201401 8212 1,700 Cust 2 8212 201402 8212 2,000 Cust 2 8212 201403 8212 2,500 What I WANT to show is: Cust 1 8212 201403 8212 1,500 Cust 2 8212 201403 8212 2,500 I8217ve gotten it pretty close, but I can8217t seem to get it just right. Is there any way to get a measure for the max (dimension) If there is, I can8217t seem to find it anywhere or guess at what the syntax might be. So I created a variable to give me the max fiscal period and since they are chosen via prompt, the varialbe is Max(Main Query. Fiscal Period) In Report. I called it MaxUserResponse. Then I came up with this formula: (Sales ForEach (MaxUserResponse)) The result I am getting is the total of Sales across the fiscal periods, which makes sense, since that is what ForEach does. But I tried (Sales In(MaxUserResponse)) also. I got the total for all customers for all fiscal periods. when I tried (Sales In(CustomerMaxUserResponse)) I got the total across all fiscal periods per customer. What am I missing I know I am close8230 Please help Thank you I think I figured it out. I just added a where clause to my formula. So now it looks like: (Sales In (Main Query. Customer Name)) Where (Main Query. Fiscal Period MaxUserResponse) Thanks for reading8230 Tietje excellent post8230 Were you able to publish rest of the context operators as per suggested by you8230 I am sure reading your posts will surely help clarify lods of my doubts. Moreover do you have a link or website where in i can access other posts of yours to get better insight of BO Hi, I need to implement a similar solution. I need to split the data into three category. based on the percent to total value, the top 70 into catagory 1. next 20 to category 2, last 10 to category 3. Any idea how i can do that. Ver Useful Link, It saved my day. Thanks Dave. I have a requirement to display an average number of beds in a hospital, but each hospital has a validity start and end date. I need to display the number of beds per hospital at a summary level, which is an average number for each hospital irrespective of how many entries there are for validity dates per hospital. Detail level data: Hospital - Validity start - Validity End - No of Beds 8212821282128212821282128212821282128212821282128212821282128212821282128212821282128212821282128211 ABC - 01012000 - 31012000 - 10 ABC - 01022000 - 28022000 - 20 DEF - 01012000 - 31012000 - 20 GHI - 01012000 - 31012000 - 30 GHI - 01022000 - 28022000 - 30 I need the above data summarised as follows: Hospital - Avg. No of Beds per hospital 82128212821282128212821282128212821282128212821282128212821282128212 ABC - 15 DEF - 20 GHI - 30 I have tried to average the measure ForAll 8220Validity Start8221, in an effort to exclude the date dimension from the calculation. I have also tried to average the measure 8220In Hospital8221 in an effort to only include Hospital in the calculation context. In both cases, I get the following output, where it adds up the measure for every entry of date, per hospital: Hospital - Avg. No of Beds per hospital 82128212821282128212821282128212821282128212821282128212821282128212 ABC - 30 DEF - 20 GHI - 60 Can you please help I have a weird situation. I have Account nos and balance coming from one query. The BO report seems to neglecting the negative balance. So when I sum up the balance only positive values are considered. That is to say Sum(Balance) gives the same result as Sum(Balance) Where (Balancegt0) and Sum(Balance) Where (Balancelt0) returns null. But there is negative balance. If I pull account no and balance into a separate report and apply a report filter for Balancelt0 then I can see the negative balances against the accounts. But if I remove the accounts then it displays blank cell for balance. Any idea what is going on. I used the example from this link bi. srivatsakr201108converting-rows-into-single-cell-comma. html to get multiple text values corresponding to an id into one cell, but as I need to do this for two type of multiple values, and my main query has already too much information, I did everything exactly as in the example in my main query and worked beautifully, but for the second one I am attempting to create it in a second query (as if I include this one also in the main query it takes forever), I tested in a second report and it worked fine, but then I tried to include it in the main report and I get multivalue, I merged the main ids, I made the variables as detail variables, I created an indicator variable (Boolean) for the comparison to the maximum value and it still doesn8217t work. In the second query and report I have something like this ID 8211 type of contact 123 8211 regular mail 123 8211 email 123 8211 phone 234 8211 email when I do the link example in a second report I8217m able to get it to look like this: ID 8211 Type of contact 123 8211 mail, email, phone 234 8211 email but when I try to move it to the main report it looks like this: ID 8211 Type of contact 123 8211 multivalue 234 8211 email my variables look like this: This one I also tried it as a Boolean and it still didn8217t work. Max Type ContactMax(Type of Contact) In (Query2.ID) A detail variable link to the main id of Query1 ID Type of Contact Type of Contact A detail variable link to the main id of Query1 Concat Type Contact If IsNull(Previous(Self(ID)))Then ID Type of Contact Else (ID Type of Contact8221, 8220Previous(Self(ID))) A measure variable: All Type of Contact Concat Type Contact Where (ID Type of Contact Max Type Contact) What am I missing how can I properly link it to the main report and get it to work Thanks a lot in advance, Hi Dave, when are you going to write about context in much more details. awaiting your post. please make it fast. Was wondering if you could help me calculate the percentages (G) of inlist values (VX) and (YX) within the same dimension(V, X,Y) on a crosstabs. V X Y G F A 6 100 25 B 12 200 50 B 18 300 75 C 24 400 100 D 30 500 125 E 36 600 150 I have a requirement in a Webi Report as below. I have everything except the YTD Planned cost. So now I need to calculate the YTD Planned cost based on the Planned cost, Portfolio, Project Name, Month and Frequency. Can some body help me how to achieve this in BO Webi or through SQL query is also fine. Hi Dave, I became a big fan of you. But I am not able to find the next blogs on input and output contexts as promised by you in this blog. Is it that you have not published those yet or I am not finding the proper link Eagerly waiting for your posts. Regards, Arup I am having a lot of trouble getting a simple query to change to what i want it to 8211 I believe i am inputting the formula correctly as i have not have problems before using something like this:. query 1 (Product Store Stock) Query 2 (Store) Distinct list of store8217s set by myself in a different universe. Merge: query1.store query2.store Source dimension: Query2.store Currently query 1 will give me a total stock figure by store product level. I require the store8217s from query 2 to be the one i sum up against so i8217ve tried: Sum(stock. Total Branch Stock Unit ForEach (Query 2.STORE)) This still gives me the stock figure from query 1 (it should be lower as i have tested this on another tab to see what the output is). I8217ve tried many variations of the above formula but all seem to get me the sum of product from query 1 when infact i need it to sum against query 2 store. Please advise, help would be much appreciated. lascia un commento

No comments:

Post a Comment