Reporting of multiple facts
I'm looking options to generate reports based on facts with different grains. The requirement that I present here is generic and Im explores options on it.Lets say we have two facts fact1 and fact2. The common column between these facts is called - common_column
Now that the grain is different at any given time, it generates the database with SQL next inline
SELECT fact1.column_1, fact1.common_column, aggregate_fun (fact2.column_2 of fact2.common_column group) of...
Options
* 1. Creation of a third fact *-a simple solution is to create a fact3 and store all the information the report should
* 2. Using fx in OBIEE report *-use an expression to get the result with fx
You all better options that you would suggest to address this?
Thank you
You have any other table (such as dimensions) than the new LTS in the business model.
If you add any other table and join (complex) with the new LTS, the problem could be solved.
Tags: Business Intelligence
Similar Questions
-
OBIEE report with multiple fact tables
I want to build a report so that it will be have.
Attribute columns in the dimension D1, D2, D3 tables.
Measure the columns of the tables of facts F1, F2.
F1 and F2 are attached with D1, while only F1 joined with D2 and D3.
When I build this report and run, I see the correct data of F1 but get no matter what value of F2 that the query is not the column measure F2.
Please help solve this problem.
This is the point: why haven't you installation of hierarchies for D2 and D3 (when you say logic dimension, I assume that you mean the logical hierarchy as dimensionless, as if there is no D2 and D3)?
To be able to say OBIEE how manage the absence of joins between D2 - F2 and F2 - D3 you need of them set at grand total level hierarchies and required parameters for the F2 values can be shown next to the F1, D1, D2, D3.
PS: I assume that your report is D1, D2, D3, F1 and F2, otherwise what to talk of D2 and D3 in the first post?
-
Reports on multiple virtual centers and export to CSV format
Everyone,
Does anyone know if possible a way for me to do the following in the following format.
Requirements:
(1) report on multiple virtual centers
(2) export results to CSV or Excel with a title between each virtual Center
(3) the need for Virtual Center Cluster belongs, name of the Cluster, host number of ESX and number of virtual machines. (Additional information can be added to the report later).
It would be not so hard if I could just connect and report on all virtual centers and my results to export in this way. However, each virtual server Center have a different purpose and that is how senior management wants to see the results.
For example:
VC3 VC1 and VC2 = service server environment
VC4 and VC5 VC6 = service Workstation environments
VC7 VC8 = environment of Cloud Computing Services
What I would do is:
(1) connect to the first 3 virtual centers and collect the above information.
(2) I would like to create a title in the CSV or Excel named 'Standard Server environment summary'
(3) then I would like to export these 4 columns with data for each cluster.
Cluster is managed by this Virtual Center, the name of the Cluster, number # VM and ESX host
I then unplug the 3 first virtual centres.
Next
(1) I would like to connect to the 3 next virtual centres
2) add to the previous CSV or Excel with a title 'desktop environment summary.
(3) export the same information as above in the CSV file
Any help would be greatly appreciated.
Try something like this
$vcenters = @{} $vcenters["Server Environment"] = @("VC1","VC2","VC3") $vcenters["Workstation Environment"] = @("VC4","VC5","VC6") $vcenters["Cloud Environment"] = @("VC7","VC8") Set-PowerCLIConfiguration -DefaultVIServerMode Single -Confirm:$false | Out-Null $vcenters.GetEnumerator() | %{ &{foreach($vc in $_.Value){ $currentvc = Connect-VIServer -Server $vc Get-Cluster -Server $currentvc | %{ New-Object PSObject -Property @{ "Cluster is managed by VC" = $currentvc.Name Cluster = $_.Name "# of ESX hosts" = @($_.ExtensionData.Host).Count "# of VM" = Get-View $_.ExtensionData.Host -Server $currentvc | %{@($_.Vm).Count} | Measure-Object -Sum | Select -ExpandProperty Sum } } }} | Select "Cluster is managed by VC",Cluster,"# of ESX hosts","# of VM" | Export-Xls -Path C:\report.xls -WorksheetName $_.Name Disconnect-VIServer -Server $currentvc -Confirm:$false}
You will have to render the Xls export function.
Simplest is to include in the script with the code above.
The name of the group is reflected in the name of the worksheet, having a separate line would be a little more difficult.
-
Problem report of multiple pages for ppt export
Hi, I'm using version 11.1.2.1.0.83 workspace. When I export a report of multiple pages for powerpoint (from file/export/powerpoint) the ppt file created has just one page, which is the last page of the pdf report.
Someone knows how to fix this bug, which is to export the powerpoint with the same numebr of pdf report pages?
You can use Smart View of powerpoint and get the report here. You don't need external program.
Concerning
Celvin
-
Need to run a report in multiple selections of Member HFRfor
Hello
I have a reportIn HFR, for which the user wants to run the same report to multiple member, as in selections
There is a dimension, which has about 1,000 children, for which the user wants the report to run on its own and create a PDF file.
Is it possible that this is possible?
Please answer.
Thank youYou can refer to the admin guide books, there are also other options such as planning, but I would start by looking at how to build a book to run that you can select the descendant members or the basis of a POV that is specified.
JOINT TASK FORCE
-
Need a script monthly report of multiple servers of HP
Hi all
I am looking for the monthly multiple HP Servers.Report must contain information such as make and model, Bios Version, ILO Firmware Version, Array Controller Firmware Version, Sys Rom Version, Sys.HP.SMHP. Attached script shows output each cluster wise and requires a few changes to display the VC level output. Like, I need to enter the name of the cluster each time. Is it possible to get output to vCenter level rather than Cluster level.
Any help on this will be appreciated.
Thank you
vmk2014
LucD,
Worked perfectly. Thank you. But few of the servers as we Nutanix Server also in our environment that is missing, we can manually?
Thank you
vmk2014
-
Captivate 4 - reports to multiple e-mail addresses
Just upgraded to Captivate 4, and it seems that I can no longer enter multiple e-mail addresses separated upon entry into the quiz preferences/reporting/e-mail field in a semicolon. When I tried in Captivate 4, I got a message saying "Please enter valid email address to continue." Works well with Captivate 3. Can send you to an e-mail address with Captivate 4? Thank you!
Hello
I just tried with a semicolon and he agreed very well.
What may be your nail are spaces. Try to use the semicolon and remove all spaces.
See you soon... Rick
Useful and practical links
Captivate wish form/Bug report form
-
Hello
I have a case.
I have three tables:
1 XX_PERIODS_D
2 XX_ORDERS_F
3 XX_SHIPMENTS_F
XX_PERIODS_D a column PERIOD_CODE
XX_ORDERS_F a column PERIOD_CODE
XX_SHIPMENTS_F a column PERIOD_CODE
XX_PERIODS_D.PERIOD_CODE joined with XX_ORDERS_F.PERIOD_CODE
XX_PERIODS_D.PERIOD_CODE joined with XX_SHIPMENTS_F.PERIOD_CODE
RPD is OK
Analysis Log Queries return results that are OK
Analysis shows the results are bad for XX_SHIPMENTS_F tbal
Hello
I fixed my self,
I created only once the fact table by the application using as start logic diagram and it's corrected now.
Thanks @.
-
How to create the snap shot report of multiple Vcenters.
Hi all
How to get the report of several VC in html file snapshot. , I am attaching the out put the HTML file and the script I used.
Get the consolidation SP report I'm missing the name of VC. In the out put 1 rank is the SP of Vcserver 1 & 2nd row is to serve as a VC 2
I need to get the name of VC in the corresponding column.
Thanks in advance.
SIV
You can try this:
# Adding PowerCLI Snapin if(!(get-pssnapin | where {$_.name -eq "vmware.vimautomation.core"})) { try { add-pssnapin VMware.VimAutomation.Core| out-null } catch { throw "Could not load PowerCLI snapin" } } $VIServer = "vcenter1","vcenter2" $Report = @() foreach($VCserver in $VIserver){ $currentVC = Connect-VIServer -Server $VCserver -Protocol https -User administrator -Password Pass@123 $Header = @"
Snapshot Report - $VcServer "@ $a = Get-VM -Server $currentVC | Get-Snapshot | Select VM,@{N="VCname";E={$currentVC.Name}},Name,Description,Created,SizeMB,SizeGB If (-not $a){ $a = New-Object PSObject -Property @{ VCname = "No snapshots found on any VM's controlled by $($currentVC.Name)" VM = "" Name = "" Description = "" SizeGB = "" Created = "" } } Disconnect-VIServer $currentVC -Force -Confirm:$false $Report += $a } $Report = $report | Select VCname,VM,Name,Description,SizeGB,Created | ConvertTo-Html -Head $Header -PreContent "Snapshot Report
" $Report | Out-File "C:\VM-operations\dailyreport\SnapShotReport.html" -
report for multiple virtual machines created
I have a virtual machine creation script that I modified in order to be able to run in a loop using a CSV file to create more than one virtual machine at once. My original script send me an e-mail message for example:
VM
IPaddress
CENTRAL PROCESSING UNIT
Memory
ToolsVer
ToolStatus
Data store
Folder
ESXiHost
MyVM
123.45.67.89
3
4096
8384
toolsOk
myDS My-file
myesxhost
The problem that I want to try to figure out how can I get ALL the VM's on an e-mail report. Right now, because it's a loop, each VM I create will send a report. So if I put it up to build 4 vm, it will send 4 emails... I don't like it.
How my script works pretty well...
{foreach ($var in $vmlist)
script here
...
...
...
# Create and send emails report - Start #.
#
Function create HTMLTable {}
Param([array]$array)
$arrHTML = $Array | ConvertTo-Html
$arrHTML [-1] is $arrHTML [-1]. ToString(). Replace ("< body / > < / html >", "")
Return $arrHTML [5.2000]
}$output = @)
$output += ' < html > < head > < / head > < body table > < style > {border-style: solid; border-width: 1px; police-size: 8pt; background-color: #ccc; width: 100% ;}} Th {text-align: left ;}} TD {background-color: #fff; width: 20%; border-style: solid; border-width: 1px ;}} Body {do-family: verdana; do-size: 12pt ;}} H1 {make-size: 12pt ;}} H2 {make-size: 10pt ;} < / style > '}
$output += ' < H2 > the virtual machines created < / H2 > '
$output += ' < H2 > < / H2 > '
#$Report = @)
$Report = New-Object - TypeName system.collections.arraylist
foreach ($vm in get-vm-name $var.myvms)
{
......
...
...
...
$report.add ($reportedvm) | out-null}
If ($HTML - eq 'Yes') {}
$output += '< p > '.
$output += '< p > '.
$output += create HTMLTable $report $output += '< /p >.
$output += ' < body / > < / html > "
$output | Add a content-$FileHTML
}
If ($SendEmail - eq 'Yes') {}
$body = get-Content $FileHTML | Out-string
Send-MailMessage - to $EmailFrom - to $EmailTo - subject $EmailSubject - SmtpServer $EmailSMTP - body $body - BodyAsHtml}
#}
OK, I have to spend it at the moment, I can't work.
Thank you
-
Report with multiple calculations
I learn the reports and the need of some inputs on how can I manipulate the following report
1. one of my region summarized in the report should show 5 amounts as a view table and the sixth column should be the sum of the first 4 columns (I get these 5 values with a query)
2. in the second row with an external condition is false, I need to put zeros under each column one ad the sixth also is zero
3. but if the condition is true, I need to calculate a new amount (multiply by %) and to show the title of each column that amount and again to add the new amounts in the sixth column
I don't know if I have to use forumla or place holders, please help me.
Thank youuser13432927 wrote:
Thanks for your suggestions and help. Finally I am getting good results in my aging report.
But I used formulas, can you suggest any other means other than the application and forms.
Thanks for solving the problem.It is with pleasure that I can help someone in his work :) What is otherwise in oracle reports another sql then? All awards go to you, you did this thing to work.
Please mark she replied that someone else can use it.
And for the amount (EX: 500) I put symbol $, while I can get help how to do that?
Yes. You can. Use the properties of the field format mask. Choose the one right for you. For example
LNNNGNNNGNN0D00 $NNN,NN0.NN
Hope this will help you...
If someone useful or appropriate, please mark accordingly.
-
output of single report in multiple excel tabs?
Hi all.
We can design a model such as the excel output is filled into tabs?
Otherwise, I have to write 3 models and define 3 layouts to show in three reports instead of tabs.
The user does not want to run the report thrice (selecting layouts). Instead, he would like to launch the report once. is it possible that I can combine these three models in a single rtf document such that it gives power to 3 legs.multifeuille excels:
Its a useful link.
hope it will work for you.Concerning
Angelique -
Report with multiple columns NUMBER of counts of the same table
I am new to discoverer, so I'm a little lost.
I work to create a report to show usage data and Knowledge Base of e-business. I have written using subqueries in SQL query that is in the format:
Solution number | Soultion title | Solution views. Positive feedback | Negative feedback
Title of 12345 _ 345 _ 98 34
The entries 'Views', 'Positive' and 'Negative' are stored in the same table, so I do a count where setid = setid and usedtype = VS, then count where usedtype = usedtype and PF = NF
Discoverer, I can get the number of solution, the title and THE totals but I can't seem to understand how to get an ACCOUNT for three different things from the same table in the columns on the same line.
When I go on change map-> select the items once I select the option NUMBER of the UsedType column in the CS_KB_SET_USED_HISTS table, I can't select it again. I also found way now to add a column based on a query entered.
If someone could help it would be much appreciated.
Thank you
Published by: Toolman21 on December 2, 2010 14:17
_ to correct spacing added.Hello
You can separate the column with a case or decode.
for example to create 2 calculations:case
When usedtype = "PF".
then- that contain both
0 otherwise
endcase
When usedtype = 'NF '.
then- that contain both
0 otherwise
endAfter that, you can create the aggregation count on those.
Tamir
-
Report of multiple tables - tired two
Hello
I am creating a report containing data from two tables in the Apex, similar to that with a record header followed by the details records. The result would be similar to the output that would come from the following statement. Do you know if this is possible? Could you please help with the process to create this. Thank you.
SET SERVEROUTPUT ON
DECLARE
BEGIN
FOR rec IN (select SEQ_MAJ_GOALS as SEQ_MAJ_GOALS from MAJOR_GOALS where EMP_NO =: EMPNO and r_status = 'Open')
LOOP
DBMS_OUTPUT. PUT_LINE ('SEQ_MAJ_GOALS');
DBMS_OUTPUT. Put_line (CRE. SEQ_MAJ_GOALS);
FOR tasks IN (select TASK_DESC, LEAD_REQ, TASK_NO, TASK_STATUS of TASKS where SEQ_MAJ_GOALS = REC SEQ_MAJ_GOALS)
LOOP
DBMS_OUTPUT. Put_line (rpad (ltrim (tasks. (TASK_NO), 11). RPAD (ltrim (tasks. (TASK_DESC), 30). RPAD (ltrim (tasks. (LEAD_REQ), 20). RPAD (ltrim (tasks. (TASK_STATUS), 10). 10;
END LOOP;
END LOOP;
END;I do this using a PL/SQL area and use of the htp.p ('');
An example:
Create a procedure and DECLARE a cursor with variables for each value of the slider. In the BEGIN section to create your loop, use the slider to fill the variables, and then use the htp.p call to create your own output array.
It might look like this:
declare cursor c_rec is select SEQ_MAJ_GOALS from MAJOR_GOALS where EMP_NO = :EMPNO and r_status = 'Open'; v_goals NUMBER; cursor c_task is select TASK_NO, TASK_DESC, LEAD_REQ, TASK_STATUS from TASKS where SEQ_MAJ_GOALS = v_goals; v_taskno NUMBER; v_taskdesc VARCHAR2(255); v_leadreq VARCHAR2(42); v_taskstatus VARCHAR2(20); begin htp.p('
'); open c_rec; LOOP FETCH c_rec into v_goals; EXIT WHEN c_rec%NOTFOUND; htp.p('
'); end; '); htp.p('SEQ_MAJ_GOALS '); open c_task; LOOP FETCH c_task into v_taskno, v_taskdesc, v_leadreq, v_taskstatus; EXIT WHEN c_task%NOTFOUND; htp.p(''||v_goals||' '); END LOOP; close c_task; END LOOP; close c_rec; htp.p(''||v_taskno||' '||v_taskdesc||' '||v_leadreq||' '||v_taskstatus||' You can add your own styles and formatting.
-
Hello gurus,
How to use the multiple facts in the same report using OBIEE 10 g?
I followed the instructions on this Web site, but it does not work...
http://obibb.WordPress.com/2010/05/31/multiple-fact-reporting-on-non-conforming-dimensions/
Physical model:
ASSETS (DIMENSION) - ASSET (FACT) - PERSON (DIMENSION) - CAMPAIGN (FACT) - CAMPAIGN (DIMENSION)
Business Model:
ASSETS (SUN) - FACT - CAMPAIGN (SUN)
(TRUMP - CAMPAIGN)
|
|
|
|
PERSON (SUN)
Assets and campaign: no consistent Dimensions.
Person: Dimension in line;
Note that I want to use my report some active information and campaign to answer questions such as:
The assets that were created after the launch of the campaign? or the list of assets of the person and the campaigns.
Is it possible to do? I'm changing all kinds of levels of column (Total/detail) and it continues to send an error like:
«Internal error: no table for expr Fact_W_CAMP_HIST_F_Teste.SOURCE_WID, file server/Query/Optimizer/SmartScheduler/PhysicalRequestGenerator/Src/SQOSPSimplifyJoin.cpp, line 118.»
Thank you in advance.
Ramon CortezTry to go for only 1 fact IE assets
then adding Asset properties / card or sign + and then add the person, then Comaign
Maybe you are looking for
-
I was looking for specific recipes, and when I downloaded thema new toolbar is here called total recipe search. Now every time I have access to mozilla firefox "wot" informs me that the site has a bad reputation. I can't find a download file as it we
-
RT runs interactively but it won't compile (error 1)
Hello I'm working on a project that is having a strange question compile for a cRIO. I inherited code that works interactively but will not compile so that it can be loaded. The error I get is as follows: Error 1 ganglion invoke in AB_RTEXE.lvclass
-
upgrading ThinkPad t520 4240-4GG wwan
last month, I bought this model without wwan card. Is it possible to install an Ericssonf5521gw wwan card in the mini pci express slot (also I see sim instead of the battery slot) is it possible to get wwan in this model?
-
Error code: 8024402F (impossible to find new updates)
Windows not can find some newupdates 8024402f
-
BlackBerry Z10 unable to connect to the Eduroam network
Hello im not able to connect my BB Z10 to the Eduroam WiFi at my University (Paderborn, Germany). Sometimes, it works. But most of the time, I get one of the following two error messages: -Invalid EAP login data -Network authentication failed. Check