Is it possible to get ssrs report foldername, reportname, its dataset, columnname and underlinetables column name?

I wrote a query which give report foldername, reportname, username and role but i need to include datasetname, columnname in dataset and colum name in underline tables.
Select distinct a.FolderName, a.ReportName, U.UserName as [AD Group/ USer], Rol.RoleName as ROLE FROM dbo.Users U
inner Join
dbo.PolicyUserRole p ON U.UserID = p.UserID
inner join
dbo.Policies POLICY ON POLICY.PolicyID = p.PolicyID INNER JOIN
dbo.Roles ROL ON ROL.RoleID = P.RoleID INNER JOIN
(select C.PolicyID,C.Name as FolderName ,D.Name as ReportName from dbo.Catalog c
inner Join
dbo.Catalog D
on c.ItemID=d.ParentID ) a
on a.PolicyID=p.PolicyID
where FolderName<>' '

see
http://sornanara.blogspot.in/2011/05/ssrs-reportserver-database-tables.html
Please Mark This As Answer if it solved your issue
Please Mark This As Helpful if it helps to solve your issue
Visakh
My MSDN Page
My Personal Blog
My Facebook Page

Similar Messages

  • When attempting to create an SSRS Report in SharePoint 2010 Dashboard Designer and change the Server Mode from Report Center to SharePoint Integrated

    Hi,
    When attempting to create an SSRS Report in SharePoint 2010 Dashboard Designer and change the Server Mode from Report Center to SharePoint Integrated, I get the following unhandled exception:
    ************** Exception Text **************
    System.InvalidOperationException: There was an error generating the XML document. ---> System.InvalidOperationException: Instance validation error: '2' is not a valid value for Microsoft.PerformancePoint.Scorecards.SqlReportViewData.SqlReportViewDataServerMode.
       at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSqlReportViewData.Write1_SqlReportViewDataServerMode(SqlReportViewDataServerMode v)
       at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSqlReportViewData.Write3_SqlReportViewData(String n, String ns, SqlReportViewData o, Boolean isNullable, Boolean needType)
       at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSqlReportViewData.Write4_SqlReportViewData(Object o)
       --- End of inner exception stack trace ---

    Hi,
    According to your post, an error occurred when you integrate SQL Server Reporting Services with SharePoint.
    1. Please check the steps as the link below:
    http://technet.microsoft.com/en-us/library/ff724283(v=office.14).aspx
    2. Try to clean the configuration cache on all of your SharePoint servers and re-tested.
    http://blogs.msdn.com/b/josrod/archive/2007/12/12/clear-the-sharepoint-configuration-cache-for-timer-job-and-psconfig-errors.aspx
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Is it possible to get source code of AutomationManager.as class or/and QTPAdapter.as?

    Sorry, we don’t really provide source for those classes right now.
    On 2/25/09 2:47 AM, "JabbyPanda" <
    [email protected]> wrote:
    A new discussion was started by JabbyPanda in
    General Discussion --
      Is it possible to get source code of  AutomationManager.as class or/and QTPAdapter.as?
    I have a license of Flex Builder 3.0.1 Pro, running Win XP.
    Inside "c:\Program Files\Adobe\Flex Builder 3 Plug-in\sdks\2.0.1\frameworks\source\mx\automation\"  folder I can only locate a listing of source code of IAutomationManager interface.
    Inside "c:\Program Files\Adobe\Flex Builder 3 Plug-in\sdks\3.2.0\frameworks\projects\automation\src\mx\automation\" folder there is also a bunch of open sourced classes present, but even source code of IAutomationManager interface is missing.
    And source code for AutomationManager.as and QTPAdapter.as classes are nowhere to find.
    And I tried to extract source files from Data Visualization package as suggested here
    http://blogs.adobe.com/flexdoc/2008/04/extracting_data_visualization.html, no luck
    View/reply at Is it possible to get source code of  AutomationManager.as class or/and QTPAdapter.as? <
    http://www.adobeforums.com/webx?13@@.59b80b91>
    Replies by email are OK.
    Use the unsubscribe <
    http://www.adobeforums.com/webx?280@@.59b80b91!folder=.3c060fa1>  form to cancel your email subscription.

    We can look at setting up some subtopic forums targeting specifics like automation once we have our new system in place.
    On 2/26/09 7:57 AM, "JabbyPanda" <
    [email protected]> wrote:
    A new message was posted by JabbyPanda in
    General Discussion --
      Is it possible to get source code of AutomationManager.as class or/and QTPAdapter.as?
    What I plan to do, is to write a couple of delegates to prepare (instrument) my custom components that extend from UIComponent for testing.
    I found the source file for AQAdapter.as from FlexMonkey tool at  
    http://code.google.com/p/flexmonkey/source/browse/trunk/FlexMonkey/src/com/gorillalogic/aq adaptor/AQAdapter.as, by studying the code of AQAdapter.as I can get the better idea what QTPAdapter.as does.
    In general, I found the documentation on test automation for Flex application to be very modest and limited, for example many attributes for XML-based "class information file" for HP QuickTest tool are not documented at Adobe Flex livedocs.
    BTW, is there any better place where test professionals and Adobe Flex developers exchange the knowledge on test automation of Flex apps?
    I've tried
    http://www.sqaforums.com by running search query
    http://www.google.com/custom?domains=SQAforums.com&! q=Adobe+Flex&sitesearch=SQAforums.com <
    http://www.google.com/custom?domains=SQAforums.com&q=Adobe+Flex&sitesearch=SQAforums.com> , but I left with a feeling the most enquiries were made by people who are just evaluating possiblity of testing of Flex apps with HP QuickTest tool.  

  • I have a MacBook Pro, 15-inch, Mid 2009.  I would love to upgrade to a Solid State Drive.  What is the best possible upgrade I can buy.  I need the specs and even brand name.  Thank you to anyone who can help.

    I have a MacBook Pro, 15-inch, Mid 2009.  I would love to upgrade to a Solid State Drive.  What is the best possible upgrade I can buy.  I need the specs and even brand name.  Thank you to anyone who can help.

    A 15" mid-2009 MBP RAM specifications are: 204-pin PC3-8500 (1066 MHz) DDR3 SO-DIMM.
    As has been pointed out, OWC is an excellent source for Mac compatible RAM.  Crucial is another first rate source for Mac RAM.  RAM from either vendor will work just as well as any purchased from Apple with the bonus of being less expensive and having a lifetime guarantee.
    Ciao.

  • SSRS reporting with sharepoint list using Distinct and Multivalue parameters

    i want create ssrs report with sharepoint list using ms-vs(2008). i want create Distinct multivalue parameters by using CAML query. There is any way we put CAML query where we use Distinct keyword and IN clause in CAML query... i hope all experts will
    understand my poor English... sorry for poor English.. plz help me

    Hi AsifMehmood,
    Per my understanding you have create an SSRS report with SharePoint list, now you don’t know to create the distinct parameters by using CAML query,  right?
    For the CAML language doesn’t have any reserved word (or tag) to set this particular filter to remove duplicate results, but we can use the custom code to do this function. I have tested on my local environment and we can do that by create one hidden parameter(Param1)
    to get all the values from the fields which will  add the filter and then create another parameter(Param2) to get the distinct values based on the Param1, we use the custom code to do the deduplication.
    Step by Steps information in below thread for your reference to create the parameters and the custom code:
    "How to get distinct values of sharepoint column using SSRS"
    Other similar thread for your reference:
    https://audministrator.wordpress.com/2014/02/17/sharepoint-list-add-distinct-parameter-value/
    If your problem still exists, please feel free to ask and also try to provide us more details information.
    Regards
    Vicky Liu

  • SSRS Report Viewer display issues after KB2888505 and now KB2898785

    After patch KB2888505 both IE 9 and IE 10 started displaying cropped images with horizontal scroll bars when viewing SSRS Reports.  These reports functioned and fit the screen without scroll bars prior to this patch and returns
    to normal once the patch is uninstalled.  There is no compatibility mode icon in the address bar and I have tried all browser modes in the F12 Developer Tools Menu with no change.  Rolling back KB2888505 was a temp fix for my
    users until KB2898785 was installed reverting back to the same cropped reports with the scroll bar.  The only versions of IE in my environment are 9 and 10 and upgrading to 11 is not an option at this time.  Others have reported this same issue so
    maybe we can get more visibility on TechNet.    

    Hi,
    These two KB include too many Individual updates. It's hard to figure out which exact update lead to this issue.
    If you make sure the issue is caused by these updates package. The simple and easier way is to uninstall them.
    Karen Hu
    TechNet Community Support

  • Is it possible to get the table by knowing its name only (string)

    public bool IsShowTable
    get { return _IsShowTable; }
    set { _IsShowTable = value;
    if (_IsShowTable)
    //Type type = Type.GetType(GraphSelected);
    //Object o = (Activator.CreateInstance(type));
    using (var ctx = new PD5500DBEntities())
    DataGridSrc = new ObservableCollection<object>(ctx.G2_2_6_0dot01_0dot0); //Using here the TableName in String
    NotifyPropertyChanged();
    private ObservableCollection<Object> _DataGridSrc;
    public ObservableCollection<Object> DataGridSrc
    get { return _DataGridSrc; }
    set { _DataGridSrc = value;
    NotifyPropertyChanged();
    In the code I used ctx.TableName, would it be possible to get a reference by knowing the string of the TableName only. 
    I mean
    TableName = "MyTable";//Type type = Type.GetType("TableName");
    //Object o = (Activator.CreateInstance(type));

    Thanks Magnus.
    But now I have difficulty setting it to datagrid source 
    //public ObservableCollection<Object> DataGridSrc
    // get { return _DataGridSrc; }
    // set
    // _DataGridSrc = value;
    // NotifyPropertyChanged();
    or
    private ICollectionView _DataGridSrc;
    public ICollectionView DataGridSrc
    get { return _DataGridSrc; }
    set
    _DataGridSrc = value;
    NotifyPropertyChanged();
    using (var ctx = new PD5500DBEntities())
    Type type = Type.GetType("PressureVessels.Database.G2_2_6_0dot01_0dot0");
    var entities = ctx.Set(type);
    DataGridSrc = (ICollectionView)entities.Local;
    //or
    //DataGridSrc = new ObservableCollection<object>(entities.Local);
    Before when I was using 
    DataGridSrc = new ObservableCollection<object>(ctx.G2_2_6_0dot01_0dot0);
    it worked but now it doesn't. Though now by using the namespace.name I get the type but still cannot assign it to datagridSr which is ObservableCollection or ICollectionView. 

  • How to get the table name and bind columns names in an INSERT statement ?

    I have an INSERT statement with input parameters (for example
    INSERT INTO my_table VALUES (:a, :a, :a)) and I want to know
    without parsing the statement which is the name of table to
    insert to and the corresponding columns.
    This is needed to generate the SELECT FOR UPDATE statement to
    refetch a BLOB before actually writing to it. The code does not
    know in advance the schema (generic code).
    Thanks in advance,
    Joseph Canedo

    Once you have prepared your statement, you can execute the
    statement with the OCI_DESCRIBE_ONLY mode before binding any
    columns. Then you can use OCIParamGet to find out about each
    column (column index is 1-based). You should get OCI_NO_DATA or
    ORA-24334 if there are no more columns in the statement. Note
    that the parameter descriptor from OCIParamGet is
    allocated/freed internally by OCI; you do not need to manage it
    explicitly. The parameter descriptor is passed to OCIAttrGet in
    order to obtain for instance the maximum size of data in the
    column OCI_ATTR_DATA_SIZE. You can also get the column name in
    this way, although I do not remember the #define off the top of
    my head. Getting the table name appears to be much more
    difficult; I have never had to do that yet. Good luck. -Ralph

  • Possibility of getting serial report with sales invoice details

    Hi All,
    We are Telco company and there is a requirement to view the serial numbers issued to a customer along with the invoice number, invoice date and invoice value.
    Is this possible? If yes, please let me know the tables which can be used in SQVI.
    Thanks,
    Savindi

    Hi,
    Refer the below link it may help you.......
    Re: Invoice details related to Serial Numbers

  • Is it possible to get a report showing Org Units and Number of Positions.

    Dear SAP Gurus,
    I am looking for a report about org units and no.of positions held by this org unit.
    eg :
    CEO(35)
      Department(35)
      ACS (5)                         ABC(30)                  
    AC1(2)  AC2(3)       AB1(10)  AB2(20)      
    The numbers in the brackets are all no. of positions under that org unit.
    I Hope you understand my request.
    Thanks

    S_AHR_61016512
    S_AHR_61016513
    and check the tcode SAP1 in that OM module reprots

  • How can I get a report to use a DSN instead of a database name?

    DSNs are great things.  By using a DSN in a database connection string, you don't have to worry about what happens if you have to look at a different database, or if a database name changes.  All you have to do is change the database the DSN points to, and everything that was built using that DSN still works.
    Everything, that is, except Crystal Reports.
    I am using CR XI.  Our customer's database is named "Anneal", and it uses PostgreSQL.  I have several copies of that database, taken at different times and for different purposes, on my machine:  "Anneal", "AnnealTest", "Anneal_2_8_10", and on and on.  I also have a DSN named "WinCaps".  The reorts I have developed for this customer were set up to use an ODBC connection based on the WinCaps DSN.  But if WinCaps pointed to the "AnnealTest" database when it the report was created, and then I delete the AnnealTest database and change the WinCaps DSN to point to a database named "Anneal", and then try to open the report, I get a complaint that the AnnealTest database does not exist!  Yes, I know it doesn't exist.  I am expecting CR to use the DSN I told it to use, which should get me to the Anneal database.
    The fact that CR complains about the AnnealTest database tells me that internally, CR is retrieving the actual name of the database and storing that instead of storing the DSN name, completely defeating the purpose of the DSN.
    Is there any way I can set up my report to use whatever database the DSN happens to be pointing to, instead of the database the DSN pointed to at design time?
    Thanks very much!
    Rob Richardson

    Hi Rob,
    Crystal assumes you are setting location to the database and it stays that way when run. Yes we do keep the connection info in the RPT file.
    There's a few options that may help. First, can you upgrade to CR XI R2? It' still supported...
    Go to this link: http://www.sdn.sap.com/irj/boc and download the trial version of CR XI R2 and use your XI keycode, then apply the patches which you can get to by clicking on the BusinessObjects tab above, then Downloads.
    Direct link to the Trial version: http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
    Second, in the report itself check on the Verify on first refresh, save the report and then test it on another PC connecting another database.
    Next option to to try these registry key changes, usual warnign about altering the registry:
    HKEY_CURRENT_USERSoftwareBusiness ObjectsSuite 11.0Crystal ReportsDatabaseOptions - VerifyWhenDBDriverUpgraded = Yes
    And try changing this one also - DontAutoConvertODBC = Yes
    Close the Designer first or your changes won't stay.
    THey may have to simply verify the data manually and then save the report so the updated location info is saved in the Report.
    Crystal is very database dependant obviously so asumming changes made to the DSN are automatically updated can cause a lot of issues for the end user also but it depends on your point of view. We consider this working as expected.
    Thank you
    Don

  • Is it possible to generate a report without supplying the Hierarchy Id and Entity Ids?

    Hi,
    I'm new to this Chargeback JAVA API.
    What I wanted was to create/generate a report without having to provide a hierarchy id or entity id.
    It's like more of a dump report for all the hierarchies and entities managed by the Chargeback server.
    Thanks.

    Thanks Diwakar.
    I would be doing something like this then...
    HierarchyManagerImpl hm = HierarchyManagerImpl.getInstance();
    List hierarchiesList = hm.getAllHierarchies(cbClient);
    //loop hierarchiesList
        // HierarchyEntitiesType entityType = hierarchiesList [n].getEntities()
       // entityType.getEntities()
    How do I determine if this "entity" is a "vCenter Server entity" and not "vCenter Chargeback Manager entity"?
    Im quite confused on the following classes and please confirm if getting the steps for getting the attribute value is correct:
    HierarchyType
    HierarchyEntitiesTypethis has a getEntity() which returns a list of:
    HierarchyEntityTypethis has a getAttributes() which returns
    EntityAttributesTypethis has has a getAttribute() which returns
    EntityAttributeType
    does invoking getValue() return 101 for Chargeback Manager entity or 0 for vCenter Server entity? (based on cbm_users_guide_2_0_0.pdf, Table 4-1. p57)
    Thanks heaps for any help.

  • Is it possible to get my iTunes money out of one account and put it into another account?

    So I bought a Macbook Pro recently and a lady, who was working at the Apple Store, was putting in a Back to School giftcard for $100 in my account but I forgot the answers to my security questions. Since the lady already have put that money in that account, I was wondering if I make a new account and take the money out of my old account and I can put it my new account. Will it be possible or not? Please answer my question

    janelle27 wrote:
    ... I was wondering if I make a new account and take the money out of my old account and I can put it my new account. Will it be possible or not? Please answer my question
    This is not possible...

  • How do I get rid of Firefox as its awfully slow and has lost all my favourites which are not in the unsorted bookmarks file?

    I was told by eBay to set up Mozilla Firefox as I had problems uploading scans on to listings. I now find I have lost all my favourites and there is nothing in the unsorted bookmarks, where you told me they would be. Also it has slowed down my computer considerably, and seems to want to have about ten goes every time you try to get into a website. So it seems totally useless to me, and I want to revert to Internet Explorer. Why is MF such a useless system and how do I delete it - I am very elderly busy computer operator with ;ittle knowledge of systems, what you call things and so on, so please keep it simple. Jeremy

    From Bookmarks (at top left of page) select 'Show All Bookmarks'. This will open the bookmarks Library. Have a look around here to see if your bookmarks (favourites) are all there. If so, you can now export them for use in other browsers. Why not take the opportunity to tidy or restrucure them before export?
    To export them select 'Import and Backup' then 'Export HTML'. Save the file to somewhere safe on your PC, My Documents perhaps.
    I use an Uninstaller Program so I'm not too sure but I think you can uninstall Firefox > Start > All Programs > Mozilla Firefox - and there's possibly an uninstall option here. Failing this, go to the Program folder and find the 'uninstall' folder, double click 'helper.exe' and this will open the Firefox uninstaller.

  • Want report title on the same page above the column names

    Hi,
    I have given report title in the report header but for some reason it displays title on first page and data from next page on wards. I have also given a page break for the groups, is this the reason for getting  title on one page and dtata from next page?
    Pls suggest me something so that i can have report title on the top and then data stating frrom the same page.
    Thanks

    Expand the page header, move your column headings down, and put the report title at the top of the page header.
    The title has to be in the PAGE header in order for it to print on all pages.
    HTH,
    Carl

Maybe you are looking for