Automatically change column headers across drill levels.

.Hi,
      I have a table in my Webi report that displays month-wise data. On drilling down, it displays day-wise data. Now, the first column of this table is 'Month', which displays the month in MM-YYYY format. The column heading for this column is also 'Month'. Next, when I drill down on month, the column displays days in DD-MM-YYYY format. However, the column heading remains as 'Month', although, the data now being displayed in the column is a day-wise data. I want this column heading to change to 'Day' automatically when I drill down to view the day-wise data.
Any help in resolving this issue will be greatly appreciated.
Regards,
Alok.

Hi Gabe,
I see you're getting into drilling!
Yes, this should be possible using Alerters. Essentially, you want to say: if the contents of the cell is x, then display y. I'm not sure if you'll want to look for, say "Month" or "=NameOf([[Month]])" but I reckon one would work.
It's explained a little bit in this post, but it's more about dynamically changing the text that's show in the actual column, not the header: http://blog.davidg.com.au/2011/03/sorting-months-in-webi.html
DG

Similar Messages

  • Change column headers in ALV report

    Hi experts,
    I have created a new simple ALV report (it uses only internal tables, no structures). I would like to change the names of column headers in the ALV report. Is this possible? How can I do it?
    Thanks in advanced.

    Thanks for your reply,
    I am trying to use the code mentioned in the link but I think that something
    is missing, probably a CASE statement before WHEN in the LOOP.
    Can you help me? What do I have to put before WHEN statement?
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          i_program_name         = <program name>
          i_structure_name       = <DDIC structure>
          i_bypassing_buffer     = 'X'
        CHANGING
          ct_fieldcat            = gi_fieldcat[]
        EXCEPTIONS
          inconsistent_interface = 1
          program_error          = 2
          OTHERS                 = 3.                           "#EC *
      LOOP AT gi_fieldcat INTO wa_fieldcat.
          WHEN 'XXXX'.
            wa_fieldcat-seltext_s    = 'Fac'.
            wa_fieldcat-seltext_m    = 'Factory'.
            wa_fieldcat-seltext_l    = 'Factory'.
            wa_fieldcat-reptext_ddic = 'Factory'.
        MODIFY gi_fieldcat FROM wa_fieldcat.
      ENDLOOP.

  • Change column headers dynamically in OBIEE

    hey guys.
    We are working on a BI module for Finance. The data mart captures data for Actuals/Forecasts and Budgets for entire year by months (for example Jan2008 will have Actual/Forecast value and Budget value & similarly for other months of the year) .
    Now while displaying on the dashboard reports the column header for the current month should read as Actual and for coming months it should read as Forecast.
    Any suggestions as to where we can implement this business rule so as to make the column header dynamic.
    Thanks
    OBIEE_user

    Seems like you don't know Venkat yet...
    http://oraclebizint.wordpress.com/2008/01/25/oracle-bi-ee-101332-dynamic-column-headers-using-presentation-variables-sets-and-conditional-formatting/

  • How Do I cahnge lables(column headers) dynamically?

    Hi,
    Dynamically, how do I change column headers based on some other value is the report?
    Thanks

    If the value you want as the column header is in the XML use the element.
    If you want different column headers based on a particular element in the XML then use conditional logic (if or when) wrapped around the column headers to do the selection at run time. See the user guide for examples of conditional processing in the template.
    cheers,
    Dave

  • Performancepoint Hierarchy Disable Drill Down Level on changing Column name in MDX query

    Hello All,
    I have created a report in Performance Point dashboard designer but when I change Column name (Measure Name) in MDX query this causes all the built-in ad hoc
    navigation and decomposition tree functionality that PP provides to become disabled. Is there any solution or alternative way to achieve this. Please provide solution for this.
    Thanks in advance.
    Sapna Kshirsagar

    try these links as reference/:
    https://support.office.com/en-nz/article/Getting-acquainted-with-PerformancePoint-Dashboard-Designer-9e014283-afec-4819-87b9-78be6f6ef0d0?ui=en-US&rs=en-NZ&ad=NZ
    https://technet.microsoft.com/en-us/library/ee748644%28v=office.15%29.aspx
    https://support.office.com/en-gb/article/Creating-scorecards-by-using-PerformancePoint-Dashboard-Designer-2faa3bd6-c361-4c26-a7f9-b81227c875d8
    https://msdn.microsoft.com/en-us/library/office/ee557851%28v=office.15%29.aspx
    Please mark answer as correct if it is correct else vote for it if you find it useful Happy SharePointing

  • Can we dynamically change the column based on drill filter parameters

    Hi All,
    Is it possible to pass the drill filter parameter from a parent WebI report to Child webI report.
    Here is the scenario:
    There ar 2 WebI reports: Test1 and Test2.
    Test1 is the parent report which is having the drill options and a link to detial report.
    Depending upon user selection of Region, Market Unit or Country the detail report should display data dynamically by taking those drill filters as input for prompts of second report.
    ie. if user drills to region = APJ, detail report should only display APJ Data at detail level.
    If user is on drill level = Market Unit, only that Market unit details should be displayed, similarly for country.
    I am able to pass the drill parameters of Test1 report using the formula:
    ="<A HREF=https:///OpenDocument/opendoc/openDocument.jsp?sType=wid&sDocName="+URLEncode("Test2")
    "&sWindow=New&lsMRegion="URLEncode(If(DrillFilters([Region])="" ; [Region_All];DrillFilters([Region])))"&lsMMU="URLEncode(If(DrillFilters([Market Unit])="" ; [MU_All] ; DrillFilters([Market Unit])))
    "&lsMMU="URLEncode(If(DrillFilters([Country])="" ; [Country_All] ; DrillFilters([Country])))
    ">""Detail Report"+"</A>"
    But I am not sure what formula I need to write in the Test2 report so that column changes based on the drill filter selection in Test1 Report.
    Can you please someone help me out in this?
    Thanks in Advance.
    Regards
    Sindhu

    Please find my replies inlined >>>
    Hi Tapash,
    Thanks for the reply. I have already extended the
    VORowImpl class and overridden the setAttribute14.
    The value gets stored in the database, but I am not
    able to fetch this value using getAttribute14() in
    the VORowImpl class. I am not sure why, but my
    requirement is to change the value of an attribute
    depending on its previous value.
    You need to requery your VO to get the data back from the DB
    Let me elaborate my requirement. In iprocurement we
    have created a requisition using copy to cart
    feature. Our requirement is to launch the Account
    Generator whenever a requisition is created using
    copy to cart.
    Okay
    This can happen if we change the value of an
    attribute. I changed the value of this attribute from
    the form
    Do you mean you changed the value from forms application ?and observed that account generator is
    launched. But as this attribute is not used by
    client, I want to change the value of this internally
    but it should behave the same way as if the value is
    being changed from the form.
    I hope this makes the requirement clear.
    What i understand is, you need to launch the account generator when you create a req using copy to cart, so let us look at that, i would suggest not to change/use tha flex attibutes if not required, because the client might want to define a DFF on the field tomorrow, that is the purpose of attribute fields, now if you manage to get your requirement by using it today, it might incur rework tomorrow.I will find out how iProc works and would let you know other better way of launching the account generator.
    >
    Thanks

  • Column Headers Keep Changing

    Many times now I've had to change the column headers that appear over emails only to have them change back to something else.
    I click VIEW > COLUMNS and then put a check next to the ones I want to display like FROM, SIZE, ATTACHMENTS etc. Then I rearrange the order they will appear in by dragging the headers to the left or right in the viewer window.
    When I come back to the mailbox later, the view has reverted to what it was before.
    Any ideas? I don't think it's a sync issue with my other computer (which is doing this too) because I only use sync for Keychain and iCal, not Mail. I use IMAP and get my mail through Google Apps. Does the problem trace back to Google's control panel?
    I want to LOCK the way column headers appear and be done with it!
    Thanks.

    Yes it worked, thanks a lot. here is my code
    Dim mydate As DateTime, str1 As String
    Dim datevalue As Date
    Dim columns As DataGridViewColumn() = New DataGridViewColumn(6) {}
    For i = 0 To columns.Length - 1
    Dim col As DataGridViewColumn = New DataGridViewTextBoxColumn()
    Dim DateSunday As Date = Now.AddDays(-1.0 * CDbl(Now.DayOfWeek))
    mydate = DateSunday.AddDays(+i)
    datevalue = mydate
    str1 = mydate.DayOfWeek.ToString
    col.HeaderText = str1 & " " & mydate.ToString("d")
    columns(i) = col
    Next
    Me.DataGridView1.Columns.AddRange(columns)

  • When do export to excel value of char column automatic changes in excel

    When do export data , the values of varchar2 column (of oracle) it automatic changes
    Eg.
    the value in oracle (varchar2(100) is --> 205013113452
    when do export to excel it's change to ---> 2.05013E+11
    How can I solve this problem?.
    Regards
    Akbar

    create a view with the order of colums that you want to see in excel and export to excel after selecting that view now you will get the excel columsn with format you like .

  • Change the colour of some column headers

    Hello All,
    I have a table with a few columns. I want to colour some of the column headers. I want to do this as these columns represent a KEY.
    Regards,
    Aayush

    Hi Aayush,
    As such there doesn't exist any way to colour only some column <b>headers</b>. The two existing options are :
    1) Show the data of some columns in a different colour. For this use text views (default one) as the column elements, and select one among the few built-in colours for the property 'semanticColor' of the text view.
    2) Attach a small image to the primary column's header, using the 'imageSource' property of the table header.
    Hope this helps,
    Best Regards,
    Nibu.

  • How to make column headers in table in PDF report appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp

    Hi my name is vishal
    For past 10 days i have been breaking my head on how to make column headers in table appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp.
    Given below is my code in c# on how i export datas from different tables in sql server to PDF report using iTextSharp:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.Data.SqlClient;
    using iTextSharp.text;
    using iTextSharp.text.pdf;
    using System.Diagnostics;
    using System.IO;
    namespace DRRS_CSharp
    public partial class frmPDF : Form
    public frmPDF()
    InitializeComponent();
    private void button1_Click(object sender, EventArgs e)
    Document doc = new Document(PageSize.A4.Rotate());
    var writer = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    doc.SetMargins(50, 50, 50, 50);
    doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
    doc.Open();
    PdfPTable table = new PdfPTable(6);
    table.TotalWidth =530f;
    table.LockedWidth = true;
    PdfPCell cell = new PdfPCell(new Phrase("Institute/Hospital:AIIMS,NEW DELHI", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK)));
    cell.Colspan = 6;
    cell.HorizontalAlignment = 0;
    table.AddCell(cell);
    Paragraph para=new Paragraph("DCS Clinical Record-Assigned Dialyzer",FontFactory.GetFont("Arial",16,iTextSharp.text.Font.BOLD,BaseColor.BLACK));
    para.Alignment = Element.ALIGN_CENTER;
    iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
    png.ScaleToFit(105f, 105f);
    png.Alignment = Element.ALIGN_RIGHT;
    SqlConnection conn = new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
    SqlCommand cmd = new SqlCommand("Select d.dialyserID,r.errorCode,r.dialysis_date,pn.patient_first_name,pn.patient_last_name,d.manufacturer,d.dialyzer_size,r.start_date,r.end_date,d.packed_volume,r.bundle_vol,r.disinfectant,t.Technician_first_name,t.Technician_last_name from dialyser d,patient_name pn,reprocessor r,Techniciandetail t where pn.patient_id=d.patient_id and r.dialyzer_id=d.dialyserID and t.technician_id=r.technician_id and d.deleted_status=0 and d.closed_status=0 and pn.status=1 and r.errorCode<106 and r.reprocessor_id in (Select max(reprocessor_id) from reprocessor where dialyzer_id=d.dialyserID) order by pn.patient_first_name,pn.patient_last_name", conn);
    conn.Open();
    SqlDataReader dr;
    dr = cmd.ExecuteReader();
    table.AddCell("Reprocessing Date");
    table.AddCell("Patient Name");
    table.AddCell("Dialyzer(Manufacturer,Size)");
    table.AddCell("No.of Reuse");
    table.AddCell("Verification");
    table.AddCell("DialyzerID");
    while (dr.Read())
    table.AddCell(dr[2].ToString());
    table.AddCell(dr[3].ToString() +"_"+ dr[4].ToString());
    table.AddCell(dr[5].ToString() + "-" + dr[6].ToString());
    table.AddCell("@count".ToString());
    table.AddCell(dr[12].ToString() + "-" + dr[13].ToString());
    table.AddCell(dr[0].ToString());
    dr.Close();
    table.SpacingBefore = 15f;
    doc.Add(para);
    doc.Add(png);
    doc.Add(table);
    doc.Close();
    System.Diagnostics.Process.Start("AssignedDialyzer.pdf");
    if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.Yes)
    var writer2 = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    else if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.No)
    this.Close();
    The above code executes well with no problem at all!
    As you can see the file to which i create and save and open my pdf report is
    AssignedDialyzer.pdf.
    The column headers of table in pdf report from c# windows forms using iTextSharp are
    "Reprocessing Date","Patient Name","Dialyzer(Manufacturer,Size)","No.of Reuse","Verification" and
    "DialyzerID".
    However the problem i am facing is after execution and opening of document is my
    column headers in table in pdf report from
    c# and datas in it all appear in bold.
    I have browsed through net regarding to solve this problem but with no success.
    What i want is my pdf report from c# should be similar to following format which i was able to accomplish in vb6,adodb with MS access using iTextSharp.:
    Given below is report which i have achieved from vb6,adodb with MS access using iTextSharp
    I know that there has to be another way to solve my problem.I have browsed many articles in net regarding exporting sql datas to above format but with no success!
    Is there is any another way to solve to my problem on exporting sql datas from c# windows forms using iTextSharp to above format given in the picture/image above?!
    If so Then Can anyone tell me what modifications must i do in my c# code given above so that my pdf report from c# windows forms using iTextSharp will look similar to image/picture(pdf report) which i was able to accomplish from
    vb6,adodb with ms access using iTextSharp?
    I have approached Sound Forge.Net for help but with no success.
    I hope anyone/someone truly understands what i am trying to ask!
    I know i have to do lot of modifications in my c# code to achieve this level of perfection but i dont know how to do it.
    Can anyone help me please! Any help/guidance in solving this problem would be greatly appreciated.
    I hope i get a reply in terms of solving this problem.
    vishal

    Hi,
    About iTextSharp component issue , I think this case is off-topic in here.
    I suggest you consulting to compenent provider.
    http://sourceforge.net/projects/itextsharp/
    Regards,
    Marvin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Cross tab column headers display on all pages

    I made a Crystal Report with a cross tab which displays all details. In the cross tab I have 6 columns with details about the data displayed in the last 2 columns. The headers of these columns are only displayed on the first page but not on other pages. How can I add column headers to all pages? Thank you.

    Column headings should be repeated automatically, row headings can be repeated by
    1.right-clicking on the row header
    2. select Row options
    3. .select Repeat Labels on Page break
    or, when I just reviewed it in the help section it says:
    "When you create a Cross-Tab that is wider or longer than the specified page size, the program automatically spans the printing across enough pages to accommodate the size of the Cross-Tab. In the Preview tab, a line will appear at each page break. For ease in reading, column headings will be repeated on subsequent pages. Row headings can also be repeated using the Keep Columns Together option.
    To repeat row labels
    Right-click the blank top-left area of the Cross-Tab and select Cross-Tab Expert from the shortcut menu.
    The Cross-Tab Expert appears.
    Click the Customize Style tab.
    Select the Repeat Row Labels check box, if desired.
    Crystal Reports lets you designate report objects that don't expand horizontally, such as text objects, field objects, OLE objects, charts, maps, lines, boxes, and so on, to be repeated on each additional horizontal page that a Cross-Tab creates. For more information, see Repeating report objects on horizontal pages."

  • Dynamically changing table headers

    I already know the answer to this since I have spent couple of days previously trying to make this work but thought of putting this on the forum either way.
    Has anyone sucessfully been able to create dynamically changing headers before using a date column "MONYY"? Requirement is that the user is given a prompt selector for "MONYY" and the table will have values for "MONYY + and - 2 months". This "+ and -" 2 months needs to be dispayed as table headers
    E.g. User selects NOV12 and the table header needs to show "SEP12 Sales, OCT12 Sales, NOV12 Sales, DEC12 Sales, JAN13 Sales"
    I have tried everything possible by using the presentation variable in all sorts of functions, trying to pass a variable to a hidden prompt that automatically refreshes on a prompt application. This has been tawing with me and I want to put it to rest knowing that it cannot be acheived.

    It can't. At least not in that way. You could put the value (retrieved from a column or a varaible, your choice) into a column formula though and put it as a table section. Not the same as column headers, I know, but may be worth proposing as a workaround.

  • Spooling column headers correctly

    Hi,
    Im trying spooling a file in DB with below mentioned details.
    SET SERVEROUTPUT OFF
    set heading on
    SET PAUSE OFF
    SET FEED OFF
    SET PAGES 0
    SET LINE 5000
    SET VERI OFF
    SET TERM OFF
    SET TERMOUT OFF
    SET TIME OFF
    SET UNDERLINE OFF
    SET COLSEP ','
    SET ECHO OFF
    SET TRIM ON
    SET TRIMOUT ON
    SET TRIMSPOOL ON
    set newpage none
    spool ${OUTPUT_PATH}/${REPORT_NAME}/${REPORT}_${START_DATE}.csv
    @${SCRIPT_PATH}/${REPORT_NAME}/my_query.sql
    spool off
    exit;
    EOF
    file .sql has 20 odd columns.
    When file is spooled, it shows no columns headers at the top, why is it happening, I dont want to spool column headers separately.

    but is it possible to change the format of multiple columns in one goNo, not possible. You will have to write 20 column format <column_names> A<N> for all the required columns. Here column name and column alias both are same i.e. column format command works same for column alias.
    also tell me one thinng why "set heading on" does not work with "set pagesize 0"?The best thing might be to SET PAGESIZE 0, which turns off paging. Unfortunately, that turns off the automatic headers, too, so you'll have to supply your own header, manually, like this:
    Frank @ Column headers in SQLPLUS query

  • Why do Start/Finish dates automatically change to match Actual Start/Finish dates?

    Please excuse my ignorance, but what is the
    rationale for MS Project automatically changing the "Start" and "Finish" dates to match the "Actual Start" and "Actual Finish" dates when they are inputted?  Can this "feature" be disabled?
    Thanks in advance for any assistance.

    Hi,
    In the end, yes, once actuals are recorded, all these values are the same - but before that they can all be different!
    Before an actual start is recorded, the column shows "NA" (wich obviously is different from Start :-)). To the scjheduling engine, thsi means the start can be freely calculated (from predecessors or resource leveling, f.i.) whereas when a date
    appears in Actual Start, Project will take that value as carved in granite - it is supposed to show past reality, and reality is more powerful than values calculated by the scheduling engine!
    So these two values are not Always identical!
    As for Scheduled start, that is indeed meaningless for automaticlly calculated tassk. But for manually scheduled tasks it does play a role. For a manually schduled task, you can set any start value you want (even a litteral such as "when we have
    the time"). Still, there is an option to make manually scheduled tasks obey links - the result of that calculation is then put into scheduled start - and so there can be a difference between these two columns as well.
    So, no, these 4 values do not have the same function. They are ony identical as soon as actuals are recorded but what do you expect? There is only one past reality, Project does not work with a parallel universum :-)
    Hope this helps,

  • Dragging one cell value(copy) across columns or across rows in ALV layout

    Hi friends,
    In bps layouts, data is displayed in ALV grid as interface. At plng folder level, can i incorporate excel feature like dragging one cell value across columns or across rows?  Simply if user enter one value in cell of ALV grid, that should be copied automatically across rows/columns while dragging?
    Second question, even i chose in layout builder excel as interface, that layout showed in plng folder as ALV grid layout. Why it happens so. I read documentation in UPSPM of that particular plng folder, it tells same thing(even if u choose excel, it will show in ALV only). So how can i get excel interface in plng folder?
    Regards,
    Kumar

    requested property is not possible at ALV layout level. Provided text document load facility to user. So user can directly load excel to plng folder.
    Issue resolved.

Maybe you are looking for