on 10-09-2008 3:57 PM
Hi Guys,
I have a problem, I need to create a query to be displayed in Excel that shows accounting informacion by number, like this:
Account Balance
12110201 1 USD
12110202 1 USD
12110204 1 USD
.
.
.
That works so far, the problem is that I need to add 2 more columns and in 1 of the new columns I need to show only some accounts, like this:
Account Balance NewColumn1
12110201 1 USD
12110202 1 USD Balance of 12110202
12110204 1 USD
the other one is more challenging because it need to show informacion from a different account, like this:
Account Balance NewColumn1 NewColumn2
12110201 1 USD
12110202 1 USD Balance of 12110202
12110204 1 USD Balance of 2406910000
the first values came from my accounts tables that contain balance from sub accounts, but the value 2406910000 is in fact a sub account value.
Can some of you expers can help me on this? Is it possible?
Please help.
if u xplain more about how to obtain new columns that can be helpful.
you can do this using Cell definitions
it can occur if u have 2 structures.
u can use replacement path variable to replace values of Sub account which i am assumin is in rows to provide the value in columns.
Another thing u cannot show "Balance of " as this is a text and u cannot produce text simply in BW
although u can replace values of Subaccount only values in columns from rows.
But this cannot be done for random selection...
you have to xplain at which instance what values need to be shown.
for e.g. in ur scenario u need to show Balance in 3rd column, second row.
so even if u change parameteres with cell definition it will always show balance in this place.
similarly in 3rd column , 3rd row it will always display the Sub account value.
u can use formulaes, boolean logic etc. to solve this.
but not randomly,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi kartikey,
Thanks for the quick response, Im using a multiprovider to combine the Accounts and sub accounts with their balance, and theres some specific cases where the value doesnt come from the account but from the sub account itself, for example:
Account NewCol1
22140000 Balance of 22140000
22140100 nothing here
22140101 Balance of 22140101
In this case 22140101 is a subaccount from 22140100.
This happens in only like 3 or 4 times so its not too much work to indicate when to use the subaccount or not, the problem is i dont know how can it be done
Can you give me more details on how to use cell definitions? do you think that will fix the problem?
Thanks in advance
hmmmm
let me ask this:
You have multiprovider A
in that u have Chars
Account
Subaccount
Source of subaccount
& Keyfigures
$ amounts
okey now, lets say u want to display the data as follow:
-
$amount-----newcolumn1
Account----
-
2244--
-
2245--
bal. of 1234
-
2246--
-
2247--
is that what u are asking to display....
if yes, bring Account in Rows
bring $amount in Collumns
add new selection1, in that add $amounts, then add Subaccounts from characteristics
that way it will show $ for subaccount
for e.g. in above case it will show $value for 1234 which is subaccount of 2245.
My question is when you say "Balance of 22140000" what is that you intend to display here....you want to show $ of Balance i.e $45, $56 etc, or
do you want to show Subaccount Number i.e 1234 or
do u want to show specific texts "Balance of 22140000"
my response above was related to this only, what is that you want to show in ur reports?
what is available in ur multiprovider?
if you wanna show specific texts "Balance of 22140000", this cannot be done because you cannot just create texts in Query designers.
If you wanna show specific $ amounts for that subaccount, answer is create restricted keyfigure
if you wanna show Subaccount Number i.e 1234 etc, that means you will have to create Replacement path variable and then replace values of Subaccount number into that column.
Maybe you will not need cell definition then.
i hope you understand what i am trying to explain..
dont hesitate to reply with detailed explaination, and any questions.
Hi again,
Yes I have a multiprovider with:
Chars
Account
Subaccount
Source of subaccount
Keyfigures
$ amounts
Sorry for the confusion, I checked again the request and here what they want:
SubAccounts Amount NewCol1
120305010200 1 dll
120305020000 1 dll
120305020100 1 dll Amount for SubAccount 22110201
120305020200 1 dll Amount for SubAccount 22110202
120305030000 1 dll
120305030100 1 dll Amount fo Account 1209910000
120305030200 1 dll
Something like that, new column is only going to display the amount for a few subaccounts and even fewer amounts for accounts, these needs to be done on specific rows.
Hope I didnt confuse you, I really appreciate the help, please let me know if I can help you with anything else.
then go with Restricted Keyfigure options.
as you said the $ amount in newcolumn will be available only for specific cases,
then
create a new restricted keyfigure
right click and say new selection
bring in $ amount keyfigure
bring in Subaccounts
hit and save okay
that way you will see $ amounts for Only subaccounts in that column.
Rest all other cells will be empty.
the only way to say thanks is by giving Points.
Thanks, thats a great option but, I guees that by doing it will display the accounts that I choose to restrict but they will appear all in the top, right?
It will look like:
SubAccounts Amount NewCol1
120305010200 1 dll Amount for SubAccount 22110201
120305020000 1 dll Amount for SubAccount 22110202
120305020100 1 dll Amount fo Account 1209910000
120305020200 1 dll
120305030000 1 dll
120305030100 1 dll
120305030200 1 dll
Instead of:
SubAccounts Amount NewCol1
120305010200 1 dll
120305020000 1 dll
120305020100 1 dll Amount for SubAccount 22110201
120305020200 1 dll Amount for SubAccount 22110202
120305030000 1 dll
120305030100 1 dll Amount fo Account 1209910000
120305030200 1 dll
Im right?
It will look like :
SubAccounts Amount NewCol1
120305010200 1 dll Amount for SubAccount 22110201
120305020000 1 dll Amount for SubAccount 22110202
120305020100 1 dll Amount fo Account 1209910000
120305020200 1 dll
120305030000 1 dll
120305030100 1 dll
120305030200 1 dll
No, it s not necessary that it will always look like that.
You can play around with Sort Values in Queries.
Put the Sort Ascending, change this property on Subaccounts
Play around with Sort property of Amount.
You can have the display like you need.
But i think, main point here is "Restricted Keyfigure", first if you are getting that result CORRECTLY or not.
Later on you can play around with Sort Option, Display result as etc. to make the display appropriate etc...
Thanks a lot kartikey,
It works like you said, the subaccount are displayed in the right level, the problem is that the users for some reason dont want the subaccounts in the right level, heres a explanation:
This part is ok and works now
Accounts Amount NEWCOL
221102000000 3 dlls
-221102010000 1 dll
-221102020000 1 dll
-221102040000 1 dll
.
.
.
the accounts continue..
.
.
Accounts Amount NEWCOL
121101020000 1 dll Amount from 221101000000
121101040000 1 dll Amount from 221102000000
121102000000 1 dll Amount from 221103000000
121102000000
121102010000 1 dll Amount from 221101000000
121102020000 1 dll Amount from 221102000000
121102040000 1 dll Amount from 221103000000
in adition they want another 2 columns to do some calculations and they need the amount from the last 3 subaccounts to be displayed at the same level as these accounts like shows above.
I know it doesnt make much sense, well at least it doesnt do to me , but that how they want it.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.