WEBI Time format when using Universe

Hi,
I have a WEBI report built on a universe that uses a BW query as a datasource.
In my BW report I have two time key figures of type DEC.
Actual Time and Scheduled Time in format HH:MM:SS or -HH:MM:SS if it is a negative value. It works well in Bex.
There is a Universe report built on top of this report and my WEBI report is built on the universe.
When I run the WEBI report the time key figures display in the format 10,000 instead of 01:00:00. It is obviously doing some type of internal conversion and outputting the wrong result.
Is there a way to convert the field in BO so that it outputs the same as Bw format?
I have tried changing the universe format properties of the field from Number to Character and back again but it does not give me any different result and in some cases it displays as #DataType.
Any suggestions welcome.
BO Version 3.1
BW Version 7.01
Regards,
John

Hi
you can able to change Actual Time and Scheduled Time according to your requirement using create custom display format in the Business layer. 
Please find the below link.....for how to create custom display format
http://scn.sap.com/community/semantic-layer/blog/2014/04/18/bi41-business-layer-enhancements--create-display-format

Similar Messages

  • I have new macbook pro retina and is there a web design format can use?

    I have new macbook pro retina and is there a web design format can use?

    I'm not understanding your question. I think you would use any of the current web design formats. Are you talking about what styles to use? If so see the css standards css1, css2, css3 to see what they can provide and which browsers are most compatible. If you are talking about languages use a current standard like html5, php, C#, visual basic , javascript, etc.
    Be more specific about what you are asking.

  • Run time error when using search

    I get a run time error when using the search in iTunes store. Running current iTunes version.

    Duplicate post -- Client ADI display A runtime error in Office 2010

  • BO 3.1 WEBI Time format variable not showing correctly

    Hi,
    I apologise in advance. I know this topic has been covered many times in previous forums but I have been through each and I am still encountering an issue.
    My requirement is to convert x number of seconds into a HH:MM:SS time format for both positive and negative numbers in WEBI.
    I found a formula on a forum here that suggest using the following code:
    =FormatNumber(Floor([Column_Name]/3600) ;"0") + ":" + FormatNumber(Floor(Mod([Column_Name];3600)/60);"00") + ":" + FormatNumber(Mod(Mod([Column_Name] ;3600) ;60) ;"00")
    I have used this code and when I give the code an input of -720 seconds it outputs in the format -1:-12:00.
    It is quite frustrating I cannot get this to the correct format, can anyone suggest what is wrong with this formula?
    I am using WEBI for creating the formula on BO 3.1.
    Kind Regards,,
    John

    Hi,
    Let me try.
    This is your formula.
    =FormatNumber(Floor([Column_Name]/3600) ;"0") + ":" + FormatNumber(Floor(Mod([Column_Name];3600)/60);"00") + ":" + FormatNumber(Mod(Mod([Column_Name] ;3600) ;60) ;"00")
    Issue with this formula is only when you have used negative seconds.I have break the formula =FormatNumber(Floor([Column_Name]/3600) ;"0")  and found this is giving the wrong result.If you divide -720/3600 you will get 0.2 and nearest integer is 0 but in this case 1 is coming.
    Same time it is working properly with 720 and  the result  will be 0.
    In this case i have  created one variable  which  convert the negative values to positive.If you enter -720 then it will convert 720 and you will get the 0 from first part.
    =If([Column_Name]<0) Then ([Column_Name]*-1) Else [Column_Name]
    Second part is if you entered the negative values then output should be in the negative.but with above condition you will get the positive values.
    Again i have created the formula If([Column_Name]<>[Column]) Then "- which compare the object values and see if I have changed anything.
    Like i have entered -720 so first variable will convert to 720 then in next formula it will check -720 is not equal to 720 (Which is not) then add - (minus sign) and same calculation else part if is equal then use the same formula which you have put.
    Hope this is clear to you.
    Regards,
    Amit

  • How can I show only text edits and not text formatting when using print comments summary?

    Acrobat 9.3.0 for Mac.
    Here is the scenario: I used the Compare command to see the changes between 2 PDFs. The resulting file some edits are inserts and some are deletions. I want to print a comments summary only showing the text edits. In the Compare Option pane, I select Text and deselect Images, Annotations, Formatting, Headers/Footers, and Backgrounds. Now on the screen I see inserts are highlighted in blue and deletions are marked with sort of a caret and vertical bar symbol. So all looks good at this point. However, when I show the Comments List, I see addtional comments that indicate "Replace - The following text attributes were changed: fill color." Those comments do not appear in the page view unless I check the Formatting check box to show them. With Formatting unchecked, I print a comments summary and all of the "Replace - Fill Color" comments" appear on the resulting comments summary.
    I only want to show text edits, not text formatting changes. So questions are:
    1. Why, when the Formatting checkbox is unchecked, do the text formatting comments still appear in the comments list when they do not appear on the page display.
    2. How can I print only the text content edits and not show the text formatting changes when using Print Comments Summary.

    Hi,
    You can set ExecuteWithParams as default activity in the task flow then method activity to return total no of rows passing to Router activity if your method has value 0 then call Create insert operation else do directly to page.
    Following idea could be your task flow
    Execute With param (default) > SetCurrentRowWithKey > GetTotalNoOfRows (VOImpl Method)
    |
    v
    Router
    1. If pageFlowScope outcome is 0 then call CreateInsert > MyPage
    2. if pageFlowScope outcome > 0 then MyPage
    hope it helps,
    Zeeshan

  • Printing to a Printer Connected to TIme Machine when using Remote Desktop

    Hi,
    I am having trouble printing to a printer connected to our wireless network via Time Capsule when I am on my remote desktop connection. Printing from all other programs work. I downloaded Bonjour on our Windows based server, and it did not detect any printers. When I am connected directly to the printer, I can print when using remote desktop. Any suggestions are much appreciated.
    Thanks!
    Mac OS X (10.5.4)

    Airport Extreme/Express do emulate Jetdirect/port 9100 printing, but that isn't what they use for printing from OS X. OS X and the Bonjour/airport software use USB port redirection, a unique and separate method.
    If the HP driver supports any protocol over ethernet, it would be appletalk. Does that router server use appletalk?

  • Configuring OBI Apps 7.9.6.3 When Using Universal Adapter Exclusively

    Hello experts,
    I have been working for a few days in trying to configure a fiscal calendar with universal adapter flat files as the only data source because Great Plains is the data source and since Oracle does not support it, we use universal adapters. We have had limited success with this but in configuring OBI Apps 7.9.6.3 and doing normal configuration things such as configuring fiscal calendars and mapping GL accounts to group accounts using the Universal Adapter in DAC, there is virtually no documentation. In fact, when I Googled the universal adapter version of the group account codes file, there were 0 Google entries for it.
    I am sending this new thread in the hope that someone out there has successfully configured OBI apps 7.9.6.3 using the Universal Adapter and can point me to documentation of any sort other than the normal Oracle OBI Apps Config Doc which only briefly mentions it and then takes file examples that are OOTB and unconfigured in any way.
    Specifically, I need assistance in getting fiscal calendars working with the Universal Adapter. I have W_MCAL_DAY_D populated and all of the Gregorian calendar tables. However, the remaining W_MCAL* tables only have one row in each of them. I have an SR open about it but no success resolving it yet. While doing the configuration work, we tried to map GL accounts to group accounts but there is no account range in the Universal Adapter source file unlike the Oracle EBS version so I am unsure on how to configure group accounts. Oracle documentation only refers to Oracle EBS, PeopleSoft, and JDEdwards. I am unable to find anything regarding the Universal Adapter.
    If anyone has done this sort of OBI apps configuration before, please respond or send me URLs for related documentation. I am completely stuck and SRs are not yet helping so I thought I would try this.
    Thanks experts and looking forward to hearing from you.

    Hi Krish,
    You will have to create 20 Application Roles matching the Responsibility Names.
    Use one of the following methods to set up application roles:
    Create application roles in the policy store with the same names as existing responsibilities or groups in the source applications. Then, add the new application roles as members of Oracle BI-specific application roles groups, and the users will inherit this membership based on their own responsibilities or roles in the OLTP application.
    Add new Oracle BI-specific responsibilities (Oracle EBS and Siebel CRM Applications) or roles (PeopleSoft Enterprise applications) in the source applications, making sure their names match the object security application roles in Oracle BI Applications, and assign OLTP users to these new groups. The users will then inherit the application role membership in the same way as described in the preceding method.
    Application Roles in 11g are the Groups of 10g (http://blogs.oracle.com/robreynolds/entry/security_in_obiee_11g_part_2)
    Cheers,
    Daan Bakboord
    http://obibb.wordpress.com

  • Further info needed on the System Time Problem when using Bootcamp

    Hi, my query is an extension on the previously reported problems and fix with the Sytem Time being incorrect when using Bootcamp.
    As respected user 'SideStepSociety' very helpfully pointed out and posted in another thread, the cure for this problem is as follows:-
    In Windows, try this:
    Run > RegEdit


    Find: HKEYLOCALMACHINE > SYSTEM > CurrentControlSet > Control > TimeZoneInformation
    

Add key ( REG_DWORD type ): RealTimeIsUniversal


    Double-click and set value to 1
    However, unless I'm mistaken I have seen somewhere that the key type 'REG_DWORD' is 32-bit based and I am running Windows 7 x64 (64-bit) Bootcamp, therefore do I have to enter the QWORD 64-bit type key i.e. 'REG_QWORD' instead of the DWORD 32-bit type key i.e. 'REG_DWORD', or is it perfectly acceptable and fine to just enter both to cover myself should any of the components revert from 64-bit to-32 bit? ..which I have experienced happening once with Windows 'Gadgets' which normally always runs 64-bit, but once reverted to 32-bit.
    Advice appretiated, thanks.

    Thanks for advice.
    I had gone ahead and entered the DWORD value in the registry just after my post and a couple of week booting between the two OS's, there were no more problems with the time issue between OS X and Bootcamp.
    Shame this most frustrating of little problems where not resolved in a Bootcamp update patch, I had been experiencing this problem for a long, long time not knowing how to fix it and thinking it was my own MacBook Pro that was at fault. I do sympathise now with the possible hundreds or even thousands of Mac-Bootcamp users that are suffering this unbeknown that there's only a special registry fix that has to be manually applied to cure the problem. This is Tacky. I do wonder about Apple sometimes.

  • Getting Run-time error when using Client ADI with Office 2010

    Hi,
    We are unable to import journals from Client ADI when using Office 2010.
    Please let me know how to resolve this issue.
    Thanks,
    Pooja

    Duplicate post -- Client ADI display A runtime error in Office 2010

  • Can I Show Time Connected When Using Netgear DG834 Wireless Router ?

    When I had an old SpeedTouch USB Modem I could see the time I had been connected to the internet from a readout in the menu along the top of the monitor.
    Is there a way of displaying or ascertaining this information using the Netgear DG834 wireless router?
    I have discovered that by opening the Router Satus and clicking on "Connected Status" I can get a window displaying this info - but is there a quicker "automatic" way of doing it?
    Ian.

    Hi Ian,
    Interesting one…
    When you connect via a USB modem the computer is 'doing' the connecting using the modem so the computer has the 'time connected' status available locally. In the case of a router it is connected to the internet irrespective of the computer's status; on, off, sleep, or even, connected to the router. The only way you're going to get the info is from the router itself and, unless it has a setting whereby it will automatically 'inform' the computer of its connected time, I think you're going to have to carry on as you are.
    I don't know that particular Netgear but used to have a different one until a thunderstorm fried it. I don't remember it having such a setting. My current Belkin certainly hasn't.
    I'm quite interested to know why you want this info. Are you on some kind of PAYG tariff?
    Adrian

  • XSLT List View Web Part Error when Using Group By

    I have a Tasks List created a tasks list in SharePoint.  The Tasks (normal OOTB template) list works fine in the normal view, however, I have created an XSLT ListView Web Part that points to this tasks list.  When I set the web part to display
    a view with a "Group By" rule, it returns an error:
    "Attempted to use an object that has ceased to exist. (Exception from HRESULT:
    0x80030102 (STG_E_REVERTED))
    The list has just over 1000 items and the threshold is set to 5000, I have tried indexing the column that I am "grouping by" just in case and that has not worked.  
    Has anyone experienced this issue before?  If so, what steps can be done to display the XSLT List View Web Part properly?

    Thank you for the response.  I tried the above link and it didn't seem to solve the issue; in fact, when I clicked on Common Control Tasks there wasn't any Data View Tasks such Filter and Sort & Group.  
    Perhaps some more information would shed light on a solution. I created a list template including content of the task list in question. I  was able to display the new list in an XSLT List View Web part with grouping enabled.  However, I noticed that
    the "Related Content" column was completely empty (it was there, it just had no data in each row).  What is the source of this Related Content? I know it is a system column that appears when Workflows generate the item in the list but could it be the
    reason for the Web part being unable to display with groupings?

  • Formatting when using gui_download

    Hi All,
    I am using method gui_download to download data containing korean characters to .txt file. If i dont mentioned codepage in gui_download, korean characters appears as # but formatting is ok. When i mentioned codepages korean characters appear fine but some extra spaces get added and that is why column looks zigzag. Is there any other way to mention codepage. how to get proper formatting of the column.
    My code is as foolowing:
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
      EXPORTING
       BIN_FILESIZE              =
        FILENAME                  = Zfilename
        FILETYPE                  = 'ASC'
       APPEND                    = SPACE
        WRITE_FIELD_SEPARATOR     = 'X'
       HEADER                    = '00'
       TRUNC_TRAILING_BLANKS     = SPACE
       WRITE_LF                  = 'X'
       COL_SELECT                = SPACE
       COL_SELECT_MASK           = SPACE
        DAT_MODE                  = 'X'
       CONFIRM_OVERWRITE         = SPACE
       NO_AUTH_CHECK             = SPACE
        CODEPAGE                  =  '8500'
       IGNORE_CERR               = ABAP_TRUE
       REPLACEMENT               = '#'
       WRITE_BOM                 = SPACE
       TRUNC_TRAILING_BLANKS_EOL = 'X'
       WK1_N_FORMAT              = SPACE
       WK1_N_SIZE                = SPACE
       WK1_T_FORMAT              = SPACE
       WK1_T_SIZE                = SPACE
      IMPORTING
        FILELENGTH                = LEN
      CHANGING
        DATA_TAB                  = downtab[]
      EXCEPTIONS
        FILE_WRITE_ERROR          = 1
        NO_BATCH                  = 2
        GUI_REFUSE_FILETRANSFER   = 3
        INVALID_TYPE              = 4
        NO_AUTHORITY              = 5
        UNKNOWN_ERROR             = 6
        HEADER_NOT_ALLOWED        = 7
        SEPARATOR_NOT_ALLOWED     = 8
        FILESIZE_NOT_ALLOWED      = 9
        HEADER_TOO_LONG           = 10
        DP_ERROR_CREATE           = 11
        DP_ERROR_SEND             = 12
        DP_ERROR_WRITE            = 13
        UNKNOWN_DP_ERROR          = 14
        ACCESS_DENIED             = 15
        DP_OUT_OF_MEMORY          = 16
        DISK_FULL                 = 17
        DP_TIMEOUT                = 18
        FILE_NOT_FOUND            = 19
        DATAPROVIDER_EXCEPTION    = 20
        CONTROL_FLUSH_ERROR       = 21
        NOT_SUPPORTED_BY_GUI      = 22
        ERROR_NO_GUI              = 23
        others                    = 24 .
    Please reply.
    Thanks

    Hi,
    You may try passing REFERENCE TABLE & REFERNCE FIELD in the FIELDCATALOG of ALV, if its an ALV output.
    Export to LOCAL file of ALV will then provide an excel file with proper alignment.
    Best regards,
    Prashant

  • Wrong date format when using selection screen query

    Hi all,
    I have a problem in a report when usign the selection screen of the query.
    the system has been upgraded recently from a 3.5 to 7.0. when a query is run in the bex web the user can put in the selection date needer to run the query.
    currently if u select a month using the selection screen next to the input form, the month will show up in the input field
    as 006 09 (006space09) instead of 06.2009 for the selection of june. 
    does anyone know how to fix this? it was working good using the 3.5 version of the bex web.
    Any help apriciated

    Using the list cube transaction and using the selection sceen and selecting the month it does put the right selection in the input field. ive also just tested it using de bx excel plugin and using the selection screen the correct value is set in the input field.  so i think it more of a bex we b problem but i dont know where to start the search for the solution.

  • Sqlserver time out when use multiple leftjoin in searcing

    Can anyone explain what reason cause follow #2,#3,#4,#5, i'm confusing for this problem in whole afternoon . thank you very much.
    you can copy the follow small example to see the timeout issue , if your pc is too quick, haven't yet see timeout issue in 24 tempBookAddress. just add more left join for TempBookAddress, then the the issue will show up.
    1.Create three temptables
    create Table #TempBookAddress
       BookID int,
       AddressTypeID nvarchar(1)
    Create Table #TempBook1
    (BookID int)
    insert into #TempBook1(BookID) values(1930)
    insert into #TempBook1(BookID) values(1931)
    insert into #TempBook1(BookID) values(1932)
    insert into #TempBook1(BookID) values(1933)
    Create Table #TempBook
    (BookID int)
    insert into #TempBook(BookID) values(1930)
    2. do not insert any data into #TempBookAddress , and execute follow sql query . the exuecute time is too long, until cause timeout
    select * from #TempBook1 B
    inner join #TempBook b1 on B.BookID = b1.BookID
    left join #TempBookAddress ba1 on B.BookID =ba1.BookID and ba1.AddressTypeID ='A'
    left join #TempBookAddress ba2 on B.BookID =ba2.BookID and ba2.AddressTypeID ='B'
    left join #TempBookAddress ba3 on B.BookID =ba3.BookID and ba3.AddressTypeID ='C'
    left join #TempBookAddress ba4 on B.BookID =ba4.BookID and ba4.AddressTypeID ='D'
    left join #TempBookAddress ba5 on B.BookID =ba5.BookID and ba5.AddressTypeID ='E'
    left join #TempBookAddress ba6 on B.BookID =ba6.BookID and ba6.AddressTypeID ='F'
    left join #TempBookAddress ba7 on B.BookID =ba7.BookID and ba7.AddressTypeID ='G'
    left join #TempBookAddress ba8 on B.BookID =ba8.BookID and ba8.AddressTypeID ='H'
    left join #TempBookAddress ba9 on B.BookID =ba9.BookID and ba9.AddressTypeID ='I'
    left join #TempBookAddress ba10 on B.BookID =ba10.BookID and ba10.AddressTypeID ='J'
    left join #TempBookAddress ba11 on B.BookID =ba11.BookID and ba11.AddressTypeID ='K'
    left join #TempBookAddress ba12 on B.BookID =ba12.BookID and ba12.AddressTypeID ='L'
    left join #TempBookAddress ba13 on B.BookID =ba13.BookID and ba13.AddressTypeID ='M'
    left join #TempBookAddress ba14 on B.BookID =ba14.BookID and ba14.AddressTypeID ='N'
    left join #TempBookAddress ba15 on B.BookID =ba15.BookID and ba15.AddressTypeID ='O'
    left join #TempBookAddress ba16 on B.BookID =ba16.BookID and ba16.AddressTypeID ='P'
    left join #TempBookAddress ba17 on B.BookID =ba17.BookID and ba17.AddressTypeID ='Q'
    left join #TempBookAddress ba18 on B.BookID =ba18.BookID and ba18.AddressTypeID ='R'
    left join #TempBookAddress ba19 on B.BookID =ba19.BookID and ba19.AddressTypeID ='S'
    left join #TempBookAddress ba20 on B.BookID =ba20.BookID and ba20.AddressTypeID ='T'
    left join #TempBookAddress ba21 on B.BookID =ba21.BookID and ba21.AddressTypeID ='U'
    left join #TempBookAddress ba22 on B.BookID =ba22.BookID and ba22.AddressTypeID ='V'
    left join #TempBookAddress ba23 on B.BookID =ba23.BookID and ba23.AddressTypeID ='W'
    left join #TempBookAddress ba24 on B.BookID =ba24.BookID and ba24.AddressTypeID ='X'
    3. if insert any data into  #TempBookAddress ,
    like :insert into #TempBookAddress (BookID,AddressTypeID) values(-1,'A') before execute above query sql.Execute sql very quick . can return return result in one sec.
    4. if remove some left join, just keep left join from ba1 to ba18 , the performance still ok.After ba18 , the more one we added ,the execute time have big difference
    5. if do not use innerJoin for #TempBook1 , use where clause replace inner join , the sql still very quick.
    this is the sql
    select * from #TempBook1 B
    left join #TempBookAddress ba1 on B.BookID =ba1.BookID and ba1.AddressTypeID ='A'
    left join #TempBookAddress ba2 on B.BookID =ba2.BookID and ba2.AddressTypeID ='B'
    left join #TempBookAddress ba3 on B.BookID =ba3.BookID and ba3.AddressTypeID ='C'
    left join #TempBookAddress ba4 on B.BookID =ba4.BookID and ba4.AddressTypeID ='D'
    left join #TempBookAddress ba5 on B.BookID =ba5.BookID and ba5.AddressTypeID ='E'
    left join #TempBookAddress ba6 on B.BookID =ba6.BookID and ba6.AddressTypeID ='F'
    left join #TempBookAddress ba7 on B.BookID =ba7.BookID and ba7.AddressTypeID ='G'
    left join #TempBookAddress ba8 on B.BookID =ba8.BookID and ba8.AddressTypeID ='H'
    left join #TempBookAddress ba9 on B.BookID =ba9.BookID and ba9.AddressTypeID ='I'
    left join #TempBookAddress ba10 on B.BookID =ba10.BookID and ba10.AddressTypeID ='J'
    left join #TempBookAddress ba11 on B.BookID =ba11.BookID and ba11.AddressTypeID ='K'
    left join #TempBookAddress ba12 on B.BookID =ba12.BookID and ba12.AddressTypeID ='L'
    left join #TempBookAddress ba13 on B.BookID =ba13.BookID and ba13.AddressTypeID ='M'
    left join #TempBookAddress ba14 on B.BookID =ba14.BookID and ba14.AddressTypeID ='N'
    left join #TempBookAddress ba15 on B.BookID =ba15.BookID and ba15.AddressTypeID ='O'
    left join #TempBookAddress ba16 on B.BookID =ba16.BookID and ba16.AddressTypeID ='P'
    left join #TempBookAddress ba17 on B.BookID =ba17.BookID and ba17.AddressTypeID ='Q'
    left join #TempBookAddress ba18 on B.BookID =ba18.BookID and ba18.AddressTypeID ='R'
    left join #TempBookAddress ba19 on B.BookID =ba19.BookID and ba19.AddressTypeID ='S'
    left join #TempBookAddress ba20 on B.BookID =ba20.BookID and ba20.AddressTypeID ='T'
    left join #TempBookAddress ba21 on B.BookID =ba21.BookID and ba21.AddressTypeID ='U'
    left join #TempBookAddress ba22 on B.BookID =ba22.BookID and ba22.AddressTypeID ='V'
    left join #TempBookAddress ba23 on B.BookID =ba23.BookID and ba23.AddressTypeID ='W'
    left join #TempBookAddress ba24 on B.BookID =ba24.BookID and ba24.AddressTypeID ='X'
    where B.BookID = 1930

    Why do you need all these left joins?
    As I understand what you need is just this instead
    try this way and see if its any better
    select B.*,
    ba1.*
    from #TempBook1 B
    left join
    SELECT BookID,
    MAX(CASE WHEN AddressTypeID ='B' THEN yourrequiredfield1 END) AS yourrequiredfield1B,
    MAX(CASE WHEN AddressTypeID ='B' THEN yourrequiredfield2 END) AS yourrequiredfield2B,
    MAX(CASE WHEN AddressTypeID ='B' THEN yourrequiredfield3 END) AS yourrequiredfield3B,
    MAX(CASE WHEN AddressTypeID ='C' THEN yourrequiredfieldn END) AS yourrequiredfieldnC,
    MAX(CASE WHEN AddressTypeID ='C' THEN yourrequiredfield1 END) AS yourrequiredfield1C,
    MAX(CASE WHEN AddressTypeID ='C' THEN yourrequiredfield2 END) AS yourrequiredfield2C,
    MAX(CASE WHEN AddressTypeID ='C' THEN yourrequiredfield3 END) AS yourrequiredfield3C,
    MAX(CASE WHEN AddressTypeID ='C' THEN yourrequiredfieldn END) AS yourrequiredfieldnC,
    MAX(CASE WHEN AddressTypeID ='D' THEN yourrequiredfield1 END) AS yourrequiredfield1D,
    MAX(CASE WHEN AddressTypeID ='D' THEN yourrequiredfield2 END) AS yourrequiredfield2D,
    MAX(CASE WHEN AddressTypeID ='D' THEN yourrequiredfield3 END) AS yourrequiredfield3D,
    MAX(CASE WHEN AddressTypeID ='D' THEN yourrequiredfieldn END) AS yourrequiredfieldnD,
    MAX(CASE WHEN AddressTypeID ='X' THEN yourrequiredfield1 END) AS yourrequiredfield1X,
    MAX(CASE WHEN AddressTypeID ='X' THEN yourrequiredfield2 END) AS yourrequiredfield2X,
    MAX(CASE WHEN AddressTypeID ='X' THEN yourrequiredfield3 END) AS yourrequiredfield3X,
    MAX(CASE WHEN AddressTypeID ='X' THEN yourrequiredfieldn END) AS yourrequiredfieldnX
    #TempBookAddress
    GROUP BY BookID)ba1
    on B.BookID =ba1.BookID
    where B.BookID = 1930
    you need to repeat max expression for each required field in output once for each addresstype value
    also see the way to do it dynamically here
    http://beyondrelational.com/modules/2/blogs/70/posts/10791/dynamic-crosstab-with-multiple-pivot-columns.aspx
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Share or edit Web-Journal impossible, when using iCloud Drive??

    I have one device with iOS7.1.2 and iPhoto (iPhone 4) and one device with iOS8 (iPad). When configuring iOS8, I switched to iCloud Drive.
    Now I can not share new Web-Journals or edit the existing Web-Projects.
    Is there any way to delete the existing Web-Journals from iCloud??
    I tried to delete the Web-Journal in iPhoto, but the Link also exist.

    You can only delete the published journal in iPhoto on the device that created it:
    iPhoto for iOS (iPad): Share your web journal as a webpage  http://support.apple.com/kb/PH3156
    And iPhoto can only be used with iOS 7.
    After switching on iCloud drive, you can no longer share documents to devices that cannot use iCloud drive. And you cannot undo the upgrade to iCloud drive.
    Be aware, be careful, be prepared for iCloud Drive | TUAW: Apple news, reviews and how-tos since 2004

Maybe you are looking for

  • How do I find my CC Files Directory?

    Hello! Very new to the Creative Cloud. Trying to figure out the most basic thing--where can I find the Creative Cloud Files Directory? I want to be able to automatically backup my Photoshop and Indesign files, just in case my computer crashes. This s

  • Tried Everything..iPhone 3g will not restore to factory settings!

    I get a message saying "Windows does not recognize the device, one of the USB devices has malfunctioned." I have tried everything..watched You tube to find out how to restore phone..made sure iTunes was up to date..uninstalled iTunes..installed iTune

  • F2 not working

    in Logic Pro 7.2.3 When I have any softsynth loaded and i try to play my Novation 25SL I get no sound from the F2 note. This is also the same with the caps lock keyboard. The F2 note works fine in Ableton live 6. Can't figure it out please help. All

  • My ipod was totally wiped when i last pulled it in. help!

    I can't get my iTunes to recognize my ipod. I can't get any of my music back on my ipod.

  • GUI download, how to retain format of decimal places

    Hi everyone! I have a program that downloads data to excel file using GUI Download. The values of the amount in the ALV display are 11.90, 11.90- which is correct because it has two decimal places. But the problem now occurs in the excel file. The va