Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Log into License Statistics.
  2. Select the Usage Per User tab from the Reports page.
  3. Prepare sample data to be used in your report and make settings (for example, filters). Note that the data needs to be sorted alphabetically.
  4. Download your report in the CSV format using the Save As button.
    Licstat_usage.pngImage Removed
    Image Added
  5. Export information about users by clicking the SQL Console tab in the Administration page.
  6. Paste and run the following query:
    SELECT U.Name, CONCAT_WS(" ", FirstName, LastName) as Fullname FROM UserDetails UD INNER JOIN User U ON UD.UserId = U.Id ORDER BY U.Name

  7. Output the result to the CSV format.
  8. Paste these two reports in two separate Excel spreadsheets in one Excel file. To do this, you can simply open the exported Usage Per User report and copy LDAP information to another spreadsheet.
  9. Move back to the first sheet, add a new header named "User Details" and paste a VLOOKUP function to every field in this column.
    (Note that the syntax of the function may vary depending on whether you're using Excel or LibreOffice Calc.). For example, for Excel 2013 you may use the following syntax:

    =VLOOKUP($B2;Sheet2!$A$1:$B$7;2)

    where:

    • VLOOKUP is a function that performs a vertical lookup by searching for specific information located in a sorted table.

    • Column B from Sheet1 contains username and number 2 indicates the number of the current row.

    • Range of data indicates data that will be used by VLOOKUP, using cells from column B.

    • Number 2 indicates the column from Sheet2 for which the matching value must be returned (in this case user's first name and last names).

  10. If everything goes well you will see a final result similar to the following:

    If you think that this situation can be a common occurrence, don't hesitate to inform us.

...