Problem with Group By
Hellosource table:
prod_id - region - months - the sales amount
10 USA - Jan - 1000
11 UK - Jan - 2000
12 - USA - February - 3000
and I have to load 2 different tables
Table 1 target: the amount of the sale must be grouped by region
Table 2 target: the amount of the sale must be grouped by months
How to get there?
The keyword in the expression builder group gives the error:
Bad request: keyword not found
SQL emitted:
Select IN_SALES. SALES_AMT
GROUP OF IN_SALES. SALE_MONTH
of SRC_DEMO. IN_SALES IN_SALES where (1 = 2)
Problem here:
The group by clause must be placed after the from clause
ODI adds the 'of' after the ' group of.
That is why the statement is marked as invalid
Any suggestions?
Thanks in advance
Published by: user9546555 on April 14, 2009 04:38
Hello
When you load the target 1 table, mapping should be like this
Sum (SalesAmount)
don't map prod_id and months
loading taget table 2, mapping should be like this
Sum (SalesAmount)
don't map prod_id and region
Barro
Published by: Balaji.tk on April 14, 2009 06:09
Tags: Business Intelligence
Similar Questions
-
.
Hello
Whenever you have a problem, post a small example of data (CREATE TABLE and INSERT, only relevant columns instructions) for all the tables involved and the results desired from these data.
Explain, using specific examples, how you get these results from these data.Looks like you have a fan trap , where exist one-to-many relationships between tables, so that you are adding contains multiple copies of the same row of a table. If this is what is happening, then perform the GROUP BY and the AMOUNT on the table before joining. Without seeing some examples of data and the results desired from this data, I can't be sure if this is the problem, or any more tell you in detail how to fix it.
-
Hello
I want my data to group concat:
instead of having:
Here's my output data:
ID | Brand
55. Xcel
55. DCS
I would like:
ID | Brand
55. XCEL, DCS
but when I use the function concat wm_concat or a group that I have an error message. My Oracle version is:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi.
Here's my query:
Do you have any idea how to group concat?select RES."ID", wm_concat((select NAME from BRAND where ID=RES.BRAND_ID)) as "BRAND" from HCQ_RESOURCE RES
Kind regards
Jarod.Hello
After the complete script that you ran, and the exact error message that you have.
Always tell what version of Oracle you are using. -
Problem of Skype calls groups calls problem/video group
Hello
I use Skype on Samsung Galaxy A5 (A500FU) and I can not start a group call / or call groups like the button 'call' in the upper right corner is missing. Same problem with group video calls (call button is missing).
I use the latest version of Skype for Android - 6.33.0.575
Any ideas?
Thanks in advanceSkype has solved the problem in version 7.01.0.669 of 31.05.2016. After the update the Group calls (video & audio) work correctly.
I must say that I am really impressed with their customer service. I explained the problem in detail and in the next update, the problem has been resolved. All people using Skype on Samsung Galaxy A5 will be very happy
Thank you
-
Problems with "security access control list '.
Hello
My system is configured as follows
UCM - 11 GR 1 material - 11.1.1.4.0 (Build: 7.3.0.180)
-Database 11 GR 2
OracleTextSearch - engine is used
RoleEntityACL - component is enabled
-Parts of my config.cfg
I want to create lists of access control for users, groups, and roles. I followed the the next page http://download.oracle.com/docs/cd/E17904_01/ documentatoindoc.1111/e10792/c03_security.htm#CDDBCIDASearchIndexerEngineName=OracleTextSearch IndexerDatabaseProviderName=SystemDatabase UseEntitySecurity=true
Everything seems to work fine at first, because I'm able to add users, groups, and roles to the ACL of the document. The problem is that adding a user, group or role of the ACL of a document does not affect the rights of a user a of the document.
Example:
-Wear a read access to "public"-SecurityGroup
-UserB is to check in a "document1" to the SecurityGroup 'public' and adds UserA to the ACL of "document1" give UserA 'read' and 'write' access to "document1".
-The result is that UserA doesn't have to 'write' access to "document1", well it is in the ACL (same problem with groups and roles)
In this scenario shouldn't UserA have "write" access "document1" or I have a bad understanding of access control lists?
Thanks in advance
BrahimYou heard wrong...
Permissions through ACL are subject to the same rules of intersection between the permissions granted by the intermediary of roles or accounts.
If you want write access to a document, you must have at least write access to the security group of the document, account and have RW permissions in the ACL.
In other words work ACL on top existing accounts/groups and roles that they do not replace the existing UCM permissions. You can restrict the permissions by an ACL but not grant permissions that the user has not already set for the account or the security group.
And by are the ACL way ugly generally impassable and unmanageable so if you have to use them all to be very careful!
hope tha helps
Tim -
How to resize pin tabs / deal with problems of Group tab in Firefox 22?
With the automatic update of Firefox 22, my pinned tabs have swelled in size; not only this horrible aspect, but it reduces the real estate available for the other tabs. While NoSquint has solved the problem with websites randomly resizing themselves, everything else (menu add-on, toolbar icons) has also increased in size, which affects what can be displayed.
Another problem with 22, this is my tab groups are there is more normally: I click a group and another group moves around the screen, usually jump behind the original group I clicked on. Suggestions to improve these problems are very popular.
Hello, firefox 22 is now about the density of pixels you have upgraded to system in Control Panel > appearance > display. more information on this topic is available at http://windows.microsoft.com/en-us/windows7/make-the-text-on-your-screen-larger-or-smaller
If you want to set the text size/pixel density in firefox is different that your system settings as it has been addressed in previous versions, enter about: config in the address bar of firefox (confirmed the message information where it appears) and search for the preference named layout.css.devPixelsPerPx. Double-click it and change its value to 1.0 (or any zoom factor that fits your purpose; 0.8 is equal to 80%, 1.15 is 115% and so on...,-1.0 is the default and will comply with the configuration of the system).
-
Problem with remote access in a residential group
Having a problem with desktop sharing remote within a group of home access. I don't have problem of access to the desktop from the laptop, but for some reason I can't access the laptop from the desktop. I tried everything I could think of. Remote access is enabled on both PCs. Help, please. Thank you very much!
Hello
1. who is the operating system installed on the desktop and laptop computers?
2. what happens when you try to access the laptop from the desktop? You receive an error message?
3. What are troubleshooting you performed?
I suggest you follow these methods and check.
In a first step of troubleshooting, I suggest to run the troubleshooter to group on the source and the destination computer.
Step 1: Open the troubleshooter group living
If your computer has problems viewing computers or files shared in your collective housing, try to use the collective dwelling Troubleshooter to fix the problem
http://Windows.Microsoft.com/en-us/Windows7/open-the-HomeGroup-Troubleshooter
Step 2: Share files and folders on a group of houses in the laptop using the method proposed below. Try to access from desktop and check.
a. right click on the item you want to share, and then click share with.
b. Select Home Group (read/write)
c. this option share point with your entire Home Group and allows them to open, edit, or delete.
Share files with someone: http://Windows.Microsoft.com/en-us/Windows7/share-files-with-someone
See also:
Home Group: frequently asked questions
http://Windows.Microsoft.com/en-us/Windows7/HomeGroup-frequently-asked-questionsI hope this helps!
-
BBM BBM groups - problem with lists and complete / incomplete
Was wondering if anyone else has this problem with BBM group lists.
The two 10.2.1.3175 OS running on a Z10 (MTS) and 10.2.1.3247 (Rogers)
BBM version 10.3.33.18BES 10.2.0.33
Create a new group and add a list to the group. Add a number of items and when you hit the audit to complete / incomplete, it often checks / unchecks a 2nd independent element.
I tested on 3 different devices / users so don't think it's my BB ID.
Can anyone else duplicate?
This problem makes it absolutely useless lists for me now because I use mainly for shopping lists, and if I check the items that I acquired and the fact, I obviously Miss things on my list.
(Note: I have an ID for test on an iPhone with BBM for iOS and it does not seem to meet this problem)
Probably a bug in BBM. We cannot do that until they update nothing BBM. There are other bugs in there also we expect on patches for.
-
Please
I have windows 7, Member of the domain, we created the policy in the domain controller to restrict any USB storage device and it works well.
My problem is: when I install ZTE MF190 Dongle (USB Modem Stick) first time as administrator it work well, but when restart windows and switch the usb modem, connect as user limited to work, it has not detected (Modem USB Stick) in windows and I found in the "USB mass storage" Device Manager with yellow mark and tied to the usb modem.
My question is: how except "USB mass storage" which associated (Modem USB Stick) of limited strategy of USB storage for the usb modem work.
Note: I've updated "USB mass storage" windows with compatible driver (USB composite device), the modem worked, but when restart it windows that the same problem with "USB mass storage" brand yellow and usb modem not detected again in windows.
Help, please.
Hi Yahia,
The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums:
http://social.technet.Microsoft.com/forums/Windows/en-us/home?category=w7itpro
-
Problems with window 7 HmePrem & IE-10 working group
Several permissions problems when trying to convert two win 7 HP network/workgroup
cmptrs to a homegroup. After having upgraded frm 9 - IE-IE - 10. There are incompatibility issues?
I get messages "you don't have permissions to open this file - check the spelling of the names...". »
for most of my SYSTEM files. How to get back to the task force base for these two cmptrs?
Hi Williams,
There are several reasons why you might not be able to access your homegroup. First, try to run a Wizard Fix It to diagnose and fix common problems with access to a homegroup.
Why can't I access my homegroup? :
http://Windows.Microsoft.com/en-in/Windows7/why-cant-i-access-my-HomeGroup
If you need further assistance on this topic, let know us and we will be happy to help you.
-
Enable ASA 9.1 problems with tunnel-group-list
Hello!
I try to get a working configuration where the Cisco VPN / DTLS phones VPN connect, while allowing access remotely via client AnyConnect of PCs. I have two groups of tunnel and configured for this purpose of group policy and use Group-URL.
Phones are connect very well, but I don't get the drop down menu to choose between the two groups of tunnel when connecting to a remote computer.
An excerpt from the config.
Moreover, I had the menu work previously when I used group instead of group-URL aliases. However, the phones seem to require the URL group. Now that I have those configured, the menu does not work. If I get the full URL in the AnyConnect window, both URLs work, and I can connect.
Thank you in advance for any suggestions you may have!
Deb
WebVPN
allow outside
AnyConnect image disk0:/anyconnect-win-2.5.2014-k9.pkg 1
AnyConnect image disk0:/anyconnect-macosx-i386-2.5.2014-k9.pkg 2
AnyConnect image disk0:/anyconnect-linux-2.5.2014-k9.pkg 3
AnyConnect enable
tunnel-group-list activate
ABC Group-Policy internal
ABC Group Policy attributes
value of server WINS 10.10.16.17 10.10.16.12
value of 10.10.16.17 DNS server 10.10.16.12
VPN - connections 3
SSL VPN-tunnel-Protocol l2tp ipsec client ssl clientless
Split-tunnel-policy tunnelall
field default value abc.com
the address value AnyConnectPool pools
WebVPN
activate AnyConnect ssl dtls
AnyConnect Dungeon-Installer installed
time to generate a new key ssl AnyConnect 1440
AnyConnect ssl generate a new method ssl key
AnyConnect client of dpd-interval 5
dpd-interval gateway AnyConnect 30
AnyConnect ask none
internal strategy of group ABC - STG
ABC - STG group policy attributes
value of server DNS 8.8.8.8
VPN - connections 3
SSL VPN-tunnel-Protocol l2tp ipsec client ssl clientless
Split-tunnel-policy tunnelspecified
Split-tunnel-network-list value Split-Tunnel-encrypt-ACL
field default value abc.com
the address value AnyConnectPool pools
WebVPN
activate AnyConnect ssl dtls
AnyConnect Dungeon-Installer installed
time to generate a new key ssl AnyConnect 1440
AnyConnect ssl generate a new method ssl key
AnyConnect client of dpd-interval 5
dpd-interval gateway AnyConnect 30
AnyConnect ask none
type tunnel-group Split-Tunnel-Group remote access
attributes global-tunnel-group Split-Tunnel-Group
address pool AnyConnectPool
Group Policy - by default-ABC-STG
tunnel-group Split-Tunnel-Group webvpn-attributes
allow group-url https://asa.abc.com/ABC-STG
tunnel-group ABC - Tunnel - type remote access Group
attributes global-tunnel-group ABC - Tunnel - Group
address pool AnyConnectPool
Group-ACTIVE DIRECTORY authentication server
Group Policy - by default-ABC
password-management
ABC - Tunnel tunnel-group - webvpn-attributes Group
allow group-url https://asa.abc.com/ABC
Hello
You can have group-alias and group-url at the same time in the configuration so that the phones can connnect with Group-url and users can click on the drop down menu to select the right connection profile.
tunnel-group
webvpn-attributes
Group-aliasenable
Group-urlhelp Kind regards
Dinesh MoudgilPS Please rate helpful messages.
-
ios10 problem with non-users of iphone messaging
After upgrading my iPhone 6 ios10, I had intermittent problems with the messaging of Android users (basically, the conversations no iMessage). In about 60% of the time it is not just to deliver the message no matter what I do (pressing the 'Try Again' don't work do not). He has no problem with the reception of the texts, but I can't answer to Android users (Interestingly, I can message users of Android if they are in a group with iPhone users text). I tried everything was updated to the last verision until reset of ios everything.
I can't find anything online about this. I'm the only one who what?
Group Messaging uses the MMS. Normal text messages using SMS. SMS uses the voice channel to transfer messages and is strictly a basic function. If you are experiencing problems sending SMS, contact your carrier.
-
problems with sending/receiving messages
For the last two weeks my iphone 6 s and my son 6 more have had problems with sending/receiving messages in the texts of the Group and regularly comes to a voicemail. Messages are not at all or you may be able to receive them. Then last night on a group text between me and another user of iphone and a droid user messages were not all going through and an 'unknown' appeared on the screen of the droid users as if this person has attempted to send a message to our group text but nothing was there. Iphone users could not see it. This morning - messages still does not go through the text of the group or on one. Any ideas?
SMS texts are a function of carrier
Control an upgrade of the carrier
If the droid user used an iPhone before having them their registration number
Also check with support carrier technique
-
Problem with messages sent by post El Capitan:
My sent messages appear only when someone answers, i.e., in the context of a thread.
not in my folder "sent" as they did. Can anyone help?
The mailbox list is divided into categories with such topics on my Mac. When you position the cursor on one of these positions (with the exception of the mailboxes), you should see the Word display / hide it on the right. Click view, if that's what you see.
In the category of the mailboxes, the mailboxes are arranged in groups, such as Inbox. To the left of each group is a small tip of arrow. If the arrow points to the right, click it so that it points downwards.
Also note that you may need to scroll the list of mailboxes upwards or downwards to see it all.
-
Satellite Pro C650D - problems with the audio and game controllers
Hello
I recently had problems with my microphone and speakers/headphones and game controllers.
Sometimes the microphone stops working when on Skype, for example, but most of the time works fine, once again, when I restart the pc.Stakeholders sometimes still work when I connect headset.
Some of the sounds are still coming through the speakers while some coming through the headphones.I have a usb game controller which also did not work everything properly.
If I assign buttons in the program that they do not work in the game.All these devices are in Device Manager in a group that makes me think it's sort of annoying update doubtful that messes with them.
Any body have similar problems or know what to do better?
See you soon
LaurinHello
Can you please send some details on the laptop model and the system you are using?
With regard to the issue of sound/mic:
> The microphone sometimes stops working when on Skype, for example, but most of the time works fine, once again, when I restart the pc.Are you talking about internal microphone or external? This only happens using Skype?
In your case I would test the microphone using different applications to make sure that is not a Skype related issue.> Yet sometimes the speakers work when I connect headset.
I recommend this thread:
http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=65295The user has had a similar problem, but this phenomenon was linked to the Realtek HD Audio Manager settings.
She wrote:
+ In the upper right corner, there is a small yellow folder called "Connector settings" in my version. +
+ There, finally I could re-enable the setting "enable popup dialog box, when the unit is plugged. ++ So now when I plug an external speaker or headphones, it appears, and I select the option "helmet" (instead of "line-in"), and then the sound only through the headphones/ext.speaker.+
Regarding the game controller:
> I have a usb game controller which also did not work everything properly.
> If I attribute buttons in the program, they do not work in the game.
I put t think its problem of laptop in my opinion, you must make sure that the controller is compatible with the games you play and also recommended to check some info provided by the manufacturer of the game controller.
Maybe you are looking for
-
I want to register to a new Airport extreme
I am trying to record a new extreme airport bought on Amazon, I don't see where I can do I also bought a 2-year warranty that I have not yet received
-
My settings have disappeared after upgrade on iPad mini
I have lost the settings of my iPad mini icon
-
Satellite U400 - big noise from cooling modules
Hello bought a few months ago Toshiba Satellite U400 and everything was perfect, and I bought it just because I don't like the sounds.When I surf the net I love that he's quite, but these last 5 days he began to ring. Toshiba U400 works and it should
-
ID of the window does not work
I checked with Xbox my Windows ID is * address email is removed from the privacy *, but when I type it in the live window it does not work. It references # is 1154236065. I can't have my xbox live to work, because the windows id does not work on yo
-
G9D66UA: Question before purchase
Hi I'm going to buy a laptop G9D66UA #ABA model number is 8.1 windows or something can it be upgraded to windows 10 I do not understand the spec and equipment