Setting: display all values currently available - disabled
Hello
I want to show the value of parameter of an another table/folder.
Such as:
I created a spreadsheet of the EMP and DEPT/Table of records:
SELECT E.Emp_Name, D.Dept_Name
FROM Emp E, Dept. D
WHERE E.Dept_ID = D.Dept_ID
Question:
- How can I view Dept_ID (s) available in the EMP Table as an input parameter?
- If I can show Dept_Name to select between but Dept_ID and take as an input parameter?
When I try to create the D.Dept_ID parameter 'Display all values currently available' option shows disabled and cannot be selected.
Help, please.
Thanks in advance.
Manny
I found the answer: How to insert the list of values (LOV) in Discoverer Desktop
Thank you
Tags: Business Intelligence
Similar Questions
-
I have a calendar with this SQL query to get all action items. The last condition is on the last line that pulls up all projects related to this activity of monitoring based on a value in the page. The value is stored in the field 'P133_PROJECT_CAT '.
Select EBA_PROJ_STATUS_AIS.ID as ID,
EBA_PROJ_STATUS_AIS. Project as project,
EBA_PROJ_STATUS_AIS.MILESTONE_ID as MILESTONE_ID,
EBA_PROJ_STATUS_AIS. ACTION as ACTION,
EBA_PROJ_STATUS_AIS. End_date as end_date,
EBA_PROJ_STATUS_AIS. ACTION_STATUS as ACTION_STATUS,
EBA_PROJ_STATUS_AIS. CREATED as CREATION,
EBA_PROJ_STATUS_AIS. CREATED_BY as CREATED_BY,
EBA_PROJ_STATUS. PROJECT within the PROJECT,
EBA_PROJ_STATUS_AIS_TYPES. AI_TYPE as AI_TYPE,
EBA_PROJ_STATUS_MS.MILESTONE_NAME as MILESTONE_NAME,
EBA_PROJ_STATUS.CAT_ID as CAT_ID
of EBA_PROJ_STATUS_MS EBA_PROJ_STATUS_MS,.
EBA_PROJ_STATUS_AIS_TYPES EBA_PROJ_STATUS_AIS_TYPES,
EBA_PROJ_STATUS EBA_PROJ_STATUS,
EBA_PROJ_STATUS_AIS EBA_PROJ_STATUS_AIS
where EBA_PROJ_STATUS_AIS. PROJECT = EBA_PROJ_STATUS.ID
and EBA_PROJ_STATUS_AIS. TYPE_ID = EBA_PROJ_STATUS_AIS_TYPES.ID
and EBA_PROJ_STATUS_AIS.MILESTONE_ID = EBA_PROJ_STATUS_MS.ID
and EBA_PROJ_STATUS.CAT_ID =: P133_PROJECT_CAT
I have the setup of "P133_PROJECT_CAT" of field as a field on the page where, when a value is selected, it works very well and shows all the items/projects action for this page. However, if I select the value '- all categories -' it must pass a 0 that must be null and see all categories.
Question: what needs this final line (and EBA_PROJ_STATUS.CAT_ID =: P133_PROJECT_CAT) look like so that "0 = all values"?
and (EBA_PROJ_STATUS.CAT_ID =: P133_PROJECT_CAT or : P133_PROJECT_CAT = 0)
-
Group by Clause displays all values search
Hello friends
I have a simple table with columns named Date, reason, product and County and the sample data are shown below.
==========================
Date reason product count
==========================
08/06/2012 raison1 home 1
08/07/2012 raison2 motor 1
08/08/2012 raison1 home 1
08/09/2012 Reason3 Home 2
08/10/2012 raison1 home 1
08/06/2012 Reason5 home 1
===========================
Altogether, I have 5 values of research through Reason5 raison1 reason, but few of them understand the table above.
I would like to diplay result per day and I will quote an example of August 6, I want to display the result below, i.e. show all reason 5 search and assign zero count if there are no records for this day there.
=====================================
DATE REASON HOME_COUNT MOTOR_COUNT
=====================================
08/06/2012 raison1 1-0
08/06/2012 0 1 raison2
08/06/2012 Reason3 0 0
08/06/2012 Reason4 0 0
08/06/2012 Reason5 1 0
=====================================
If we write group by clause, missing for reasons such as Reason3 Reason4 will not appear in the result set.
And I tried to write several UNION ALL queries to get the above result that works very well, but if it 100 search values, I don't want to write 100 Union queries.
Please let me know if you have analytical functions to display the results of the end?
Thank you
Murali.
Published by: Nathalie b on August 19, 2012 20:17If you followed relational design, you should lookup table. If you do not, you need to create a. In addition, date is reserved word, and the County is a key word, to not use as column names. Then, use the outer join:
SQL> create table tbl as 2 select to_date('06/08/2012','dd/mm/yyyy') dt,'Reason1' reason,'Home' product,1 qty from dual union all 3 select to_date('07/08/2012','dd/mm/yyyy'),'Reason2','Motor',1 from dual union all 4 select to_date('08/08/2012','dd/mm/yyyy'),'Reason1','Home',1 from dual union all 5 select to_date('09/08/2012','dd/mm/yyyy'),'Reason3','Home',2 from dual union all 6 select to_date('10/08/2012','dd/mm/yyyy'),'Reason1','Home',1 from dual union all 7 select to_date('06/08/2012','dd/mm/yyyy'),'Reason5','Home',1 from dual 8 / Table created. SQL> create table reason_list as 2 select 'Reason' || level reason from dual connect by level <= 5 3 / Table created. SQL> select d.dt, 2 r.reason, 3 nvl( 4 sum( 5 case product 6 when 'Home' then qty 7 end 8 ), 9 0 10 ) home_qty, 11 nvl( 12 sum( 13 case product 14 when 'Motor' then qty 15 end 16 ), 17 0 18 ) motor_qty 19 from ( 20 select min_dt + level - 1 dt 21 from ( 22 select min(dt) min_dt, 23 max(dt) max_dt 24 from tbl 25 ) 26 connect by level <= max_dt - min_dt + 1 27 ) d 28 cross join 29 reason_list r 30 left join 31 tbl t 32 on ( 33 t.dt = d.dt 34 and 35 t.reason = r.reason 36 ) 37 group by d.dt, 38 r.reason 39 order by d.dt, 40 r.reason 41 / DT REASON HOME_QTY MOTOR_QTY --------- ---------------------------------------------- ---------- ---------- 06-AUG-12 Reason1 1 0 06-AUG-12 Reason2 0 0 06-AUG-12 Reason3 0 0 06-AUG-12 Reason4 0 0 06-AUG-12 Reason5 1 0 07-AUG-12 Reason1 0 0 07-AUG-12 Reason2 0 1 07-AUG-12 Reason3 0 0 07-AUG-12 Reason4 0 0 07-AUG-12 Reason5 0 0 08-AUG-12 Reason1 1 0 DT REASON HOME_QTY MOTOR_QTY --------- ---------------------------------------------- ---------- ---------- 08-AUG-12 Reason2 0 0 08-AUG-12 Reason3 0 0 08-AUG-12 Reason4 0 0 08-AUG-12 Reason5 0 0 09-AUG-12 Reason1 0 0 09-AUG-12 Reason2 0 0 09-AUG-12 Reason3 2 0 09-AUG-12 Reason4 0 0 09-AUG-12 Reason5 0 0 10-AUG-12 Reason1 1 0 10-AUG-12 Reason2 0 0 DT REASON HOME_QTY MOTOR_QTY --------- ---------------------------------------------- ---------- ---------- 10-AUG-12 Reason3 0 0 10-AUG-12 Reason4 0 0 10-AUG-12 Reason5 0 0 25 rows selected. SQL>
SY.
-
SQL function to retrieve records only if all values are available.
Hello
I have a sales table on which I run a parameter query.
We spend a few IDs of the week to recover in-store sales.
I need to retrieve only the stores that has sales in all the IDS of the past week.
If I use the in operator, I get the data from the store even if there is a sale for only one week.
Is there a function for this oracle?
Thank you
Sharan.Hi, Sharan,
Here's how you can use analytical COUNT:
WITH got_week_cnt AS ( select week_id, store_id, prod_desc, sales_units_raw, sales_value_raw , COUNT (DISTINCT week_id) OVER (PARTITION BY store_id) AS week_cnt from sales_store_dwh where week_id in (&&Week_ID_CSV) ) select week_id, store_id, prod_desc, sales_units_raw, sales_value_raw FROM got_week_cnt WHERE week_cnt = 1 + LENGTH ('&&Week_ID_CSV') - LENGTH (REPLACE ('&&Week_ID_CSV', ',')) ;
Note that the got_week_cnt of the subquery is just your original query, with the added function of ACCOUNT.
You didn't post your tables or results, so I can't test it.
You didn't say which version you use, so I made a conservative assumption (Oracle 9 or later). In Oracle 11, there is an easier way to find the number of weeks. -
If the default as invited "All values" in a Variable of presentation
Hello Experts,
is it possible to set the default value for filtering on a Variable presentation for all the choices? Because when you select all the choices, I get no results.
Thank you
ConcerningDetection of all choice of dashboard invites you into the answers
http://108obiee.blogspot.com/2009/04/detecting-all-choices-from-dashboard.htmlSee the link above, it also describes how to make a filter to display all values when you use the variable to the presentation and all the choices.
Concerning
Goran
http://108obiee.blogspot.com -
Using the Windows Explorer of Windows 7, how I have by default set to display all the contents of the folder 'List' not 'Tiles '. I want set a default value for the new folders and edit globally all folders that I have.
Thank you, Steve
Hi Steve Menker,.
Visit the links that measures to work with files and folders in Windows Explorer below:
1. working with files and folders:http://windows.microsoft.com/en-US/windows7/Working-with-files-and-folders
2. change the folder options:http://windows.microsoft.com/en-US/windows7/Change-folder-options
3. organize, sort, or group your files:http://windows.microsoft.com/en-US/windows7/Arrange-sort-or-group-your-files
With regard to:
Samhrutha G S - Microsoft technical support.
Visit our Microsoft answers feedback Forum and let us know what you think.
-
I just got a Bold 9780 and that's fine except that when I try to access the icon I want, I keep accidentally swipe the screen in a different position, he's going to 'All' in 'Favorites', 'Media', "downloads,"Frequent"then back to 'All'. My only previous, 9700, just had all the icons on the screen and did not have these alternative schemes. I find it quite disconcerting and want to fix to display ALL icons of all time. Cannot find how to do this.
I know what you mean. You can do this in OS7, but I think not only its available with OS6
-
Chart display problems - cut off the end or shows not all values
I have a file I/O reads database table where I can choose a date range to view history, and I can't seem to format correctly.
If I set the width of the graph large enough to show all values, it cuts the right part.
Width 1200, the value date of end 10/01/2014, shows only until September 24:
Width set at 1700, will now interrupt the rightmost in the values:
Obviously, I want the best of both worlds - when the date range is selected, it shows all the values and fits in the chart area.
Any ideas?
Create a diagram with scrolling.
Under the
item add something like: -
Lightroom displays all images from a folder - it displays the message '45 65 images, selected 45' and 45 messages do not appear in the grid of the library, but I can't see the remaining images of 20. All filters are disabled...
Hello
Please go to the library Module, then click on the picture in the Menu bar and then click the stacking.
From there please select expand all stack them.
It should show all the images if they are virtual copies.
Kind regards
Tanuj
-
I'm filling out a form that is available on a site. When I click on the option to fill out and submit the form 'online' a pdf document is displayed in chrome with the following text
«To display all of the content of this document, you need a later version the viewer PDF.» You can upgrade to the latest version of Adobe Reader from www.adobe.com/products/acrobat/readstep2.html for further support, go to www.adobe.com/support/products/acrreader.html"
Needless to day, I installed the latest version. I even reinstalled using the link in the message, but nothing helped. Whenever I click on the link to go forward, I get the same message. Question: (i) is it my PC/software (Vista), (ii) is the site where I'm trying to submit the form, or (iii) is it the software acrobat reader. Note that I used successfully the last version to fill out and sign forms.
It is none of them. It's Chrome, which is ignoring Adobe Reader and showing the message.
Solution: just save the document (with the message) to your desktop. Then open it in Adobe Reader. The 'real' should then display.
-
How default of a multiple selection for all values setting?
I have a setting that allows the user to select multiple values. I want the default to use all values (which means basically just ignore this parameter in the generated SQL code). However, I can't create named on this calculation since it accepts multiple values, and the calculation supports only the first value. Is there a way to do what I need, without selecting all the values in the list (the LOV contains hundreds and hundreds of values so it's not a viable option). I'm not very experienced with the discoverer and don't know all the tips/solutions workaround, if you are looking for expert advice.
Thank you
Hello
You must code the parameter and the condition that he accepts the word ALL.
For example, suppose you are working with ITEM_NUMBER and you have thousands of articles. You want the user to be able to one or more key or access all THE items.
You must create a Boolean condition like this:
ITEM_NUMBER IN: ITEM_PARAMETER
OR
UPPER(:ITEM_PARAMETER) = "ALL".
So if the user key word ALL all all or or any variation of the word to be determined as true by the condition and all items will be selected. If the user does no key ALL, and then the other half of the condition will be applied and the element must be a valid element as contained in the list of all the elements. You can even create your parameter with a default value of all THE
Best wishes
Michael
-
The current node to display all the levels at the atomic scale
Hi all
If anyone has example of expand/collapse the current node to display all the levels at the atomic scale. Please post here. I appreciated the help.
Thank youJames,
try adding a condition just before current node if the next node id is null or not.
Thus, the update procedure will be like that.
PROCEDURE Expand_Collapse_Node (Tree_Name IN VARCHAR2 , Trigger_Node IN VARCHAR2, Str_Type IN VARCHAR2 DEFAULT 'COLLAPSE') IS Item_Id ITEM; Current_Node FTREE.NODE; Starting_Node_Level NUMBER; Current_Node_Level NUMBER; BEGIN IF Trigger_Node IS NOT NULL THEN Item_Id := FIND_ITEM(Tree_Name); IF NOT ID_NULL(Item_Id) THEN Current_Node := Trigger_Node; Starting_Node_Level := FTREE.GET_TREE_NODE_PROPERTY(Item_Id, Current_Node, FTREE.NODE_DEPTH); LOOP IF FTREE.ID_NULL(Current_Node) OR (Current_Node_Level = Starting_Node_Level) THEN EXIT; ELSE IF Str_Type = 'EXPAND' THEN IF FTREE.GET_TREE_NODE_PROPERTY(Item_Id, Current_Node, FTREE.NODE_STATE) = FTREE.COLLAPSED_NODE THEN FTREE.SET_TREE_NODE_PROPERTY(Item_Id, Current_Node, FTREE.NODE_STATE, FTREE.EXPANDED_NODE); END IF; ELSIF Str_Type = 'COLLAPSE' THEN IF FTREE.GET_TREE_NODE_PROPERTY(Item_Id, Current_Node, FTREE.NODE_STATE) = FTREE.EXPANDED_NODE THEN FTREE.SET_TREE_NODE_PROPERTY(Item_Id, Current_Node, FTREE.NODE_STATE, FTREE.COLLAPSED_NODE); END IF; END IF; Current_Node := FTREE.FIND_TREE_NODE(Tree_Name, '', FTREE.FIND_NEXT, FTREE.NODE_LABEL, '', Current_Node); IF FTREE.ID_NULL(Current_Node) = FALSE THEN Current_Node_Level := FTREE.GET_TREE_NODE_PROPERTY(Item_Id, Current_Node, FTREE.NODE_DEPTH); END IF; END IF; END LOOP; END IF; END IF; END Expand_Collapse_Node;
Kind regards
Manu.
If this answer is useful or appropriate, please mark. Thank you.
-
How to value for the default text setting is all
Hey all
I have a requirement they want a parameter on the article number,
This parameter as text and field as the default value as
I tried everything but nothing doesn't work, is it possible? If so please guide me what I'm missing or hurt
Thank you
Yes, this can be done.
You must handle this in your SQL code. Here is an example
Approach 1:
-----------
Definition of parameter in your data model: P_ITEM_NUM
Data type of parameter/type: text/string
The parameter default value: white
In the SQL: where ITEM_NUMBER = NVL(:P_ITEM_NUM,ITEM_NUMBER) - ITEM_NUMBER here is your database column
At runtime, if no value is given for article number parameter - the NVL function will consider the incoming value with null and it will run the report for all values of report item.
Approach 2:
-----------
Everything is the same as 1, except the default approach.
The default parameter value: all the
In this case, your SQL must DECODE statement
Where ITEM_NUMBER = DECODE(:P_ITEM_NUM,'All',ITEM_NUMBER,:P_ITEM_NUM) - it's like an IF statement
-
Hi, windows 7 Disk Defragmenter problems daily schedule set for all discs, never happens, it sometimes takes weeks. Have a disk busy on the farm that is used for the storage of video surveillance. When I realize the performance issues, I check and find tht 'daily' Setup for MS disk defragmentation is not in fact run every day. I am watching silent movies and waiting for a 500 GB drive to effectively defragment, pass it is on average 1 percent per minute (with any other IO goes on the disc and app collection closed).
There must be (I hope) a flag I can put to Disk Defragmenter to be more aggressive in its analysis.
It is Windows 7 64 bit running on AMD processors, disks are sATA plugged in, although there is also a matrix RAID PCI Promise, it's usually when I started Hello I/O on the Board of 2 TB or utilization of the 'C', I realize the lack of defragmentation. I recall, before the SP1 under WIN 7, he ran on a daily basis, in fact, rather than an API algorith "guess".
System is in place 24 x 7 (I turn off the monitor at the time of sunset), there is no "powersaver" feature used on this particular device. I edited my original question because after many years of support, I realized, by asking the initial question, that I was not providing information that I would be asked a customer, if I was still doing this job.
Kind regards
Lorin Boyack
Hello Lorin,
There are several reasons why the built-in Defragmenter may not work correctly:
Method 1: He is also a malware on the system. Solution: Run an anti-virus control and also a spyware check.
I suggest you scan your computer with the Microsoft Security Scanner, which would help us to get rid of viruses, spyware and other malicious software.
The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software.
http://www.Microsoft.com/security/scanner/en-us/default.aspx
Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.
Important: During the scan of the hard drive if bad sectors are found, the scanner tries to repair this sector, all available on which data may be lost.
Method 2: The disk is too full (you need at least 15% free space, sometimes 20%). Solution: Delete files unnecessary and programs until you have more than 20% free space.
Delete files using disk cleanup
http://Windows.Microsoft.com/en-us/Windows7/delete-files-using-disk-cleanup
Method 3: The disc is damaged and must be repaired. Solution:
a. open "Computer" and right-click on the drive that you want to disable frag.
b. Select 'Properties' and click on 'tools '.
c. Select "Check now" to check the drive for errors.
d. Select the two options and click on 'start '.
Check your hard drive for errors
http://Windows.Microsoft.com/en-us/Windows7/check-your-hard-disk-for-errors
Important: While running chkdsk (check disk) hard disk, if bad sectors are found on the hard drive when chkdsk attempts to repair this sector, the data available in this area may be lost, and it is not recoverable.
(This can take time and can restart the PC so that it can do the check at boot time. Be patient and let it complete).
Method 4: Disk Defragmenter may be corrupted, requiring a system restore to fix.
System restore
http://Windows.Microsoft.com/en-us/Windows7/products/features/system-restore
NOTE: When you use system restore to restore the computer to a previous state, the programs and updates that you have installed are removed.
Method 5: There are other programs that are running this interruption, the built-in Defragmenter. Solution:
a. close all running programs.
b. If you think there may be some programs that run in the background.
c. press Ctrl + Alt + Delete and
d. Select "start Task Manager".
e. under the 'Applications' tab, you will find a list of all running applications - you can close these by selecting "end task."
Hope this information helps. For any other corresponding Windows help, do not hesitate to contact us and we will be happy to help you.
-
How can I use the fonts in typekit that I already used that isn't currently available?
Hello
About a month or two ago, we reorganized our entire website and used a font typekit on each page of our Web site. Everything was fine and we love him... until now. We just did with the 2015.2 update. When I open the file of our Web site it says that we use a font of the typekit that is not available with our current plan! Our current plan has not changed. We have already published our site using this typekit fonts... And now, each of our web pages has duplication of text, photos, captions, etc... It's a mess to say the least. I'll need help to remedy this situation. What happens here?
I tried creative cloud signature and signature as suggested on another thread of discussion. The police has been 'Futura PT Medium' if that helps anything.
Thanks for any advice.
Hi naturescape_peopletecture,
Please follow the instructions below:
For Mac->
(1) sign of Muse (Help menu > Sign Out)
(2) close all Adobe applications.
(3) then, open the activity monitor. You can use the spotlight search to look for.
Quit 4) Adobe all processes including service bureau Adobe Creative cloud, CoreSync,.
(5) open the Finder. Press command + SHIFT + G set
(6) in the go to folder dialog box, which appears, type:
~/Library/application support/Adobe
And press return.
(7) look for a folder named, OOBE. And rename it to OOBE_old
(8) open the Muse. Then, on the file menu, click on "Add/Remove web fonts. Test if this displays all errors, or load the fonts available.
For Windows->
(1) sign of Muse (Help menu > Sign Out)
(2) close all Adobe applications.
(3) then, open the Task Manager.
(4) end Adobe all processes including service bureau Adobe Creative cloud, CoreSync,.
(5) press the Windows keyboard and the 'R '.
(6) in the Run dialog box that appears, type:
%LocalAppData%
And press ENTER.
(7) in the Local folder that appears, open the Adobe folder and look for a folder named, OOBE; Rename it to OOBE_old
(8) open the Muse. Then, on the file menu, click on "Add/Remove web fonts. Test if this displays all errors, or load the fonts available.
Let me know if it works.
Kind regards
Ankush
Maybe you are looking for
-
10.11.6 stalled on my macbook pro
10.11.6 updating stalled on macbook pro. display flashes on and outside.
-
This is what Apple Watch works with iPhone 6SE
The 6SE isn't on the compatibility with the watches is because it's new?
-
Reactivate the iPhone 5 with previous sim of my service provider does NOT
I have an old iPhone 5 that I recently canceled my old service provider service. I was able to remove the SIM card and the phone worked with wifi just fine for about 2 months. That's what I want to do; Just use the thing as a wifi device. Now I upd
-
I forgot the password of BIOS Satellite M70-173
Satellite M70-173 - I forgot the BIOS password. What can or what should I do?Thanks for help or advice.kohorta
-
Re: Replacement of HDD on the Satellite L40-12 X
HelloI have Satellite L40-12 X with 5400 RPM 120 GB HARD drive and I would like to buy a new HARD drive, but I wonder if 500 GB at 7200 RPM will be compatible with my laptop? Below is the basic information, but I can't find more information about it.