Displaying Alias names in a report
Hi All,
We are facing an issue with a report script, where we need to display both the member name & alias for only the Customer & Product fields in the report.
Where as the report is displaying the alias names for other fields as well after some 9k rows. and it only happens for some rows.. not all.
Any idea why this is happening.. Also we are passing the substitution variable using a .scr script to the report.
Please find below the report script that we are using...
{NOINDENTGEN}
{ROWREPEAT}
{COMMAS}
{SUPFEED}
{ COLHEADING }
<SETUP {TABDELIMIT} { decimal 7 } <Accon <Sym <Quote <End
// Header record to mention product category
{ STARTHEADING
TEXT 1 &CatName
ENDHEADING }
// include variables in the column
<Column("Variable")
// Variables
"variable1"
"variable2"
"variable3"
"variable4"
//includes remaining dimensions in Rows
<ROW ("Planning Group", "Version", "Period", "product", "Customer")
//Product group
"prod.group"
//Select Prior Year
<Link (<DESCENDANTS ("Version") AND <UDA("Version","Period-UDA"))
"FULLYEAR"
{OUTALTNAMES}
// Includes member description
<OUTMBRALT
<LINK( (<DESCENDANTS(&CatCode)) AND (<Gen(Product,11) ) )
<SORTMBRNAMES
<LINK ( (<DESCENDANTS("Customer")) AND (<UDA(Customer,"UDA-Name"))) //AND (<GEN(customer,7) OR <GEN(customer,8) OR <GEN(customer,9)))
!
Firstly, I'd usually do {OUTMBRALT at the beginning of the script instead of the middle. But of course you want to switch...so
You could consider first in breaking up the reportscript into parts. Like you said you tried to have some part showing alias and some part don't. Let's assume for example you break this into 3 reportscripts. Now do you see the difference?
OK and another trick, let's assume it works is that you can use the '!' sign to run multiple reportscripts.
Script Text 1
Script Text 2
Script Text 3
And then you can run it all like one script.
Regards,
Daniel Poon
Similar Messages
-
Display Vendor name in vendinvoice Report
hi expert i have little query , in ax 2012 R3 there is report vend-invoice Report, actually i want to display vendor name on that report,by default there is no vendor name,for this i just added vendor name(extended data type) in vendinvoice temp table,and
then just reference that field in class of vendinvoice,rebuild the ax,and in vs2012 add that field in report design ,and depolye ,but still the vendor name not does not showed in report...plz guide me..
Regards.Hi Munsifuv,
Is this a question about Power Query? If not, I'd recommend directing your question to a Dynamics Ax forum.
Ehren -
Select 0 as 'Alias Name' in webi report modify screen
in SQL you can do this:
select sum(chequeamount) as ROInc_amt, 0 as Inc_amt
how can you do this in a webi report though when I try it doesnt parse what is the syntax to use?
BO Edge XI 3.0
App server: MS Win2003 Server Standard SP2
DB server: MS Win2003 Server Standard SP2
DB on DB server: SQL 2005Try this:
At Universe Level, create an object:
Defination Tab:
Name: 0 as Inc_amt
Datatype: Number
Select= 0
Tables= point to any table
Properties Tab: Make it a measure
At report level, when you pull this object in Query Panel, code will appear as:
SELECT
0, /you can alias it. SQL will validate/
sum(product_promotion_facts.promotion_cost),
Calendar_year_lookup.Yr
FROM
product_promotion_facts,
Calendar_year_lookup
WHERE
( product_promotion_facts.Week_id=Calendar_year_lookup.Week_id )
GROUP BY
0,
Calendar_year_lookup.Yr -
Column name changed in reports
I have to do some changes on my existing report, its really a complex report with more number of columns and tables. now its really hard to fix the alias name changed by report builder automatically. any one could help me to fix this problem, means what i have alias name in query that i want to use in report.
Hi,
Could you pl clarify the Q? Do you mean that Reports Buider has automatically added an alias to a column name? This is not expected.
Or do you mean that you need to change the alias of the column without disturbing the report definition? You can alter the data model of the report using the feature "Customization at runtime using XML". For more information, refer to Chapter 16 in Publishing Reports Manual for 10g:
http://www.oracle.com/technology/documentation/reports.html
Navneet. -
How to display member name and Alias in seperate columns
Hi,
We have a report in HFR which has Employee dimension. We set that member display both Member name and alias. But the report showing both in one column with a - seperator. Is there a way to display them in seperate columns.
Thanks,
DDThanks Mehmet. But whenever I try to insert a column, it throws this error: You can't insert a column here.
I have the grid like this.
Account
Children of Employee
I need to display the member name and alias of Employee dimension inseperate columns. Could you Please help me how to do it?
Thanks,
Ram. -
How to display database name in page footer in webi report
Hi Every one,
I have migrated deski report from BO 6.5 to BI 4.1. and converted Deski to WEBI in 4.1.
In Bo 6.5 page footer displaying database name but BI 4.1 it showing database type (like Oracle 10g,9i ..etc..).
I want database name in page footer.
Please any one help me to solve this issue.
ThanksHi Thanks for your reply.
We have tried this option but its not helpful.
Below syntax is in both BO 6.5 and BI 4.1.but in 6.5 it showing database name where as in BI 4.1 it showing database type
="Track GPQ Database - " + Upper(Substr(Connection((DataProvider(([product])))) ;Pos(Connection((DataProvider(([Product])))) ;"DATABASE")+9 ;7)). -
Display the name of the person who creates (prints) the report
I have designed a report 'template' for other people to use.
I would like a field in the report which displays the name of the person who uses the report template to display data from the database.
The field in the Special Fields drop down menu called 'file author' does not work.
Can anyone suggest what I should use?Try inserting one text object stating "Designed by XXXX" at the footer before creating a template so that when ever the template is used for a report the text object will be printed with that Description
Raghavendra -
Substitution string used in custom Report column name does not display in PDF version of report
I am using Apex 4.2.6.00.03, Apex Listener 2 via Glassfish4 and have set up all my applications and reports on this system. We previously used Oracle 10.2, with Apache with a custom fopping document.
My issue is that I have a report that has custom column headings using a substitution string to pull in the begin or end date for the report. When the report is run and displayed, the column headings appropriately display the date. However, when I try to set up the Print to PDF option, the column headings are not displaying correctly.
Is it possible to use a substitution string in the column heading? I am able to use the substitution string in the Page Header and Page Footer and those display correctly.
In the Report Attributes setup I have set the "Strip HTML" to Yes and I have four columns that are using the &"ITEM NAME". string. See below for actual display:
The report column headings in APEX displays correctly (bold is the substitution detail):
Fund Account Description Balance 07/01/2014 Budget/Goal FY 14-15 YTD Actual 02/28/2015 Ending Balance 02/28/2015
In the Print Attributes setup, when I get to the Report Columns section, the Heading column displays the headings as set up in the Report Attributes custom and I am not able to edit these names. See below:
In the version of the report that is Printed to PDF I get the following for display:
Fund Account Description Balance %26amp;P347_BEGIN_DATE. Budget/Goal %26amp;P347_FY. YTD Actual %26amp;P347_END_DATE. Ending Balance %26amp;P347_END_DATE.
Any assistance would be greatly appreciated.
Thanks,
PatFirst, the misspelled word is a test object and not data.
Second, all data display correctly.
Third, text object is displaying the old misspelled word.
Fourth, I have eliminated the possibility that problems in of my pdf export routine cause this issue by exporting directly from Crystal Reports Viewer. I print the report to the crystal report viewer. The report looks good. The text object is spelled correctly. Then I click the Crystal Reports viewer's export button in the left upper corner and I export to both EXCEL and PDF. The excel export looks good. The pdf export is misspelled. All the export occurs internally in Crystal reports.
Fifth, I found outthat all users who have this problem have the ADOBE PDF writer installed. I am just suspicious that ADOBE writer is interferring with Crystal export
Sixth, I cannot recreate this problem on any of our development and test machines. It only happens on end-user laptops.
Seventh, I changed the name of the report that had this problem and created a new version and installed on end-user laptop. The behaviour still persists. User saved the report as both RPT and PDF. RPT export looks good. PDF version has the spelling problem. Data on both reports is up-to-date and good. I copied the same RPT export to my PC and exported it to PDF, the pdf looks good. That is why I think something on the end-users laptops is causing the export to use some cached template.
One more thing I did was to change the report name in VB.NET project, recreated a new package and installed on end-user's laptop. The same exact problem is still there.
I have worked with Crystal Reports more than 15 years and I have never such a weird behaviour before. I know this sounds very weird. We are all baffled by what is happening. -
A condition to avoid displaying a product with the same Product Name in a report
hello,
Is there a condition to avoid displaying contents of two similar product names in a subreport?
here is the scenario:
Need to display Parent information in a separate List - Good
child Product information in Sub-report,
I'm passing both ProductID and ParentName parameters into Sub-Report to display the contents of the sub-report. If there are no similar Parent name, the sub-report works fine. But if there are similar ParentName, my sub-report
starts listing all Products from the parent name.
example
Parent Product 1 ->
Sulphate
Product_ID -> xx345
child Product1 -> SulPhur (details...) in a SubReport
Parent Product 2 ->
Sulphate
Product_ID -> xx3342
Child Product1 -> Sulphuric Acid (details...) in a SubReportHi xitum,
Per my understanding that both the subreport and the main report contains the field "ProductID" and "ProductName", and some of the ProductID will map the same ProductName which will display some duplicate subreport in the list like below,
right?
I have used some sample data as below and you can see when the different ProductID have the same values of "ProductName" and "Amount" and some other field value, it will display all the duplicate information
in the subreport when add the main report in a list:
ProductID ProductName Amount:
1 ZXITest 220
2 ZXITest 220
3 ZXITest2 100
4 ZXITest3 200
If this is the case, please reference to the similar case in below thread which include details steps about how to do the deduplicate:
how to avoid duplicate displaying a chart in a list
If I have some misunderstanding, please try to provide some snapshot of the unexpect result you have got and more details information about the expect result you want.
Regards,
Vicky Liu
Vicky Liu
TechNet Community Support -
Display Employee Name linked in Item Master in Order Recommendation Report
Dear Experts,
My requirement is that the "Employee Name" linked in Item master have to be displayed next to the item in MRP Order Recommendation Report.
I have created a header level UDF "Employee Name" in Item master and have selected an employee in this field. I have also created another UDF in Order Recommendation Report as "Internal Buyer" as a column. But the employee linked to the Item is not getting displayed in the Order Recommendation Report.
FMS query used in "Internal Buyer" is
SELECT T0.U_Employee FROM OITM T0 where T0.ItemCode=$[oitm.Itemcode]
Regards,
G.Shankar GaneshHi Shankar,
Could you try with this query
SELECT T1.[U_Employee ] FROM [dbo].[OITM] T1 WHERE T1.[ItemCode] =$ ORCM.ItemCode
Regards,
Vijay kumar -
Displaying current user's first and last name on a report.
I would like to dispay the current user's name on a report. I've tried using User() and NQ_SESSION current user .
These two options display the User ID (i.e. User name is Jon Smith. there ID is COMP/JSMITH.
Using the two methods above the ID (COMP/JSMITH) is displayed. Is there a way I could display Jon Smith?
I thought their might be a way to use Full Name or First and Last Name.
Message was edited by:
user618827VALUEOF(NQ_SESSION.DISPLAYNAME) will do the trick
Mike L -
Passing Display Name to Portlet(report) as a parameter???
Does anyone know if we can pass the Display Name for a report dynamically to the portlets?
For now, I have had to create one page for each report(portlet) by Overwriting the report display
option and using specific Query Option for each portlet. Preferably I would just call the report
with two parameters, one used in the sql to narrow down the query and the second for the Display
Name.
Thanks in advance,
Yahya
nullYahya -
For Portal specific questions such as this, you might also want to post them to the Portal specific forums we have on OTN.
Members of the Portal development team monitor and answer questions on those forums.
cheers!
-steve- -
SmartView version 11.1 -- Display Member Name & Alias?
Is it possible to display member name and alias (description) within the same query. This is possible with the Essbase Addin, but I don't see the option in SmartView... its one or the other... ideas?
Hi JFo
This is by design unfortunately, although I wish they would change it as it is one of the most common things I get asked when trying to convert clients from Excel add-in to SmartView!!
There are only certain types of SmartView connection that support displaying both member name & alias together. I can't remember exactly what you can and cannot use but I pretty sure that Planning and Essbase do not support displaying both either in version 9 or 11.1
Fingers crossed it gets added soon!!
Regards
Stuart -
Display First Name and Last Name of generating user in Siebel BIP Report
Hello,
My client has a requirement to display First Name and Last Name of user who generated the report. I need some help to resolve this requirement. Thanks
Eg: Generated by <First Name> <Last Name>
Generated by Siebel Administrator
Regards,
Hari Venkat.Hey Rob,
Is this search help something that you have developed? Can you explain a little more to how the funcitonality works? Is this triggering an operation in your BAdI?
Cheers,
Kevin -
How to use non-default Alias Table in Analyzer report
Hi,I defined many alias tables in Essbase. I would like to use a different alias table other than the "default" in Analyzer 6.5 report. In the on-line help, it said I can modify in "database connection properties" when first defining a new report to use a specific alias table. It tells me to do the following: Click the "New" toolbar button. Select a Display Type or Layout, and click OK. Right-click a database connection name in the "Select Database Connections" dialog box, and select Modify from the right-click menu.So I did this, but as I did the last-right click, there is no "Modify" option available. Only has "Add New..", "Database Connection Properties.." However, if I defined a new personal database connection using the login user, I can select to use other alias table. But this will go to personal database connection properties.Is it possible to specifically tell Analyzer to use other alias the global level in database connection? What I use to do is to have certain reports to use the default alias, and another to use another alias table. These reports should be able to share across all users.Sam
In deed it is fix in the GA.Another way to set the alias table is to do it in the Admin client. If you add a connexion to a user there is a new 6.5 button "set alias" that allow you to set the default alias table for this specific user. But, it does not exit on a user group level.
Maybe you are looking for
-
Can't get tomoyo (AUR repo linux-tomoyo) to work
Hey there, I've got a little problem with tomoyo. I first tried to install the tomoyo-tools -> Missing dependency: linux-tomoyo. Then I read that tomoyo is already inbuilt in Linux kernel, but disabled by default. So I tried to change this setting -
-
How to get rid of the SAP BPC "three globes" startup screen?
Hi, I am trying to figure out how to get rid of the SAP BPC "three globes" startup screen when we start BPC. I do not want it to pop up. I looked at VBA behind the workbooks but could not find anything. Could not make the sheet invisible. Is there a
-
could anybody plz forward me the step-by-step config for "TAX ON SALES AND PURCHASE"- i am facing problem as my config could not calculate taxes thanq
-
Hi, I am new to XSLT and I am trying to transform XML to another format. The java program throws an exception "End of entity not allowed; an end tag is missing.". I did my Stylesheet correctly and XMl file also very simple one. I made lot of changes
-
Please help, how can i solve this... my iphoto is not responding.. thanks