Using SSRS Built in Functions in SharePoint

Hi there,
I currently have a number of reports deployed on a SharePoint site at work. I would like to monitor who actually uses which report and when they ran the report and also how long the report ran for. This is for auditing purposes and getting an idea
of the performance of these reports.
I came across the following built in functions on SSRS; UserID, ReportName, ReportServerUrl and ExecutionTime. Is it possible to use these functions somehow in SSRS & SharePoint whenever someone accesses a particular report and perhaps write this
information to a SharePoint list within our SharePoint site.
If this is possible, how would I go about doing this?
Also, some of our reports run off parameters, is it possible to capture what parameters were used as well?
Any help would be much appreciated. Thanks.  

you can get most of these information from executionlog tables available from reportserver database
http://www.mssqltips.com/sqlservertip/2722/sql-server-report-server-2008-r2-execution-log-reports/
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

Similar Messages

  • Length of a string without using any built-in functions

    code that returns the length of a string without using any built-in functions.
    thanks
    Sam

    A string is internally represented by a character array.  An array of characters will reside on the stack, not the heap.  Yes, we always learned that String is a reference type, but what goes on in your memory might still surprise you...
    A struct is internally represented by only it's private properties, sequentially on the stack.
    So basically, what I thought is happening by messing with the structlayout: is only tricking our programming a bit into thinking that the top X bytes on the stack represent a chararray, while actually we put them there as a string.
    Wrong. True. And wrong.
    A string is internally represented by, in that order, an array length, a string length, the chars. None of them resides on the stack.
    An array is internally represented by, in that order, an array length and the chars. None of them resides on the stack.
    When you use the FieldOffset attribute to handle the string as a char array, you don't get anything right:
    - the Length returned is the "array length" of the string, which is equal to the string length + 1.
    - the chars returned by the array indexer are shifted by 2 chars (the length of the "string length" field).
    You can use the FieldOffset to make that work, but it needs a little bit more work.
    unsafe static int Test()
    string myString = "This string may contain many string inside this string";
    string testString = "string";
    int countResult = 0;
    fixed (char* myChars = new StringToChar { str = myString }.chr, testChar = new StringToChar { str = testString }.chr)
    // The 2 first chars of the array are actually the string length.
    int myCharsLength = myChars[1] << 16 | myChars[0];
    int testCharLength = testChar[1] << 16 | testChar[0];
    for (int i = 0; i < myCharsLength - testCharLength + 1; i++)
    if (myChars[i + 2] == testChar[2])
    for (int j = 1; j < testCharLength; j++)
    var c = testChar[7];
    if (myChars[i + 2 + j] != testChar[j + 2])
    goto endOfCharAnalyses;
    countResult++;
    endOfCharAnalyses:
    continue;
    return countResult;

  • SQL Cost of using DECODE built-in

    I'm trying to tune some SQL and wondering about the cost of using DECODE. I believe that by using this function, it prevents any index on the related column from being used.
    Do any "Tuning Gurus" have opinions on the use of DECODE?
    TIA,

    As a general rule, the Oracle built-in functions are pretty fast to execute. You will not really see any difference in performance between a sql statement using a built-in function in the SELECT clause, and one not using one.
    However, a lot depends on where and how you use the DECODE.
    SELECT col1,DECODE(col2,1,'YES',2,'NO',3,'MAYBE')
    FROM table
    will be no slower than
    SELECT col1,col2
    FROM table
    If there is an index on col2, then
    SELECT col1,DECODE(col2,1,'YES',2,'NO',3,'MAYBE')
    FROM table
    WHERE col2 BETWEEN 1 AND 3
    will use it.  However
    SELECT col1,col2
    FROM table
    WHERE DECODE(col2,1,'YES',2,'NO',3,'MAYBE') IN ('YES','NO','MAYBE')
    will not (unless you have a function based index).  But,
    SELECT col1,col3
    FROM table
    WHERE col2 BETWEEN 1 and 3 and
          col3 = DECODE(col2,1,'YES',2,'NO',3,'MAYBE') IN ('YES','NO','MAYBE')
    will.Note that "will" in the above really means can. it is up to the optimizer whether it actually is used or not.
    HTH
    John

  • Built-in functions

    Hi,
    I am new in scripting Illustrator.
    I am trying to create a clipping mask with javascript. If I understood correctly, I have to take every single object to put it in a group at higher level.
    I wonder if there is a way to use directly the built-in function, the function used when one click the 'clipping mask' item of the 'object' menu?
    I saw I can use the built-in function in an action-script, is there a way to call action-script from javascript?
    Regards,
    Eric

    Sadly, no. Illustrator has no eventListener like InDesign or Photoshop.
    However, it might be possible to run a pre-created action. Maybe if you save it to a file and then use the File object's execute() method.

  • Strange Behaviour of MII with Datediff built in function in BLS

    Hi,
    Here's one strange thing happening with MII 11.5 when using datediff built-in function in BLS
    I will create a Local Variable called Dur of type Double.
    and then Assign datediff(startdate,enddate)/3600 value to Dur Variable
    where startdate = 05/01/2009 07:00:00 and enddate = 05/03/2009 07:00:00
    both start and end dates are in proper xml formats.
    When I evalute this expression I get a value of 48 hrs which is right but when I assign the same thing
    to Dur variable and when I check value of Dur in Tracer it shows me as 47 hrs.
    This is true for all the datediff values greater than 28 hours till 28 hrs I get exact results but after 28 hours I see this pattern where I get output = (Actual hrs - 1)
    Please note I checked the same thing in MII 12 but not found any such strange issues.
    Any thoughts on this odd behaviour .........
    Regards,
    Adarsh S P

    Hi Daina,
    First thanks a lot for help, I need bit more assistance..
    I found Service Pack 5 and Service Pack 6 from Archive folder.
    But our SAP MII version says 11.5.3 b66 so here are couple of things I would like know
    1) I believe we are running on SP 03. is my understanding right?
    2) If yes then can we install directly the SP 06 on top of SP 03?
    3) If No then do we need to first install SP 04, then SP 05 and then SP 06?
    4) where will I find SP 04?
    Regards,
    Adarsh

  • Column width issue in SharePoint 2010 Reports using SSRS webpart

    Dear sir,
    We need to adjust column width for output of reports. We are using SSRS webpart to generate reports. It is taking unexpected column width.
    We show that dynamically we cannot set the column width but we are passing the query statically is there any way or chances to mange column width.
    Please help.

    If it's important, I'd suggest ringing Microsoft Premier Support and logging a call.  The working world is probably just getting back to their offices.
    For both columns, you can think about some JQuery to isolate the appropriate selectors and just reside them in the page rendering.  You'll need JavaScript enabled in your browser for this but this code within a CEWP should do the trick. 
    <!--ADJUST TABLE COLUMN WIDTH-->
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"
    type="text/javascript"></script>
    <script type="text/javascript">
    $(function(){
    $("TH.ms-vh2-nograd:contains('Status description')").css("width", "150px");
    $("TH.ms-vb:contains('Type of Work')").css("width", "150px");
    </script>
    You'll need to link to a JQuery instance of course and change the capture text for your columns.
    Credit to the code to Kjell-Sverre Jerijærvi from his
    blog post.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • How to use a mysql built-in function with dataprovider

    hi.
    I want to use a mysql built-in function, for example, MD5() on a column when updating a table with dataprovider.
    Something like this doesn't work:
    MyDataProviderOne.setValue("tablename.field_name", "MD5('some text')");
    How should it be done?
    thanks.
    Mike.

    hi.
    thanks. this helped, but I'd like to use also different functions, that's why, I'd rather do it by MySQL built-in functions with dataprovider... Is there any way to do that?
    best regards.
    Mike.

  • Can i use Report viewer web part in SharePoint 2013 app to show SSRS reports?

    Can i use Report viewer web part in SharePoint 2013 app to show SSRS reports?

    SharePoint app you mean a simple sharePoint 2013 application like site, team site etc, or do you mean an App (the new feature like webPart).
    To add a SSRS Report viewver web part follow these steps
    1. Edit the page
    2. Choose insert a webpart
    3.Select SQL server Reporting -> SQL Server Reporting Services Report Viewer webpart
    4. Configure the webpart to show your .rdl files.
    (See the img below. Plz mark as answered if it helps).

  • Can we use SSRS in sharepoint 2013 standard and sql server standard edition

    can we use SSRS in sharepoint 2013 standard and sql server standard edition
    MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead

    Yes you can. You do lose some features:
    http://msdn.microsoft.com/en-us/library/cc645993.aspx#Reporting
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Do you use APEX built-in DML functionality or code it manually?

    Just out of interest more than anything, wondering what everyone else does, and what advantages/disadvantages they see in their method?
    Personally I never use the built-in stuff for manipulating, I create all the items and then a PL/SQL procedure in a package. Then I code a process to call that procedure to do any inserts/updates/deletions. I know this is a long way around to do something which APEX does fairly well (for simple situations at least anyway) but I find it far more flexible to go with this route and I prefer anything which is changing data to live on the database (as an object).
    It also means that (other than changing the columns etc) changes can be made a lot more easily - APEX version control is pretty poor for a production environment and team-coding so the fewer changes to the app the better.
    Anyone else any views?

    I pretty much always use packaged up stored procedures for DML operations. All business logic goes into the packages where possible - in fact, the only element where I break this encapsulation methodology is when defining reports - even then, I've sometimes implemented reports as a table function, although this approach can cause more problems than it solves, performance-wise. Views provide an acceptable degree of abstraction in those cases when I want to hide the complexity of a query.
    It's pretty rare that I'll be interrogating and updating a single table, although I take Roel's point re: updatable views and "instead of" triggers.

  • How do I use the built-in camera or webcam?

    I know this may sound very elementary but there was no documentation with my Mac when I bought it new (except a thin flimsy pamphlet with very baic stuff in it) and the help menu comes up with nothing at all when I search for web cam, webcam or isight.
    Where do I go to learn about how to use the built-in camera/web cam as a camera and also as a web cam?
    Thank you

    VortexBoy wrote: ... I know this may sound very elementary but there was no documentation with my Mac when I bought it new (except a thin flimsy pamphlet with very baic stuff in it)...
    There should have been a seventy page booklet in the box with your new iMac.  If yours is the latest version, clicking here will download it if you cannot find the physical copy.  If yours is an older iMac model, you can search for the correct manual from the iNtel iMac Support Page > "Manuals" link.
    After that, Mac 101 is a great web-based information source.  If you don't need general help, take a look here for specifics about each application of interest.
    VortexBoy wrote: ... and the help menu comes up with nothing at all when I search for web cam, webcam or isight....
    If your posted info is correct that you are running Mac OS X (10.7.3), you should be able to get started by using your Mac's Finder > Help menu command.  Searching for "camera" (without quotation marks) on my 10.7.3 Mac returns Mac's Help article entitled "Use your Mac’s built-in camera."  This is the web version of the same help.
    Other apps, like QuickTime Player (the Lion QT 10.x version), and iMovie (part of iLife that came with your Mac) can also use your iMac's camera. 
    iMovie Help or this web page version of the same help will explain how to "Record video directly into iMovie".
    Use QTX Player's File > New Movie Recording menu command to record video with it.  You can configure size and quality of the recorded material by using QTX's preferences as shown in this image:
    VortexBoy wrote: ... Where do I go to learn about how to use the built-in camera/web cam as a camera and also as a web cam? ...
    Different apps do not all work the same.  For function-specific help, search Help in separate camera applications; i.e., after you launch Photo Booth, iChat, QTX, iChat, etc., use the individual app's Help menu command to search for more info on the camera or what you want to do.
    This article offers great basic tips about how to position, light, and use built-in cameras.  Although its subject shows it was written for iMacs, it is equally applicable to other reader's inbuilt Apple cameras, too.
    For more specialized functions than those offered by the camera software already included with your Mac, you can search the Mac App Store for other apps that can use your camera.
    For webcam help with iChat, use Apple's iChat Support page if you need more help that that provided in the dialog boxes and iChat > Help on your Mac.
    To use your camera with FaceTime, search your Mac's FaceTime > Help or these web versions of the same Help topics that should be available on your Mac.
    Skype or other third party webcam apps will offer their own Help menus of varying quality.  In additon to these app Help services, some apps offer comprehensive Support services via their web page.  If you decide to add Skype to your Mac, you can click here to review the excellent Skype Support pages.
    If you need to start a new topic for specific questions after you get started, give as much detail about what you want to do and what you may have already tried unsuccessfully.  We will offer specific suggestions based on the details you provide.
    Enjoy your new Mac!
    EZ Jim
    Message was edited by: EZ Jim
    Mac OSX 10.7.3

  • Is there a way to use the built-in Datalogging and programmatically log the front panel while the vi is running?

    I would like to use the built-in Data Logging feature. There is the "Log at Completion" option, but is there a way to programmatically make a new log record while running? I looked around in VI server and couldn't find any methods that would do that. Currently, I am grabbing all of the front panel control references using VI Server and if there are any changes, the changed values are written to a log file along with a date/time stamp. I'm mostly dealing with buttons, which simply change from 0 to 1 or 1 to 0, so it's not too hard to visualize what was pressed. It works okay for reconstructing what happened, but it would be much nicer to use the built-in fe
    ature because you can "replay" directly onto the front panel and actually see what the changes were. However, without being able to programmatically make a new log, it won't work for me.

    Jake,
    There are several options here.
    I would suggest using your own code for datalogging. The datalogging you are referring to is primarily for debug, and one shot datalogs of front panel indicators (and controls?), not including graphs, etc.
    If you go to the file functions, you will see a menu for datalogging. These functions will allow you to save your data, as you need it, simply, and in a compact format.
    I recommend opening the datalog file, doing all your file operations, and closing the file before the program is complete. There are several examples of this in the examples database.
    Good luck

  • How to Implement custom share functionality in SharePoint 2013 document Lib programmatically?

    Hi,
    I have created custom action for Share functionality in document library.
    On Share action i'm showing Model pop up with Share form with addition functionality.
    I am developing custom share functionality because there is some addition functionality related to this.
    How to Implement custom share functionality in SharePoint 2013  document Lib pro-grammatically?
    Regards,
    - Siddhehswar

    Hi Siddhehswar:
    I would suggest that you use the
    Ribbon. Because this is a flexible way for SharePoint. In my project experience, I always suggest my customers to use it. In the feature, if my customers have customization about permission then i can accomplish this as soon
    as possible. Simple put, I utilize this perfect mechanism to resolve our complex project requirement. Maybe we customize Upload/ Edit/ Modify/ Barcode/ Send mail etc... For example:
    We customize <Edit> Ribbon. As shown below.
    When user click <Edit Item>, the system will
    render customized pop up window.
    Will

  • Display Like and Share functionality in SharePoint 2013 search result

    Hello Experts,
    I dont Know whether i am asking a good question or bad one . but i am not very much expert in search.
    I have to display No of Likes , Share functionality in SharePoint Search Results. 
    i know little basic about how display templates works. i want to implement these like and share functionality as actions  in Item_common_hoverpanel_Actions template. show that i can see in preview.
    please if any body can help me . i will be highly thankful to you.
    Mukesh

    This will be difficult. The number of likes has a managed property called LikesCount but it is not populated by the search crawler. So your JavaScript will have to read the "LikesCount" field of the corresponding list item. That would be a
    lot of code to execute in the item display template just to display the number of likes. You could have a button that displayed a callout that would get the information and display it. The Sharing could be done via JavaScript in your item display template
    using a REST call. You can see an example of code to do that here:
    http://sharepointfieldnotes.blogspot.com/2014/09/sharing-documents-with-sharepoint-rest.html?showComment=1428595550241#c3227376854590814312
    Just remember the user must have permission to share these documents, so your code will have to handle this.
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • 'Share' functionality in SHarePoint 2013 - Prevent access to files

    Hello
    I have a client that has just moved to SP2013 and they used the send document link as hyperlink in email functionality of SharePoint 2010 regularly.  THis was good for them because if the link was sent to a user that did not have access to a document
    then they couldn't open it.
    I would like to do the same thing in the 2013 environment and I have been making use of the 'Share' functionality.  This does not seem to be working as if the Share functionality is used then the users specified get access to the document regardless
    of their permissions. 
    Is there a way to stop users from opening documents if they are accidentally sent a link to a document they don't have access to??  it seems the 'Share' functionality overwrites it.

    There are a few ways to do it:
    http://www.sharemuch.com/2013/07/25/how-to-disable-sharesynchfollow-buttons-on-the-sharepoint-2013-ribbon/
    http://www.sharepointdiary.com/2013/12/sharepoint-2013-share-functionality-faqs.html
    http://removesharefollow.codeplex.com/
    http://www.eliostruyf.com/hiding-the-social-actions-follow-share-from-the-document-libraries-in-sharepoint-2013/
    Disabling Access Requests should disable the Share feature.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

Maybe you are looking for

  • Inventory Management Negative Values

    Hello Experts - I'm working on an inventory management report and we're in BI 7.0. In the report, the valuated stock quantity is a non-cumulative key figure with inflow as receipt stock qty and outflow as issue stock qty. In my transformation, I'm ta

  • M7332 Power Supply-How can I tell if it works?

    I have a power book G3 Lombard, I believe. I have purchased a brand new power supply from ebay. But my computer won't start. The battery is dead too. It has been sitting idle for nearly a year. My question is- shouldn't I be able to test the output o

  • Colours are different in PS than everyother program on my computer. How do I fix this?

    So I just recently started with PS and this is a big problem since I mainly use it to paint and it would be great to know that what I paint is what actually will become the picture When I open a BW picture it turns out sepia in PS, and likewise, savi

  • Transaction in specific time and on specific event

    Hi! I have a question. (Who doesn't .. :-) ) How to run some transaction in some specific period in time, for example every hour, and on some specific event in the system? Tnx, Mirek

  • Audio recording with QT

    Further to my previous post I have tried to record with QT 7 It shows my ADVC device but when I click on record. Says that no data was sent. I checked that the ADVC which is connected to "output"  of the tape player is well set for 48 Khz audio, and