Help in Pivot Table (or another ways)
I need to do following view in the report,can anyone tell me how can I do that??
This is original report:
DATE AMOUNT1 AMOUNT2 AMOUNT3
01/02/2009 5 6 7
02/02/2009 2 3 4
I want to change this view into this:
01/02/2009 02/02/2009
AMOUNT1 5 6
AMOUNT2 6 3
AMOUNT3 7 4
How can I do this? Please help me..
Have a look here:
http://obiee101.blogspot.com/2008/05/obiee-pivot-table-measure-label.html
regards
John
http://obiee101.blogspot.com
Similar Messages
-
Help with pivot tables in excel
Hello,
I need some help with a very specific issue I am getting in excel.
So, I have this pivot table that gets data from an external source (a huge database) and everything is working fine.
The problem comes with some lines in our database that are written in asian letters (the thai alphabet). Every thai entry that we import appears like ????????.
I can look into the DB (via MySQL Workbench) and everything is alright in there. I can also just copy some of the content into excel and the letters shows up normally.
Is there something I can do to fix it?
Thank you very much
Daniel AyresI can see it is working fine for roman/latin characteres, and it is not working for thai or japanese characteres. Since I dont have data written using the russian or the arabic alphabet, there is no way I can tell you if it would or not work..
-
Dear
i am working on BI Publisher Desktop Version and trying to generate a RTF Template in which pivot table has to be used
Below is the format of my XML File.
-<G_C1>
<R>1</R> row 1
<C>1</C> column 1
<C1>1300001 ASL 112531 2</C1>
<C2>1 10 1.5</C2>
<C3>120000105 12.5</C3>
<C4>120000105 </C4>
<C5>OPeration</C5>
</G_C1>
-<G_C1>
<R>1</R> row 1
<C>2</C> column 2
<C1>1300001 ASL 112531 2</C1>
<C2>2 10 1.5</C2>
<C3>120000106 12.5</C3>
<C4>120000106 </C4>
<C5>OPeration</C5>
</G_C1>
-<G_C1>
<R>1</R> row 1
<C>3</C> column 3
<C1>1300001 ASL 112531 2</C1>
<C2>3 10 1.5</C2>
<C3>120000107 12.5</C3>
<C4>120000107 </C4>
<C5>OPeration</C5>
</G_C1>
......... and sow on till row 16 and column 8
i am facing two issues,
first i have to show 5 columns in cross product, but pivot table option shows option for 4 columns only
secondly characters are not shown when i preview the template its shows 'NnN' in all columns
Kindly help me in generating the template.
I have to define the template in XML Publisher of Oracle E-Business Suite R12
Regards,
Muhammad Usmancheck these samples
http://winrichman.blogspot.com/2008/08/pivot-table-cross-table-with-fixed.html
and
https://blogs.oracle.com/xmlpublisher/entry/new_skool_crosstabbing
i will let you if i know i get anything. -
Hi all,
We are having 6 measures. My requirement is that all the 6 measures needs to placed in rows one after other(each measure in one row) And in column level Fiscal year should be displayed to the corresponding 6 measures. Is this possible in pivot table...
Kindly help..urgent
Thanx in advance...
Regards,
NareshPlace measure lables in the rows and year column in column and all the measures in measures
-
Hi
How to show grand total two times in pivot table?is it possible
Thanks in AdvanceHave a look here:
http://obiee101.blogspot.com/2008/05/obiee-pivot-table-measure-label.html
regards
John
http://obiee101.blogspot.com -
I'm trying to create an airplane seat map. 2 tables boarding and seats, boarding has the seat assignment (seatid) and seats has the id as well as row (eg 1) and position (eg A, B,C). I'm trying to pivot the two together so I see which seat
is taken and which is open (1-taken, 0-open). Result should look like this:
Row |A|B|C|
___1|1 0 1
___2|0 0 0
___3|0 0 0
___4|1 0 0
Using SQL server, run a below query get error "incorrect synatx near 'PIVOT'
SELECT *
FROM (SELECT s.row, s.position,
CASE when b.seatid is null
then 0
else 1
end seat_free
from seats s
left outer join
boarding b
on (b.seatid=s.id)
PIVOT (max (seat_free)
FOR position in ('A' as A, 'B' as B, 'C' as C))
Order by s.row
Thanks for the help!Hi,
in addition to pivot solutions posted by RSingh and Latheesh, you can use another solution without pivot:
select roww,MAX([A]) as [B],MAX([B]) as [A],MAX([C]) as [C]
from (
select roww ,
[A] = CASE
when position = 'A' and not ISNULL(boarding.seatid, '0') = '0' then 1
else 0
END,
[B] = CASE
when position = 'B' and not ISNULL(boarding.seatid, '0') = '0' then 1
else 0
END,
[C] = CASE
when position = 'C' and not ISNULL(boarding.seatid, '0') = '0' then 1
else 0
END
from seat
left join boarding on seat.id = boarding.seatid
) T
group by roww
Hope this is helpful :-)
[Personal Site] [Blog] [Facebook] -
Require help with Pivot table query in SQL Server 2008
Hi,
I have a query regarding converting columns to rows in SQL Server 2008. Please look at the table below.
I need the output to look something like this :
The columns for the children can be dynamic or fixed ( max of 6 children) based on the Family_ID. For Example: A family can have 1 child or more than 1 child.
Not sure how to go about it. Would appreciate your help :)Looks like you need dynamic pivot on multiple columns. I have two articles on this topic, start from this one
T-SQL:
Dynamic Pivot on Multiple Columns
It has reference to my other blog post.
For every expert, there is an equal and opposite expert. - Becker's Law
My blog
My TechNet articles -
Please help!!! Need another way of doing this!!
Hello i was wondering if someone could help me with this. I am sure there could be a different way of doing this. Maybe setting up an arraylist or an array and searching through it until the selected item in the combo Box is equal to the item in the array
list??
//MY CODE
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
if (comboBox1.SelectedItem == "Toyota")
{ string file = "txtFiles/toyotaModel.txt"; string send = rModelInfo(file); }
else if (comboBox1.SelectedItem == "Ford")
{ string file = "txtFiles/fordModels.txt"; string send = rModelInfo(file); }
else if (comboBox1.SelectedItem == "Hyundai")
{ string file = "txtFiles/hyundaiModels.txt"; string send = rModelInfo(file); }
else if (comboBox1.SelectedItem == "Chevrolet")
{ string file = "txtFiles/chevroletModels.txt"; string send = rModelInfo(file); }
else if (comboBox1.SelectedItem == "Honda")
{ string file = "txtFiles/hondaModels.txt"; string send = rModelInfo(file); }
else if (comboBox1.SelectedItem == "Dodge")
{ string file = "txtFiles/toyotaModel.txt"; string send = rModelInfo(file); }
else if (comboBox1.SelectedItem == "Ram")
{ string file = "txtFiles/toyotaModel.txt"; string send = rModelInfo(file); }
else if (comboBox1.SelectedItem == "Nissan")
{ string file = "txtFiles/toyotaModel.txt"; string send = rModelInfo(file); }
else if (comboBox1.SelectedItem == "Kia")
{ string file = "txtFiles/toyotaModel.txt"; string send = rModelInfo(file); }
else if (comboBox1.SelectedItem == "Mazda")
{ string file = "txtFiles/toyotaModel.txt"; string send = rModelInfo(file); }
else if (comboBox1.SelectedItem == "GMC")
{ string file = "txtFiles/toyotaModel.txt"; string send = rModelInfo(file); }
else if (comboBox1.SelectedItem == "Volkswagen")
{ string file = "txtFiles/toyotaModel.txt"; string send = rModelInfo(file); }
else if (comboBox1.SelectedItem == "Jeep")
{ string file = "txtFiles/toyotaModel.txt"; string send = rModelInfo(file); }
else if (comboBox1.SelectedItem == "Subaru")
{ string file = "txtFiles/toyotaModel.txt"; string send = rModelInfo(file); }
else if (comboBox1.SelectedItem == "Mercedes-Benz")
{ string file = "txtFiles/toyotaModel.txt"; string send = rModelInfo(file); }
else if (comboBox1.SelectedItem == "BMW")
{ string file = "txtFiles/toyotaModel.txt"; string send = rModelInfo(file); }
else if (comboBox1.SelectedItem == "Chrysler")
{ string file = "txtFiles/toyotaModel.txt"; string send = rModelInfo(file); }
else if (comboBox1.SelectedItem == "Mitsubishi")
{ string file = "txtFiles/toyotaModel.txt"; string send = rModelInfo(file); }
else if (comboBox1.SelectedItem == "Audi")
{ string file = "txtFiles/toyotaModel.txt"; string send = rModelInfo(file); }
else if (comboBox1.SelectedItem == "Acura")
{ string file = "txtFiles/toyotaModel.txt"; string send = rModelInfo(file); }
else if (comboBox1.SelectedItem == "Lexus")
{ string file = "txtFiles/toyotaModel.txt"; string send = rModelInfo(file); }
else if (comboBox1.SelectedItem == "Buick")
{ string file = "txtFiles/toyotaModel.txt"; string send = rModelInfo(file); }
else if (comboBox1.SelectedItem == "Infinity")
{ string file = "txtFiles/toyotaModel.txt"; string send = rModelInfo(file); }
else if (comboBox1.SelectedItem == "Cadillac")
{ string file = "txtFiles/toyotaModel.txt"; string send = rModelInfo(file); }
else if (comboBox1.SelectedItem == "Fiat")
{ string file = "txtFiles/toyotaModel.txt"; string send = rModelInfo(file); }
And this si where i am using the "File" variable
// Opens Models file depending on The "Get" string. Also Storing the Stored txt data into Array list
StreamReader objReaderFour = new StreamReader(get);
string sLineFour = "";
ArrayList Models= new ArrayList();
while (sLineFour != null)
sLineFour = objReaderFour.ReadLine();
if (sLineFour != null)
Models.Add(sLineFour);
objReaderFour.Close();
// converting arraylist into array
String[] hhModels = (String[])Models.ToArray(typeof(string));
comboBox2.Items.AddRange(hhModels);Personally I like this one the most.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApplication1
public partial class Form1 : Form
public Form1()
InitializeComponent();
private BindingList <CarLink> CarLinks = new BindingList<CarLink>();
private void Form1_Load(object sender, EventArgs e)
CarLinks.Add(new CarLink() {Name="Buick", Link = "Whatever"});
CarLinks.Add(new CarLink() {Name = "BMW", Link = "Whatelse" });
comboBox1.DataSource = CarLinks;
comboBox1.DisplayMember = "Name";
comboBox1.ValueMember = "Link";
comboBox1.SelectedIndexChanged += new System.EventHandler(Selected_indexchanged);
public class CarLink
public string Name {get;set;}
public string Link {get;set;}
private void Selected_indexchanged(object sender, EventArgs e)
MessageBox.Show(comboBox1.SelectedValue.ToString());
Success
Cor -
Need help w/pivot table. dsplay multi cols as col delimited, data fm 2 tbls
I need to disply data from tbl 1 with qty's from tbl2.
disply qty's i.e. (if qyt_type = 'past', display column in ',' deliminated) as "Past_qty"
colmns in 1st tbl
name,pgm,type,code
aaa bbb 3 x
aaa ccc 3 z
colmns in 2nd tbl (first three cols are refer integ to the 1st tbl)
name,pgm,type,qty_type,qty
data in tbl 2
name pgm type qty_type qty
aaa bbb 3 past 0
aaa bbb 3 past 0
aaa ccc 3 past 1
aaa ccc 3 past 3
aaa bbb 3 present 0
aaa bbb 3 present 0
aaa bbb 3 future 0
aaa bbb 3 future 0
need it to look like this
name pgm type past_qty present_qty future_qty, code
aaa bbb 3 0,0 0,0 0,0 x
aaa ccc 3 1,3 z
there are 12 past qtys, 38 present qtys and 60 future qtys
thank you in advanceOh well, guess I needed some little exercise.
Here it is:
SQL> create table first_table
2 as
3 select 'aaa' name, 'bbb' pgm, 3 type, 'x' code from dual union all
4 select 'aaa', 'ccc', 3, 'z' from dual
5 /
Tabel is aangemaakt.
SQL> create table second_table
2 as
3 select 'aaa' name, 'bbb' pgm, 3 type, 'past' qty_type, 0 qty from dual union al
4 select 'aaa', 'bbb', 3, 'past', 0 from dual union all
5 select 'aaa', 'ccc', 3, 'past', 1 from dual union all
6 select 'aaa', 'ccc', 3, 'past', 3 from dual union all
7 select 'aaa', 'bbb', 3, 'present', 0 from dual union all
8 select 'aaa', 'bbb', 3, 'present', 0 from dual union all
9 select 'aaa', 'bbb', 3, 'future', 0 from dual union all
10 select 'aaa', 'bbb', 3, 'future', 0 from dual
11 /
Tabel is aangemaakt.
SQL> select f.name
2 , f.pgm
3 , f.type
4 , stragg(decode(s.qty_type,'past',s.qty)) past_qty
5 , stragg(decode(s.qty_type,'present',s.qty)) present_qty
6 , stragg(decode(s.qty_type,'future',s.qty)) future_qty
7 , f.code
8 from first_table f
9 , second_table s
10 where f.name = s.name
11 and f.pgm = s.pgm
12 and f.type = s.type
13 group by f.name
14 , f.pgm
15 , f.type
16 , f.code
17 /
NAM PGM TYPE PAST_QTY PRESENT_QTY FUTURE_QTY C
aaa bbb 3 0,0 0,0 0,0 x
aaa ccc 3 1,3 z
2 rijen zijn geselecteerd.Regards,
Rob. -
Is it possible to change the data of Pivot Table?
Hello,
I want to develop an excel add-in in .net and want to show the data to user using "Pivot Table".
Is there a way in which I can allow the user to change the cell values of the "Pivot Table" without changing the source data?
Any guidance is highly appreciated.
Thanks!
-Vinay Pugalia
If a post answers your question, please click "Mark As Answer" on that post or
"Vote as Helpful".
Web : Inkey Solutions
Blog : My Blog
Email : Vinay PugaliaHi Vinay,
As far as I know, it's not possible. We can only change those Pivot Table cells that belong to Row Label or Column Label. But we can't change the Value cells. You'll get some errors like "Cannot change this part of a Pivot Table report".
If you just want to display a report with some changes to the original Pivot Table report, I would recommend that you copy the data from the Pivot Table to another worksheet, then modify the values.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Hello gurus,
I need a help in pivot table view. In pivot table, I have to show measure in accordance to month. For example show sales as per region by month name.
Region Sales
Jan Feb Mar Apr …………..Dec Avg Total
A 10 40 92 92 32 xxx xxx
B 73 83 39 78 87 xxx xxx
So this is what I have to do. I am able to do this with one measure with created new calculated item. Now I have to create this report using two measures and the in the new measure I have to show only average and total.
For example
Region Sales Target
Jan Feb ………Dec Avg Total Avg Total
A 10 40 32 xxx xxx xxx xxx
B 73 83 87 xxx xxx xxx xxx
Here sales and target are two different measures. The problem is when I add target column in measures; it will show all the month which I don’t require at all because I need all the month for sales only and for target I just need average and total. I try from head to toe but not getting any thing like this.Can i do this using other view if possible.
Help me guys. If you need more explanation then please let me know.
Thanks
Regards,
SuhelAnybody replies please.....
Is this possible that we can use Calculated column in other calculation in pivot table. For example, total of one measure divided by total of another measure in pivot table.
Regards,
Suhail -
Pivot table problem. Please help me create this report
Hi friends..I'm new to OBIEE. We can create the grand total column in pivot table. I need grand total as well as Grand average. How can I create a new column in pivot table that is same as grand total but calculates average.
My table structure is like this.
Facility......Date........totaldays
A..........01/01/08......210
B..........01/01/08......215
C..........01/01/08......917
A..........02/01/08......211
B..........02/01/08......211
C..........02/01/08......911
A..........03/01/08......210
B..........03/01/08......215
C..........03/01/08......917
I need the report like this..
Facility.....01/01/08......02/01/08....03/01/08...Total....AVG
A...............210.............211............210.....631......210.3
B...............215.............211............215.....641.....213.6
C...............917.............911............917.....2745....915
For this report..I created pivot table but I'm not able to calculate the average..
Can you please help..I'm new to OBIEE...
Thanks in advancePlease change your username....
Here is what you need to do...
1) In the Pivot Table View, click on the Measures column and select New Calculated Item.
2) In the pop-up window complete as follows:
Name: type "Total Average"
Function: Select "Average" from the drop-down window.
Click on the values in the right pane that you wish OBI to calculate the average for.
3) Click "OK."
You now have another column that is the average of the values in each row. -
Is there another way of getting apps from the appstore without putting your credit card number in, ive heard about the itunes gift card thing can anybody just give me more info about that and how i can buy free things free things from the appstore...pls help as im only a teenager and have no credit credit and my parents dont trust me with theres and they dont care about the fact that you can set up a password/.... PLEASE SOMEONE HELP I WILL BE SO GRATEFUL... And i would really like to get the iphone 4 but if there is no way of etting apps without your credit number then i would have to get a samsung galaxy s3 maybe ...
You can set up an Apple ID without a credit card.
Create iTunes Store account without credit card - Support - Apple - http://support.apple.com/kb/ht2534 -
When I run the Dr. Fone software it shows they are still on my iPad 2 but it costs 60-70 dollars. Is there another way to retrieve them? They were not backed up on Itunes like I thought they were. Please help!!
Recover software as you have described is pretty much your only option - keep in mind that if wait, some of the currently recoverable data may well be over-written and lost.
-
is there another way i could turn my phone on? it wont turn on or show me the battery screen to show its charging. i already tried to hold the on and home button at the same time but it does not want to turn on. please help?
Device Not Recognised
For PC
http://support.apple.com/kb/TS1538
For Mac
http://support.apple.com/kb/ts1591
Maybe you are looking for
-
Playbook data wiped out!...
I am here not to improve anything -- BlackBerry! I am here to perhaps save someone from what happened to me today. It is my back up day of the month. I connected my Playbook to my PC. Cannot connect! I thought that perhaps this is because I have
-
I had a total hard drive failure. I cannot retrieve my music stored on this drive, including a few iTunes purchases I had not backed up. Is there a way to push my music from my iPod to a new computer with iTunes? I hate the idea of re-ripping my C
-
Business Content for Symbolic Accounts linked to G/L Accounts (Payroll)
Hi Experts Our client has a requirement to report on the account assignment as set up on R/3 (in SPRO for FI Configuration) in transactions OBYE and OBYG. Here the Symbolic accounts are linked to actual G/L accounts. This is used for HR Postings and
-
Hey! So I just bought a mac mini at my local best buy.. got a great deal and it was well within my budget and I'm very impressed this being my first Apple product ever. I did have a question or two though. First off, it only came with a 160gig hard d
-
Use material groups in FI invoices to determine the GL account
All, For our incoming non purchase order invoices we use Vendor invoice in financial accounting in ECC 6.0 My customer wants to start using material groups in their financial incoming invoices to determine the GL Account. ? It sounds not logical me