Want to have summation value of column in infoset for SQ01
When i run query in SQ01 i get the list as a output of a query I have standard functions for adding those value once i use summation (sigma) for a perticular colom i get addition of individual column but i want to use that sum in a report how to do that.
Plz try to reply me as soon as possible.
Thanking you,
Anybody there to help me out for above mention problem?
Whom I want to reward then?
Its bit urgent.
Pls. Reply.
Thanks in Advance.
Similar Messages
-
Ok, im new to numbers but i cant work this one out. I have 4 columns. A and B have different values. Column C is an average of hours worked. When column C is less then 8 i need column D to equal column A. When column C is equal or greater then 8 i need column D to equal the sum of A and B.
Hi Lucas,
Try this:
Formula in D2 (and Fill Down) =IF(C2<8, A2,A2+B2)
The IF function follows the logic of if, then, else.
IF(this is true, then do this, else do that)
If it is raining, then stay at home, else hold a picnic .
Regards,
Ian. -
Want to have Z-modulati​on on a Lissajous for a defined period by another signal
I want to have a Z-Modulation on a Lissajous figure.This means that I could make the beam off/on for a defined period by using another signal. I need an example to simulate a cathode ray tube with beam off/on provision. For this a seperate Z-signal (square wave) can be simulated.
Please help and guide. I am using LabView 7.0 Express.
Solved!
Go to Solution.If you would create a square wave for your z-modulation it will alternate between -1 and 1 by default. Just take the square-root of it an multiply it with your x or y signal to generate NaN where z was -1, while leaving the rest of the points unchanged.
See image for a quick draft.
Message Edited by altenbach on 10-07-2008 07:36 AM
LabVIEW Champion . Do more with less code and in less time .
Attachments:
zmodulation.png 32 KB -
My Epson Artisan 610 printer will not work with my new iPad 2. Not AirPrint compatible. Only certain HP printers work. Are there any solutions to this other than buying an HP printer?
Epson iPrint doesn't allow printing directly from something like Photos, you have to call up iPrint and THEN select Photos, but it does work and very well. For my Epson Artisan 725, I had it print a photo, best quality, on 4x6 Premium Photo Paper, and it DID automatically select the right "tray" with my photo paper.
Thanks for posting this suggestion.
This was SUPPOSE to be replying to the following:
app store epson iprint version 2.0 lets you print websites, photos, and more. -
Problem in summation on a column with possible null values
Hi,
I want to do summation on a column.
If I use <?sum(amount)?>, if there is any null value,its giving NaN as output.
From the forum I got the below syntax
<?sum(AMOUNT[number(.)!='NaN'])?>
but it is also not giving me the expected result. Its always displays 0.
I want some thing like sum(NVL(amount,0)). Could some body please help me out?
Thanks in Advance,
ThiruIf the column has many, many null values, and you want to use the index to identify the rows with non-null values, this is a good thing, as a B*Tree index will not index the nulls at all, so, even though your table may be very large, with many millions of rows, this index will be small and efficient, cause it will only contain index entries for those rows where the column is not null.
Hope that helps,
-Mark -
i have an ipod, ipad, and iphone. ilike to use imessage on all of them but i dont want messages to appear on the devices i am not currently using. nor do i want to have to keep a saparate account / id for each device how do i fix the settings on each so that with the same ID / login I can chech me emails, share contacts etc, be able to use i messenger on each without the whole conversation automatically beiing picked up by my other devices? some conversations just arent intended to be shared!
Turn it into the local police department with an explanation as to who you tried to contact and what they told you. That's the only safe procedure, as otherwise the owner could report the iPod as stolen, even though you tried to return it, and get you into trouble.
Regards. -
HT5624 I want to have single Apple ID for icloud. I use only apple phone,ipad
I want to have single Apple ID and icloud account for iPhone and ipadmini and iPad air.
Welcome to the Apple community Uday96.
You don't actually say an awful lot about your current setup, but I'm assuming that you have different Apple ID for iCloud on each of your devices. In which case decide which Apple ID you wish to use on all of them and then delete the others from the other devices.
(Settings > iCloud, scroll down and tap Delete Account)
You can then use the details from the Apple ID that you wish to use and enter them into the iCloud account of the devices you have deleted the other accounts from. -
I have a column where I have implemented writeback, its working fine. On top of this I need to show 0 as No and 1 as yes in our report, that is also done. Now I want to enter Yes in a column where it was no and I want database table to get update with 1. I am not sure how to do it. SOmeone please help me out.
Hi ,
In your write back XML try the below query insert
INSERT INTO TABLE_XYZ (attribute1) values (SELECT CASE WHEN @{C1}=’Yes’ then 1 when @{C1}=’No’ then 0 else null end from dual)
Regards
Rajagopal -
Add sort, filter, export to excel and summation of tab column values in VC
Hi,
Can anyone help me out in providing the following functionalities in the Visual Composer tableUI element :
1. Sort
2. Filter
3. Export to Excel
4. Summation of Table Column Values
5. Update entry in table
6. Create entry in table
Thanks in advance.
Wish you great time.
Best Regards
SidHello Sid,
1. Sort
--> This is a standard functionally of tables in VC
2. Filter
--> Use the filter element of VC
3. Export to Excel
Go to: Sdn>Wiki>VC>Modeling>Export data to Excel/PDF
4. Summation of Table Column Values
--> This depends on your data source. If you use BI queries you have this normally automatically. If not you can use the sum element of VC.
5. Update entry in table
6. Create entry in table
> see Sdn>Wiki>VC>Modeling-->Moving data between tables
Kind regards
Thomas -
Display Nothing in table column heding when parameter doesn't have any value
Hi,
I created one tabular report . Report has 2 parameters(ex: A and B) both have default values from two different datasets. I am using these parameters in two column headings (col1 has parameter A and col2 has parameter B) in report. My question is, if parameters(A
and B ) don't have any value from the datasets it should display "Nothing" in the table column headings(col1 and col2). If parameters(A & B) have some value(June & July respectively) it should display in table column headings(col1 and col2).
Thanks in advance,
VisuHi Visu,
According to your description, you want to display the value of two parameters in two column headers. Parameter A in col1, parameter B in col2. And if the parameter returns null value, it should display “Nothing” in the header. If the
parameter return a value, the value should be displayed in the column header.
If in this scenario, in order to achieve your requirement, we can refer to the following expression in the two column headers:
=iif(Parameters!ReportParameter_name.Value
is nothing,"Nothing",Parameters!ReportParameter_name.Value)
If there are any misunderstanding, please elaborate the issue for further investigation.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
CSV in a Column, Want to select one value at a time.
Hello ,
Oracle Database 11g.
I have a procedure in which i have to compare some value from a table. The problem is that the value in the table is in CSV ( Coma Separated Value).... see below
select parameter_name,description from t_mes_configurable_parameter
where parameter_name='DC_LOG_LEVEL'
Parameter_Name Description
DC_LOG_LEVEL DC log level ,ERROR=0,SYSTEM=1,INFO=2,DEBUG=3
Now as you can see the description column has a CSV's. Now i want to get the values individually.
In some different procedure i have to compare this value one - by - one.
If DESCRIPTION = 'DC log level' or 'ERROR=0' ...... then
-- some query --
end if;
Can i right any select query in which it will return me this column value as single value separating from ' , ' (coma). ???
Thanks in advance .Something like this ?
SQL> set line 1500
SQL> WITH test as
2 (SELECT 'DC_LOG_LEVEL' col1,'DC log level ,ERROR=0,SYSTEM=1,INFO=2,DEBUG=3' col2 FROM dual UNION ALL
3 SELECT 'EF_LOG_LEVEL' col1,'EF log level ,ERROR=0,SYSTEM=1,INFO=2,DEBUG=3' col2 FROM dual UNION ALL
4 SELECT 'GH_LOG_LEVEL' col1,'GH log level ,ERROR=0,SYSTEM=1,INFO=2,DEBUG=3' col2 FROM dual
5 )
6 ----End of Test data Creation -----
7 ---- Actual Query -----------------
8 SELECT DISTINCT col1,regexp_substr (col2, '[^,]+', 1, level) col2
9 FROM test
10 CONNECT BY LEVEL <= LENGTH (REGEXP_REPLACE (col2, '[^,]+')) + 1
11 ORDER BY 1;
COL1 COL2
DC_LOG_LEVEL DC log level
DC_LOG_LEVEL DEBUG=3
DC_LOG_LEVEL ERROR=0
DC_LOG_LEVEL INFO=2
DC_LOG_LEVEL SYSTEM=1
EF_LOG_LEVEL DEBUG=3
EF_LOG_LEVEL EF log level
EF_LOG_LEVEL ERROR=0
EF_LOG_LEVEL INFO=2
EF_LOG_LEVEL SYSTEM=1
GH_LOG_LEVEL DEBUG=3
COL1 COL2
GH_LOG_LEVEL ERROR=0
GH_LOG_LEVEL GH log level
GH_LOG_LEVEL INFO=2
GH_LOG_LEVEL SYSTEM=1
15 rows selected.
SQL> OR
SQL> WITH test as
2 (SELECT 'DC_LOG_LEVEL' col1,'DC log level ,ERROR=0,SYSTEM=1,INFO=2,DEBUG=3' col2 FROM dual UNION ALL
3 SELECT 'EF_LOG_LEVEL' col1,'EF log level ,ERROR=4,SYSTEM=5,INFO=6,DEBUG=7' col2 FROM dual UNION ALL
4 SELECT 'GH_LOG_LEVEL' col1,'GH log level ,ERROR=0,SYSTEM=1,INFO=2,DEBUG=3' col2 FROM dual
5 )
6 ----End of Test data Creation -----
7 ---- Actual Query -----------------
8 SELECT col1,REGEXP_SUBSTR(col2,'[^=]+',1,1)col2,REGEXP_SUBSTR(col2,'[^=]$+',1,1) col3
9 FROM (
10 SELECT DISTINCT col1,regexp_substr (col2, '[^,]+', 1, level) col2
11 FROM test
12 CONNECT BY LEVEL <= LENGTH (REGEXP_REPLACE (col2, '[^,]+')) + 1
13 )
14 ORDER BY 1,3;
COL1 COL2
COL3
DC_LOG_LEVEL DC log level
DC_LOG_LEVEL ERROR
0
DC_LOG_LEVEL SYSTEM
1
COL1 COL2
COL3
DC_LOG_LEVEL INFO
2
DC_LOG_LEVEL DEBUG
3
EF_LOG_LEVEL EF log level
COL1 COL2
COL3
EF_LOG_LEVEL ERROR
4
EF_LOG_LEVEL SYSTEM
5
EF_LOG_LEVEL INFO
6
COL1 COL2
COL3
EF_LOG_LEVEL DEBUG
7
GH_LOG_LEVEL GH log level
GH_LOG_LEVEL ERROR
0
COL1 COL2
COL3
GH_LOG_LEVEL SYSTEM
1
GH_LOG_LEVEL INFO
2
GH_LOG_LEVEL DEBUG
3
15 rows selected.
SQL> Edited by: Saubhik on Dec 20, 2010 6:17 PM -
Hi my name is Julia, and I want to buy a iphone 5s and i have a iphone 4, I would like to know if when i'll go to buy the 5s my phone will have some value in the change
thanksIn the U.S., at least, the carriers have trade in programs. There are also lots of third party sites such as Gazelle.com that will give you money for old electronics. You should be able to get a quote from one of them.
Best of luck. -
I want to add same value/text in every cell in a column in Numbers 3.0
I want to add same value/text in every cell in a column. For example, in all my file names are for pictures that are uploaded to a host site, but the name in the cell does not include the URL associated with it. Does anyone know how to be able to add text to a whole column in front of the current text already in that column?
Assume the filenames are in column C.
Let's says you want to add the text before each file name "http://www.apple.com/"
add a new column (let's say D) and add the formula:
D1="http://www.apple.com/"&C
this is shorthand for... in cell D1 type (or paste from here) the text ""http://www.apple.com/"&C" without the first and last double quotes
select D1, copy
select the column D by clicking the letter D at the top of the column, paste
The "&" is called the concatenate operator and joins two strings together -
Need to test if a column have unique values or not
Hi all,
in ETL process I need to check if some cols have unique values or not using sql or plsql.
Suppose we need to load a big file data with external table initially and then test if values
on one or more columns have unique values in order to proceed with ETL process.
What is the faster test I can execute to verify that a column have unique values or not?
It's better for the ETL performance, use:
a. techniques regard constraints like described on Ask tom forum
"ENABLE NOVALIDATE validating existing data"
(Ask Tom &quot;ENABLE NOVALIDATE validating existing da...&quot;)
b. "simply" query on the data?
like this:
select count(count(*)) distinct_count,
sum(count(*)) total_count,
sum(case when count(*) = 1 then 1 else null end) non_distinct_groups,
sum(case when count(*) > 1 then 1 else null end) distinct_groups
from hr.employees a
group by A.JOB_ID
c. use analytics function?
d. use some feature directly on external table?
Bye in advanceHere is the example to handling the errrs using LOG_ERRORS into concept. You will check this and let me know if any doubt you have
DATAFILE:-
1000,ANN,ZZ105
1001,KARTHI,ZZ106
1002,PRAVEEN,ZZ109
1002,PARTHA,ZZ107
1003,SATHYA,ZZ108
1000,ANN,ZZ105
----- Original Table With unique constraints
SQL> CREATE TABLE tab_uniqtest(student_id NUMBER(10) UNIQUE,
student_name VARCHAR2(15),
course_name VARCHAR2(15)
2 3 4
Table created.
----- External table
SQL> CREATE TABLE tab_extuniqtest(student_id NUMBER(10),
2 student_name VARCHAR2(15),
3 course_name VARCHAR2(15)
4 )
5 ORGANIZATION EXTERNAL
6 (
7 DEFAULT DIRECTORY ann_dir
8 ACCESS PARAMETERS
9 (
10 RECORDS DELIMITED BY NEWLINE
11 BADFILE 'tabextuniqtest_badfile.txt'
12 LOGFILE 'tabextuniqtest_logfile.txt'
13 FIELDS TERMINATED BY ','
14 MISSING FIELD VALUES ARE NULL
15 REJECT ROWS WITH ALL NULL FIELDS
16 (student_id,student_name,course_name)
17 )
18 LOCATION ('unique_check.csv')
19 )
20 REJECT LIMIT UNLIMITED;
Table created.
---- Error logging table to log the errors
SQL> CREATE TABLE dmlerrlog_uniqtest(ORA_ERR_NUMBER$ NUMBER ,
2 ORA_ERR_MESG$ VARCHAR2(2000),
3 ORA_ERR_ROWID$ ROWID,
4 ORA_ERR_OPTYP$ VARCHAR2(2),
5 ORA_ERR_TAG$ VARCHAR2(4000),
6 inserted_dt VARCHAR2(50) DEFAULT TO_CHAR(SYSDATE,'YYYY-MM-DD'),
7 student_id VARCHAR2(10)
8 );
Table created.
---- Procedure to insert from external table
SQL> CREATE OR REPLACE PROCEDURE proc_uniqtest
2 AS
3 v_errcnt NUMBER;
4 BEGIN
5 INSERT INTO tab_uniqtest
6 SELECT * FROM tab_extuniqtest
7 LOG ERRORS INTO dmlerrlog_uniqtest('PROC_UNIQTEST@TAB_UNIQTEST') REJECT LIMIT UNLIMITED;
8 SELECT COUNT(1) into v_errcnt
9 FROM dmlerrlog_uniqtest
10 WHERE ORA_ERR_TAG$ = 'PROC_UNIQTEST@TAB_UNIQTEST';
11 IF(v_errcnt > 0) THEN
12 ROLLBACK;
13 ELSE
14 COMMIT;
15 END IF;
16 DBMS_OUTPUT.PUT_LINE ( 'Procedure PROC_UNIQTEST is completed with ' || v_errcnt || ' errors') ;
17 EXCEPTION
18 WHEN OTHERS THEN
19 RAISE;
20 END proc_uniqtest;
21 /
Procedure created.
SQL> SET SERVEROUTPUT ON
SQL> EXEC proc_uniqtest;
Procedure PROC_UNIQTEST is completed with 2 errors
PL/SQL procedure successfully completed.
SQL> SELECT STUDENT_ID,ORA_ERR_MESG$ FROM dmlerrlog_uniqtest;
STUDENT_ID ORA_ERR_MESG$
1002 ORA-00001: unique constraint (
SCOTT.SYS_C0037530) violated
1000 ORA-00001: unique constraint (
SCOTT.SYS_C0037530) violated -
Hi everyone,
Using the Writer block, configured with a correct SQLAzure instance, I experience this error:
- Error 1000: AFx Library library exception: Sql encountered an error: These columns don't currently have unique values.
I have read that this error can be related to inheritance problems, but my table does not have inheritances of any kind:
CREATE TABLE [dbo].[my_table](
[my_float] [float] NULL
) ON [PRIMARY]
GO
Writer block parameters:
Comma separated list of columns to be saved:
temp (from Bike Rental UCI Dataset)
Data Table name: [dbo].[my_table]
Comma separated list of datatable columns:
[my_float]
The experiment from which I have extracted the writing part was able to correctly write to DB until few days ago. Is it possible that some changes in the platform are causing this issue or am I doing something wrong?
Thank you and best regards,
FVHi Maureen,
Yes, the scenario is correct. On SQL profiler I can't see any SQL operation that can lead to that kind of error, but as you were saying it was worth trying anyway having that error message.
New test scenario:
CREATE TABLE [dbo].[my_table_identity](
[ID] [int] IDENTITY(1,1) NOT NULL,
[my_float] [float] NULL,
CONSTRAINT [PK_my_table_identity] PRIMARY KEY CLUSTERED
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
) ON [PRIMARY]
-- These lines work fine on SQL Management Studio
INSERT INTO [dbo].[my_table_identity] (my_float) VALUES (1.23)
INSERT INTO [dbo].[my_table_identity] (my_float) VALUES (1.23)
INSERT INTO [dbo].[my_table_identity] (my_float) VALUES (1.23)
-- I can see all new rows with each one a different ID
SELECT * FROM [dbo].[my_table_identity]
dbo is the default schema for my Azure login.
New writer block parameters:
Comma separated list of columns to be saved: temp
(from Bike Rental UCI Dataset)
Data Table name: my_table_identity
Comma separated list of datatable columns: my_float
I still get the same error: Error 1000: AFx Library library exception: Sql encountered an error: These columns don't currently have unique values.
I have also tried to pass the "instant" column instead of "temp", as it hasn't any duplicated values, but still no luck.
I attach the log file (purged of sensitive information) because I see some error / warnings there.
https://dl.dropboxusercontent.com/u/40411467/azure_log.txt
Thank you again and best regards,
FV
Maybe you are looking for
-
Parameter id and domain relation
Hi, I have a requirment where I need to get user paramerters set and pass the inofmation to web layer, I know the BAPI which can retreive all infomation for user profile. Since that is stored with PID whereas I have to pass infomation with respect to
-
Reg: vender age analysis standard report
HI experts, We have standarrd report custmer aging analysis :RFDOPR10 like do we any report for vender aging analysis ? and please provide where can we get SAP FICO related standerd reports how to search ... thanks in advance. you will get reward
-
11g R1 on Windows 2008 R1 64-bit - Stuck after clicking setup.exe
I ran setup.exe and it's stuck / hung, consuming a full core. I don't even get the prerequisites window to appear. I'm installing over RDP with a console session with admin rights and I even ran setup.exe as Administrator. The server is running in VM
-
Hello Gurus, I need helo with the following scenario: There is an AMEX tool that is used by legal staff to update each purchase with the details around the purchase (tie it to Cost Center, Matter, PO #, etc.). If a PO is entered in SAP for a purchas
-
I'm attempting to print large murals for an exhibit and I'm only getting approx. an 8x10 block of the mural. I have no idea why it's doing this. I have a feeling it's related to the file and not where I'm printing it from. I've tried it from Photosho