Count Function Specific with Cross Tab Name for Multiple Cross Tabs
Hello Friends I have cross Tab1 and Cross Tab2 based on 2 query data providers. I need to feed calculate the Count of Items in Cross Tab1 and DISPLAY In cross Tab2
Dimension name is ITEM ID
So if there are 21 items in Cross TAB1 then in Cross TAB 2
I want to display "Number of Item" = 21
so do this i Created a count variable
=Count([Item ID]) In Report
which give me 21 in cross tab1 but when I drag that to cross tab2 it give me count of Item in Cross Tab2 = 87 which is wrong since i want 21
so How do I fix this Count in Cross Tab 2
Please help with code to say Count([Item ID]) In Report from cross tab1
thanks
Soniya
Hi,
Have you tried for the solution given in the previous thread by converting it to the dimension or detail?
What result did you get?
If you use "Report" operator/keyword then the formula will give you result for whole report. So if you have sections in the report then you can replace it with Section keyword.
Also measure are dynamic and gives result according to the dimesion you associate with them. so you have to convert it to STRING dimension or detail. before using it in the next block.
Regards,
Rohit
Similar Messages
-
Revision: 12982
Revision: 12982
Author: [email protected]
Date: 2009-12-15 20:44:23 -0800 (Tue, 15 Dec 2009)
Log Message:
Fix for issue with exposing accessible names for combobox list items
QE notes: none
Doc notes: none
Bugs: n/a
Reviewer: Gordon
Tests run: checkintests
Is noteworthy for integration: no
Modified Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ComboBoxAccImpl.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ListBaseAccImpl.asAdd this to the end of your nav p CSS selector at Line 209 of your HTML file, after 'background-repeat...':
margin-bottom: -2px;
Your nav p will then look like this:
nav p {
font-size: 90%;
font-weight: bold;
color: #FFC;
background-color: #090;
text-align: right;
padding-top: 5px;
padding-right: 20px;
padding-bottom: 5px;
border-bottom-width: 2px;
border-bottom-style: solid;
border-bottom-color: #060;
background-image: url(images/background.png);
background-repeat: repeat-x;
margin-bottom: -2px; -
Log on into the function module with different user name.
hi,
i log on into the system with my user id suppose 'mukka' and i have to check the authorization of another user say 'you' using the function module "authority_check_tcode". but here i am getting the problem that when i assigned sy-uname to 'you' and execute the function module it is entering into the function module with 'mukka' user name only.
sample code:-
sy-uname = p_uname.
CALL FUNCTION 'AUTHORITY_CHECK_TCODE' "#EC"
EXPORTING
tcode = v_tcode
EXCEPTIONS
ok = 1
not_ok = 2.
when i am changing the sy-uname with p_uname the sy-uname is changed but when i entered into the function module authority_check_tcode in the debugging mode at the below the sy-uname variable is showing as 'mukka' only. but i need to check the authorizations of user 'you' pls give me solution to my problem.Hi,
Why would you want to check the authorisation of another user and not the one currently logged in? The idea of authorisations is to check the current user is able to perform a certain activity. The majority of fields on SYST are constantly updated to have the correct values (partly so you can't fiddel authorisation checks like this
Maybe if you explain to us what you are trying to do we can offer some other help.
Gareth. -
Count() function throws error in EQL query for metric
Hi
I am trying to use count function in EQL query for Metric Bar to show the number of occurrences of a record.
When the record type doesn't exist i expect the function to return count as 0. Instead the function throws a runtime exception and the whole Metric Bar portlet fails, with error No Results Available. Even though other components in the metric bar have valid results.
2013-02-21 13:03:51,216 WARN [MetricsBarQueryProcessor] The EQL query does not return any results.
2013-02-21 13:03:51,216 ERROR [MetricsBarQueryProcessor] The EQL query does not return any results.
2013-02-21 13:03:51,216 WARN [MetricsBarResultsProcessor] No statement results to process.
The EQL query i am using is
RETURN NUMBER_OCCURS AS SELECT COUNT(EMP_ID) AS NUMBER_OCCURS where EMP_NAME IS NOT NULL group;
I tried using COALESCE but that doesn't help.
Can some one please suggest a workaround to this?Srikanth,
Two statements are used here because the original question was pertaining to the null set (where there are employees in the nav state but no employees that fit the special analytics criteria in the navigation state). The question/answer has nothing to do with what is in the COUNT parentheses clause as Counting a null set will always give you NULL, not 0, no matter what you put in there.
What we're really doing, in the second part of the query, is writing a query over a set of data that is not the null set (i.e. the current navigation state). This allows the 0 value to come through in the case where the first analytics statement is evaluated over a null set of records. If there were truly no records in the navigation state, this too would return a null set and not zero.
Hope that makes sense, feel free to respond (either on here or offline) if it's unclear.
Regards,
Patrick Rafferty
http://branchbird.com -
Where do i get sample abap report functional specification with coding
hai
please help me.
i need sample abap functional spec with tech spec and also coing with doc file format.
please reply
thanks in advance
by
ashokkumarhi
thanks for reply.
this is my email id. please send some sample functional specification .
[email protected]
[email protected]
thanks in advance. -
Hello!
I'm at my wits end: please help! It seems straight forward, and I sold my client on BC thinking this was doable in the events module, but it seems maybe not so without a ton of custom coding.
1. Book an event online,
with option for multiple (say 1-5 people at a fixed cost per person),
and checkout using only Pay Pal (standard or pro, doesn't matter, but I think Standard won't work without shopping cart).
2. The events are every day but Sunday all year long (just admission to an attraction), so is there a way to upload months in advance so they don't have to be manually entered?
I'm so grateful for any assistance.This is all very achievable:
• Events you can add multiple people to book.
• PayPal you use use our APP that's in the BC Appstore (Liam to confirm is works with bookings)
I'm sales and marketing at Pretty, so I'm not the person to advise on how all this fits together. But I'm sure Liam can point you in the right direction.
If you need some consulting or us to do it for you just let me know [email protected]
Brett
www.prettydigital.com.au -
EMIGALL, DEVINFOREC - probs with reg.codes/factors for multiple registers
Hi, guys!
I have a problem with the migration object DEVINFOREC in EMIGALL. When I try to create a device info record with two registers, I don't get the fields register code (field KENNZIFF in structure DVMREG) and register factor (ZWFAKT in structure DVMREG) updated for the second register!!! The first register is OK, but for the second one, "nothing happens".
I'm using the flags KENNZIFF and ZWFAKT in structure DVMRFL. The problem I have here is, that it seems that only ONE entry of the DVMRFL record is allowed and therefor I can only update the first register (I think!!!).
When I tried to create an extra DVMRFL record with register number 002, I get an error saying:
Data error in automation data of device modification
Message no. EN262
Diagnosis
An error occurred in table reg_flag for automation data. The following lines are unpermissible.
Date 01.01.2001 - 31.12.9999
Equipment (device) DEV_0001
Register 002
This is the input file to EMIGALL for DEVINFOREC:
900000000012345682 DVMINT 01 E02 DEV_0001
900000000012345682 DVMDEV DEV_0001 4416 E02
900000000012345682 DVMDFL DEV_0001 E02
900000000012345682 DVMREG DEV_0001 E02 001 E10 10,00000
900000000012345682 DVMREG DEV_0001 E02 002 E11 10,00000
900000000012345682 DVMRFL DEV_0001 E02 001
900000000012345682 &ENDE
In the file above I would like to create a device info record called DEV_0001 with two registers with register factor 10 and with register codes E10 for register 1 and E11 for register 2.
When I look at the device info record in trx EG43, I can see that only the first register is updated correctly. For the second register the register factor is 1 and the register code is empty.
Suggestions, anyone?
Thanx in advance!
With regards,
Tony
Edited by: TonyN64 on Apr 27, 2011 9:45 AMHi Tony,
Migration was ok for this object (DEVINFOREC).
Maybe this will help you (customer structure of DEVINFOREC object):
We suppose that material(MATNR) generic used for creation of device inforecords is called 'DEVINFOREC'.
DataType: DVMINT
Fld CTyp DTyp DLen To Short descriptn.
KEYDATE 3 DATS 8 Key Date for Selection According to Time-Related Validity
SPARTE 2 CHAR 2 Division --- constant: 02 -gas
MATNR 2 CHAR 18 Material Number --- constant: DEVINFOREC for example
GERAET 3 CHAR 18 Device
DataType: DVMDEV
Fld CTyp DTyp DLen To Short descriptn.
BIS 3 DATS 8 Date at Which a Time Slice Expires
AB 3 DATS 8 Date from which time slice is valid
GERAET 3 CHAR 18 Device
MATNR 2 CHAR 18 Device category --- constant: DEVINFOREC for ex
EGERR_INFO 3 CHAR 30 Information Field of Device Info Record
DataType: DVMDFL
Fld CTyp DTyp DLen To Short descriptn.
BIS 3 DATS 8 Date at Which a Time Slice Expires
AB 3 DATS 8 Date from which time slice is valid
GERAET 3 CHAR 18 Device
MATNR 2 CHAR 18 Device category --- constant: DEVINFOREC for ex
EGERR_INFO 3 CHAR 1 Indicators
DataType: DVMREG
Fld CTyp DTyp DLen To Short descriptn.
GERAET 3 CHAR 18 Device
MATNR 2 CHAR 18 Material Number --- constant: DEVINFOREC for ex
ZWNUMMER 3 NUMC 3 Register
BIS 3 DATS 8 Date at Which a Time Slice Expires
AB 3 DATS 8 Date from which time slice is valid
CALOR_AREA 3 CHAR 8 Calorific value district
DataType: DVMRFL
Fld CTyp DTyp DLen To Short descriptn.
BIS 3 DATS 8 Date at Which a Time Slice Expires
AB 3 DATS 8 Date from which time slice is valid
GERAET 3 CHAR 18 Device
MATNR 2 CHAR 18 Device category --- constant: DEVINFOREC for ex
ZWNUMMER 3 NUMC 3 Register
CALOR_AREA 3 CHAR 1 Indicators
Bellow is a sample of 3 records from a file which was imported:
K10073 DVMINT 20080101 K10073
K10073 DVMDEV 99991231 20080101 K10073 BL. B1 SC.2
K10073 DVMDFL 99991231 20080101 K10073 BL. B1 SC.2
K10073 DVMREG K10073 001 99991231 20080101
K10073 DVMREG K10073 002 99991231 20080101
K10073 DVMRFL 99991231 20080101 K10073 001
K10073 DVMRFL 99991231 20080101 K10073 002
K10073 &ENDE
K10074 DVMINT 20080101 K10074
K10074 DVMDEV 99991231 20080101 K10074 BL. B1 SC.3
K10074 DVMDFL 99991231 20080101 K10074 BL. B1 SC.3
K10074 DVMREG K10074 001 99991231 20080101
K10074 DVMREG K10074 002 99991231 20080101
K10074 DVMRFL 99991231 20080101 K10074 001
K10074 DVMRFL 99991231 20080101 K10074 002
K10074 &ENDE
K10075 DVMINT 20080101 K10075
K10075 DVMDEV 99991231 20080101 K10075 BL. B1 SC.4
K10075 DVMDFL 99991231 20080101 K10075 BL. B1 SC.4
K10075 DVMREG K10075 001 99991231 20080101
K10075 DVMREG K10075 002 99991231 20080101
K10075 DVMRFL 99991231 20080101 K10075 001
K10075 DVMRFL 99991231 20080101 K10075 002
K10075 &ENDE
Service module for DEVINFOREC object is: ISU_S_SMALL_DEVICE_CREATE
with following parameters:
Export
X_DEVICE EMG_DEVMOD_INT-GERAET
X_MATNR EMG_DEVMOD_INT-MATNR
X_DEVISION
X_KEYDATE EMG_DEVMOD_INT-KEYDATE
X_UPD_ONLINE U_ONLINE
X_NO_DIALOG N_DIALOG
X_AUTO AUTO
X_OBJ
X_INT_NUM
X_EXT_NUM
Import
Y_DB_UPDATE DB_UPDATE
Y_EXIT_TYPE
Y_EQUNR EGERR-EQUNR
Y_DEVICE
Good luck,
Catalin -
Seeing the detailed sql with db table names for an analysis in OBIEE 11g?
Hello All,
I am trying to see the detailed sql for an analysis to see which tables my analysis is hitting back in the database. Currently all i see is the subject area name with bunch of s_0, S_1,S_2.... but i want to see the actual table names which the Analysis is pulling the data from, I am new to OBIEE. Any help or advise with the steps in order to accomplish my goal is greatly appreciated.
Thanks,
Ravi.
Edited by: user1146711 on Aug 23, 2011 3:24 PM
Edited by: user1146711 on Aug 23, 2011 3:30 PMHi ravi,
You can check in the presentation services by going to Administration/manage session/view log for the specific report that you are running.
You can even check the SQL in log file NqQuery.log in your installation folder C:OracleBI\server\log\NqQuery.log
Check this Courtesy by gerard http://gerardnico.com/wiki/dat/obiee/manage_session_log
hope answered.
Cheers,
KK -
Hi All,
I'm doing a scenario as JDBC2FILE.
I tried to add my jdbc sender system to SLD. So i created the technical system
now i'm creating business system...what should i give at logical system name tab? I've created tech system and business system as third party.
do we need logical system name in this scenario where we are not interacting with any R/3???
can anyone suggest the way to achieve this scenario?
Thanks in advance.....
Santhosh.Hi Santhosh,
I just want to add ons..few more information which it might help you.
You no need to give logical system when you are using Thirdpaty.
Please check the below blog you will get more idea how to proceed to achieve the JDBC Scenario.
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
If you have any doubts while proceeding with your scenario plesae let me know..I will try my level best.
Thanks and Regards,
Chandu -
HT201066 Does the screen record function work with quick time pro for windows?
I am looking at purchasing QuickTime Pro for Winodiws (yes I will be getting a mac soon...) and I was wondering if the screen recorder function that is with quick time on macs is still available on windows?
Screen recording is part of QuickTime X, not QuickTime Pro. QuickTime X is only available for Macs.
(83582) -
Hello all,
As a new PHP/SQL developer I have found great technical assistance from both this forum and from David Powers and his wonderful books. I am at a crucial point in my web development and although I believe I know which direction I need to go, I am still uncertain and so I appeal to you all for your help, especially David Powers.
The website I am building is one which will house many photo galleries. I was able to successfully modify the code provided in David Powers’ book ‘php Solutions’ so that I got the photo galleries constructed and working in the manner I desired.
That being said, a person browsing my website will be presented with a link to see the photo galleries. There will be five (5) categories in which the photos will be separated, all based on specific styles. Now that I have the galleries working, I need to know how to structure things so that I can create a page, like a TOC (table o’ contents) that shows all photo galleries by displaying a thumbnail image or two along with the description. Perhaps I’ll limit the TOC page to only show the latest 25 galleries, arranged with the most current always on top.
The way I have my galleries set up, I have a separate database for each one, containing the photo filenames and other relevant data. To build my TOC structure, should I have an overall database that contains each gallery database filename along with category? This is where I have no idea what I’m doing so if my question sounds vague, please understand I have no other idea how to ask.
The site will grow to the point of having hundreds, if not thousands of photo galleries. I simply want to know how to (organize them) or otherwise allow me to build a method to display them in a TOC page or pages.
I know this is a bit dodgy, but with some info and questions back from you, I feel confident that I should be able to get my point across.
Lastly, I am still developing this site locally, so I have no links to provide (though I feel that shouldn’t be necessary right now).
Many sincere thanks to you all in advance,
wordmanbregent,
I'm chewing this over in my head, reading up on DB's in 'phpSolutions' and I think that things are slowly materializing.
Here is the structure of the website that I have planned:
MAIN PAGE
User is presented with a link on the main page to select photo galleries (other links are also present). Clicking the link takes them to the Category Page.
CATEGORY PAGE
On this page, the User will then have 5 choices based on categories (photo style). CLicking any of these 5 links will take them to respective TOC pages.
TOC PAGE
On this page, the user is greeted with a vertical list of galleries or photosets; one to three thumbs on the left, a small block of descriptive text on the right (ideally containing date/time info to show how recent the gallery is). Newest galleries appear at the top. Eventually, when there are tens or hundreds of galleries in any given catrgory, I'll need to adopt a method for breaking up the qualntity in groups (we can pick 20 for example) that can be scrolled through using a small navbar. This will keep the TOC Pages from getting endlessly long and avoid endless scrolling. User selects a gallery on this page to view.
THUMBNAIL PAGE
On choosing a gallery, a thumbnail page is generated (I have this working already)
IMAGE PAGE
On selecting any thumbnail in the grid, the user is taken to the full-sized photo with a navbar and photo counter at the top. Navlinks allow forward and back, a link to the first image, a link to the last image and one link back to the thumbnail page. (I have this working already).
I provide this info in an effort to help understand the basic structure of my site. The description above is as close to a step-by-step illustration as possible.
Thank you!
Sincerely,
wordman -
XML Parsing issue with same tag names at multiple levels.
My XML has the same tag name , ID at different levels in the XML.
<InventorySearch>
<*ID*>ID1</*ID*>
<interactionDate>2012-09-01T10:30:00Z</interactionDate>
<DescribedBy>
<value>Cycle Count extract</value>
<Characteristic>
<*ID*>ID2</*ID*>
</Characteristic>
</DescribedBy>
<type>Cycle Count</type>
<InventorySearchComprisedOf>
<*ID*>ID3</*ID*>
<quantity>
<amount>1</amount>
<units>EACH</units>
</quantity>
<itemDateComplete>2012-09-07T10:30:00Z</itemDateComplete>
<itemStatus>Open</itemStatus>
</InventorySearchComprisedOf>
</InventorySearch>
When I use the Extract function with XML Sequence, I am getting all the ID values concatenated.
select extract(value(d),'//ID/text()').getstringval() as id1,
extract(value(e),'//ID/text()'). getstringval() as id2
from xxnbn_cc_response_xml_stg x,
table(xmlsequence(extract(x.xml_column,'/InventorySearch'))) d,
table(XMLSEQUENCE(extract(D.column_value,'//InventorySearchComprisedOf')))(+) E;
Return values :
ID1 - ID1ID2ID3
ID2 - ID3
Is this the right way to parse this type of XML?The answer would depend upon your version of Oracle
select * from v$version
and the desired result set you want to see.
If you are 10.2 or later, than XMLTable would be easier to write, but I won't go that way until we know more about what you want to see. -
Can't change Artist or Album name for multiple songs now.
I can no longer select an entire group of songs and change the name of the artist or album. It just ignores my changes. I can change individual items with no problem, but that is incredibly time consuming if I want to change the name of one of these for an entire group of songs.
iTunes 12.0.1.26
Windows 7 Home Premium Service Pack 1
i7-2600K CPU @ 3.4 GHz
16 GB Memory
6 hard drives with at least 5 T of storage in allIt works here. It should work for you too.
See Repair security permissions for iTunes for Windows. It isn't entirely clear but as far as I can tell it seems as if some iTunes file activity is undertaken using the user's security account, and some via the SYSTEM account. If your media has moved between systems then there is a possibility that the permissions aren't ideal and perhaps one of the accounts is blocked.
Alternatively hold down Shift as you Right-click > Get Info and you get the old dialog box which may work better.
tt2 -
is it possible to seperate multiple itunes store accounts and music libraries on 1 computer for 2 iphones ?
Welcome to Apple Support Communities
You just need to create a second iTunes account on your PC or Mac.
To do it, open iTunes while holding down the Option (Alt) key (on a Mac) or the Shift key, and press the option to create an iTunes option. You will have to open iTunes with that key when you want to switch libraries -
Issue material for Subcontracting with reference to PO for multiple batches
Hi All,
Issue: I want to issue 5-6 materials with reference to PO which have multiple batches. How can that be done?
Thus, if my raw material in stock are:
mat X Batch 1 50 nos
mat X Batch 2 40 nos
mat X Batch 3 30 nos
mat Y Batch 6 10 nos
mat Y Batch 7 10 nos
mat Y Batch 8 10 nos
mat Y Batch 9 10 nos
i f for semi finished material A, sub contractor order 45000009 is created, where raw material required are:
Mat X 100 nos
Mat Y 30 nos
then how can I issue the raw materials wrt PO, and select multiple batches at the same time, without user entering the material again and again.
I have gone through the SDN multiple times to see the probable solution exists, but I have not received any solution.
Regards,
AnkushDO MB1B transaction, with Movement type 541,
Enter the material with different Batches for required qty. as different line items.
e.g
line item 1 : mat X Batch 1 50 nos
line item 2 : mat X Batch 2 40 nos
line item 3 : mat X Batch 3 10 nos
line item 4: mat Y Batch 6 10 nos
line item 5 : mat Y Batch 7 10 nos
line item 6 : mat Y Batch 8 10 nos
Edited by: sudhansu satapathy on Oct 21, 2011 7:29 PM
Maybe you are looking for
-
The send button in the SMS/MMS app isn't active - I can't send texts. I've tried various contacts and restarted my phone but still nothing - anyone got any ideas?
-
Colour management between creative suite and iPad/iOS
Does anyone have any insight into colour management for imagery between creative suite and iPad/iOS. ? i.e using the appropriate Proof set up across indesign/photoshop/bridge to as close as you can mimic what you will see on the iPad? We're seeing qu
-
I was using iMovie to edit video. All was fine until I began adding still photos. The application began shutting down randomly and it finally stopped doing that (after I deleted some caches) but now none of the buttons on the application respond when
-
Motion: controlling start/stop of animated still?
Very simple move on a still. I want to start on closeup, move out, pause at one point mid-frame, then move out further to full frame. I'm just using keyframes. I get my start very smooth (bezier) out to my 'pause' ... both the start and the stop at
-
How large is an iOS update?
I have the Verizon iPhone 4. It just received iOS 4.2.7 a few days ago. Any way to find out how large an OS update will be before actually downloading it? If not, is there any way to find out how large it was after the fact? I sometimes have bett