Report to show number of clients with/without specific software with %

I'm creating a report that shows 4 columns, AD Site, Visio installed, Visio not installed, % Installed. I can get all column right except 'Visio not installed':
IF object_id('tempdb..#tmp') is not null Drop table #tmp
select vrs.AD_Site_Name0, 
       CASE WHEN arp.DisplayName0 like '%Visio%'
            THEN 1
            else 0
       END as Visio,
       CASE WHEN arp.DisplayName0 not like '%Visio%'
THEN 1
else 0
END as NoVisio
into #Tmp
from v_R_System vrs
inner join v_GS_SYSTEM_ENCLOSURE enc on enc.ResourceID = vrs.ResourceID
where 
 enc.ChassisTypes0 in ('8', '9', '10', '14')
select  AD_Site_Name0 AS 'AD Site'
           ,sum(Visio) as [Visio Installed]
            ,sum(NoVisio) as [Visio not Installed]
    ,(sum(Visio)*100 / (sum(Visio) + sum(NoVisio)) ) AS '%'
from #Tmp
group by AD_Site_Name0
Any ideas what went wrong? Or is there any other ways to get the result I want? 
Many thanks. 

Awesome! This is exactly what I'm looking for. Thank you Sherry!
Nick, we have the same result. I would just exclude every irrelevant entries
Select DISTINCT DisplayName0 FROM v_Add_Remove_Programs WHERE DisplayName0 Like 'Microsoft Office Visio%'
and DisplayName0 not like '%Visio Language Pack%' and DisplayName0 not like '%Visio Viewer%'
etc...

Similar Messages

  • Reporting Services - How to open a second table inside report, for each number of client (each apears in first table)

    Reporting Services - How to open a second table inside report, for each number of client (each apears in first table)?
    Exemple:
    Table1
    Cliente name:
    John
    Client number:
    12345
    Survay number of negative answers:
    3
    Table2
    Questions and answers that were negative:
    Question: How much time where you waiting
    Avaluation: 3 (from 1 to 10)
    Answer: They only called me 1 mouth later
    Can you please help me?

    Hi,
    Based on the description, I understand that you want to add subreport in the main report. When previewing the main report, the subreport can be shown in detail. Please see the screenshots on my test:
    In Reporting Services, we can create parameters and pass them from main report to subreport in order to control the data dynamically.
    References:
    Subreports (Report Builder and SSRS)
    Add a Subreport and Parameters (Report Builder and SSRS)
    If I have any misunderstanding, please feel free to contact me.
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • Canon 860 Series (Pixma) Printer Problems with OSX 10.8 (Mountain Lion) – links to Canon Support Site with Drivers and Software with install tips

    After spending several hours sorting out Canon Pixma OSX problems here are my thoughts:
    Canon 860 Series (Pixma 868) Printer Problems with OSX 10.8 (Mountain Lion) – links to Canon Support Site with Drivers and Software with install tips
    Problem:
    - New imac and MacBook Pro 2012 (OSX 10.8.2) had a problem using Canon Pixma 868 printer on network and would not scan or print using Canon Pixma software (Pixma MP Navigator 2.1 & Photo Print), which has advanced scanning and photo printing functions. 
    - When I connected the canon printer to my imac, OSX 10.8.2 automatically downloaded and installed drivers for Canon 860 series printer. I could then add the new printer (select ‘apple menu’ / ‘system preferences’ / ‘print and scan’ / “+”) and printer would work while connected via USB but could not get to print or scan over network wifi. 
    - The original Canon 860 Series CD does not work with 10.8 and the manual / online instructions did not make sense (as based on CD install). 
    Solution:
    1) Install Canon Printer Drivers and Software (from official Canon site)
    Go to canon support site, review FAQ, then download and install following Pixma 860 Series software & drivers for OSX 10.8 (links see below). The version I downloaded is in brackets but check for updated version. Full instructions are below.
    Canon 860 Series Drivers & Software  for OSX 10.8 Mountain Lion:
    The base software and drivers needed for using Canon 860 Series on Mac OS X 10.8 (USB) are
    1 Printer Driver
    (Canon MX860 series CUPS Printer Driver Ver. 10.67.1.0 (03-Aug-2012))
    2 Scanner Driver
    (Canon MX860 series Scanner Driver Ver. 14.11.4a (03-Aug-2012))
    3 Network Tool
    (Canon IJ Network Tool Ver. 4.1.0 for Intel Mac (27-Dec-2012)
    Canon Software for using advanced printing and scanning functions (while connected to network)
    4 Solution Menu
    (Canon Solution Menu Ver. 1.4.1 (27-Jul-2012 ))
    5 MP Navigator EX
    (Canon MP Nav EX Ver. 2.1.3 (02-Auf-2012))
    6 Easy-PhotoPrint EX
    (Canon Easy-PhotoPrint EX Ver. 4.1.6 (21-Jan-2013 ))
    Canon Support (HK) – check your local site
    http://www.canon.com.hk/en/download/main/index.do
    Select Product and drivers from support site eg http://support-hk.canon-asia.com/
    1. Choose a product category
    Multifunctional Printers
    2. Choose a product series
      Pixma
    3. Choose a product model
      Pixma MX868
    4. Choose type of document
    Downloads or FAQ
    If you have problems installing the software under 10.8, see the FAQ on Canon site. You will need to allow software installs from “unidentified developers by using “Control” Key or by changing your system preferences)
    2) Check Canon Printer and Software Working while connected via USB
    Once you have downloaded and installed drivers and software and restarted computer, check that the printer and Canon Pixma software (Pixma MP Navigator 2.1 & Photo Print) are working via USB.  Open the Canon IJ Network Tool App (Applications / Canon Utilities /IJ Network Tool / Canon IJ Network Tool App) and make sure you can see the Canon MX 860 series (xx.xx.xx.xx.xx.xx) and that it shows the correct SSID Wifi settings (under the Canon IJ Network Tool App ‘Setup menu’).  This is normally done as part of the automatic install but worth double checking
    3) Add new network printer using ‘apple menu’ / ‘system preferences’ / ‘print and scan’ / “+”).
    After you have checked USB printing turn off printer, unplug the USB cable and shutdown the Canon IJ Network Tool App.
    Then turn the printer back on and wait 30s. Then add a new printer using ‘apple menu’ / ‘system preferences’ / ‘print and scan’ / “+”). Once you select “+” (add new printer), wait 10-30s for the Wifi Networked Canon MX 860 Series printer to appear in the new window eg Canon MX 860 series (xx.xx.xx.xx.xx.xx) (Kind: “Canon IJ Network”)
    DO NOT ADD THE MX 860 SERIES BONJOUR SCANNER (the Bonjour Scanner is the built-in software, is not needed and often appears first on the add printer list).  The Canon scanner can be accessed used through the MP Nav EX Ver. 2.1.3 software (which has much better functions)
    You will now have two Printer Canon MX860 (USB) and Canon MX860 (Wifi / Network). Set the Canon MX860 (Wifi / Network) as default and test print and scan
    If the Wifi Networked Canon MX 860 Series printer does not appear, check the printer and make sure that the printer can see the wifi network. On the printer select Menu / Settings / Device Settings / Lan Settings / WLAN Setting List.  It should say WLAN Active, identify the SSID and have an IP address
    If the printer can not see the Wifi Network, plug the USB cable back in, then open the Canon IJ Network Tool App (Applications / Canon Utilities /IJ Network Tool / Canon IJ Network Tool App). Make sure you can see the Canon MX 860 series (xx.xx.xx.xx.xx.xx) and that it has your SSID settings (under setup), if it has this info, restart the computer and the printer and try again

    Hi, thaks for response, meant to post as a discussion (not question), wanted to save others time if they get the same problem

  • Create a User Collection with installed specific software

    Can someone help with Query to Create a User Collection with installed specific software.
    I have created a collection for Computer Collection with installed specific software but i need to push apps on users and for that i need to create a user collection with specific software installed.
    Thanks

    Yes. I have created device collection with
    installed specific software and used  this collection to pull report from out the box report for Primary Device users( Not sure about exact report name but similar) for
    this collection. Did some excel work to find primary device user.
    But looks like there is no straight forward solution. It would be great if i know how to import multiple users from a text/csv file into a User collection.
    Thanks

  • Maximum number of clients on Airport Extreme base with WPA?

    http://www.apple.com/airportextreme/specs.html
    In footnote number 9 Apple tells us: "Use of Wi-Fi Protected Access (WPA) reduces the maximum number of network users."
    The normal (with WEP?) maximum of users should be 50 on a Extreme base. But how much is it reduced with WPA? Why does Apple not tell a concrete number?
    I am disappointed about such useless information in technical specs. Also disappointed that Apple is putting such an important information into a footnote with small and grey letters ....
    Does anyone have more concrete information?
    Thanks for answer and regards
    Joerg

    I do not see any more concrete info other than what you just read. It should be said, however, that if you were intent on having 50 people connected to a single base station, WPA or not, those users are going to have a poor internet experience. Think about connecting to the internet with the old-style 1200 baud connections.
    WPA uses more overhead than WEP, and way more than an unprotected network. If you are going to be having more than 10-20 people use a network for anything more than sporadic email and web usage, you would be better off employing multiple wireless networks to distribute the load, or eliminating encryption in favor of other forms of authentication.

  • Report to show Number of sent and received messages

    Hi,
    We are on PI 7.1 EHP 1.
    I'm wondering if there is a way to set up a daily report that will output the number of inbound and outbound messages by message type?
    I know this can be done manually in the RWB but is there a way to automate it?
    Thanks,
    Gareth

    Yes, is possible using standard AbapStack function & tables.
    Check in SDN Forum, this is an old 3D.
    Re: Get count of the messages to particular Interface in a day and send email
    *& Report ZPI_MESSAGES_COUNT
    REPORT zpi_messages_count.
    TYPES : BEGIN OF gty_filter_t,
    ob_system TYPE ait_sndr,
    ob_name TYPE rm_oifname,
    END OF gty_filter_t.
    DATA : im_filter TYPE sxi_msg_select,
    pids TYPE sxms_sel_options,
    pid TYPE sxmsselopt,
    gt_msg TYPE sxmsmsgtab,
    gt_fil TYPE TABLE OF gty_filter_t,
    gs_fil TYPE gty_filter_t,
    gs_fil_t TYPE gty_filter_t,
    gs_msg TYPE SXMSMSGLST,
    gv_lines TYPE int4,
    cnt TYPE i.
    PARAMETERS : s_st_dat TYPE sxi_msg_select-exedate OBLIGATORY,
    s_ed_dat TYPE sxi_msg_select-exe2date OBLIGATORY,
    n_hits TYPE int4 OBLIGATORY.
    START-OF-SELECTION.
    im_filter-exedate = s_st_dat.
    im_filter-exe2date = s_ed_dat.
    pid-sign = 'E' .
    pid-option = 'EQ'.
    pid-low = 'CENTRAL_BACK'.
    APPEND pid TO pids.
    CLEAR pid.
    pid-sign = 'E' .
    pid-option = 'EQ'.
    pid-low = 'RECEIVER_BACK'.
    APPEND pid TO pids.
    CLEAR pid.
    pid-sign = 'E' .
    pid-option = 'EQ'.
    pid-low = 'SENDER_BACK'.
    APPEND pid TO pids.
    CLEAR pid.
    pid-sign = 'E' .
    pid-option = 'EQ'.
    pid-low = 'PE_ADAPTER'.
    APPEND pid TO pids.
    CLEAR pid.
    pid-sign = 'E' .
    pid-option = 'EQ'.
    pid-low = 'PE_PROCESS'.
    APPEND pid TO pids.
    CLEAR pid.
    im_filter-pids = pids.
    CALL FUNCTION 'SXMB_SELECT_MESSAGES_NEW'
    EXPORTING
    im_filter = im_filter
    im_number = n_hits
    im_adapter_or = '0'
    im_process_mode = '0'
    IMPORTING
    ex_msgtab = gt_msg
    EX_RESULT =
    EX_FIRST_TS =
    EXCEPTIONS
    persist_error = 1
    missing_parameter = 2
    negative_time_range = 3
    too_many_parameters = 4
    OTHERS = 5.
    IF sy-subrc 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    DESCRIBE TABLE gt_msg LINES gv_lines.
    SORT gt_msg BY ob_system.
    LOOP AT gt_msg INTO gs_msg.
    MOVE-CORRESPONDING gs_msg TO gs_fil.
    APPEND gs_fil TO gt_fil.
    CLEAR gs_fil.
    ENDLOOP.
    LOOP AT gt_fil INTO gs_fil.
    gs_fil_t = gs_fil.
    cnt = cnt + 1 .
    AT END OF OB_SYSTEM .
    WRITE :/ cnt, gs_fil_t-ob_name .
    CLEAR cnt.
    ENDAT.
    ENDLOOP.
    WRITE :/ gv_lines, 'Records Received'.

  • XL reporter to show zero rather than #Ref for account section with no value

    Hi,
    Customer is using 2007A PL30. They do not want Profit&Loss and Balance Sheet to show if the account is having zero value.
    Eg. Subsection of P&L report
    Payroll
    Salary                          0.00
    Bonus                          0.00
    Casula wages               0.00
    Total Payroll                 0.00
    Office Admin Cost
    Courier charges         100.00
    License fee               200.00
    Total Office Admin     300.00
    Total Cost                300.00(0.00+300.00)
    Expected result: Do not show anything for Payroll(no figure) but only shows those rows with figure and Total Cost.
    After I check the option in XLR\Advanced Report Builder (Do not display blank records), the system cannot display subtotal for Total Cost because Total Payroll is having #Ref. May I know how to overcome this problem?
    Regards
    Thomas

    Hey Thomas
    If I understand the issue then you need to resolve this in Excel.  If you have these requirements you will need to write VBA code to make this work the way you want.     You can go to http://tech.groups.yahoo.com/group/xlreporter/ and then go to the Files section and search for Method to exclude zeros.   
    Jim

  • Direct Reports not showing in Lync Clients for certain users in a pool

    Hello guys, I am having issue with some users not being able to see direct reports of their managers in lync clients. Direct reports correctly shown in AD and outlook, but not in Lync. I have two paired lync pools. This issue is happening to users situated
    within a pool. If I moved the manager to second pool, then users will see his direct reports. Does anyone knows how to fix this issue?  Attached is sample.

    Hi dareadepoju,
    This information is from AD, you can try synchronizing the information manually.
    Delete the .slabs file from the file share sitting on 000000000\000000000 folder and then run Update-CSUserDatabase and after 5 minutes, run Update-CsAddressBook.
    The folder path:
    X:\share\1-WebServices-1\ABfiles\000000000\000000000\
    Best regards,
    Eric

  • Can i count the number of Mondays in a specific month with a formula?

    Hi
    I am looking for a streamlined way of calculating an amount to invoice for a job that I am paid for weekly, but for which I invoice monthly, meaning that I am invoicing different amounts each month, depending on how many Mondays fall in a given month (i.e. 4 or 5).
    So I am wondering if there is a function I can use to calculate the number of Mondays in a given month automatically and then I can use this value to multiply by my weekly charge to calculate the amount to invoice each month.
    Thanks
    Nick

    Responses below apply to my earlier post.
    nick_harambee wrote:
    1. What part of the formula do I need to change to do the same for other days of the week, and for other years?
    No change for other years, as the full date is entered.
    I haven't looked at changes necessary to the version above to show results for other days. See below for a new table that does all days.
    2. Would it be possible to construct one table with the calendar for a whole year, which would generate a count for each day of the week, which I could then use as and when needed? Or would it make more sense to construct a separate table for each day of the week (as I am referring to in question 1)?
    Depends what information you need.
    If you need the count for only one week day, then a table showing only the count for that day of week will avoid having to search it out.
    If you need the number of occurrences of each weekday in each month, then a table showing those, with or without an attached calendar, is in order.
    Here's one that shows the count of each weekday for each month. It uses two formulas, derived from the earlier posts by Yvan and Jerry:
    B1: =DATE($A,COLUMN()-1,1)
    B2: =IF(AND(DAY(EOMONTH(B$1,0))>28,MOD(WEEKDAY(EOMONTH(B$1,0))+7-(ROW()-1),7)<(DAY( EOMONTH(B$1,0))-28)),5,4)
    The formula in B1 is filled right to M1, and the cells are formatted to show only the Month and Year. Note that the cells actually contain Date and Time values, which are used in the second formula's calculations.
    The formula in B2 is filled right to M2 and Down to M8.
    Day names in column A are entered directly and are not used in the calculations.
    The 4 digit year number is entered directly in A1. Change this number to change the year.
    <img src="http://i963.photobucket.com/albums/ae116/Barry_images/iWork09screen/Countw eekdaysinMonth.png" border="0" alt="Count of weekdays in month(s)">
    Conditional formatting is used to fill cells whose value is equal to 5 with a yellow background.
    Regards,
    Barry
    Edit:
    Direct address to image for use if not showing above.
    http://i963.photobucket.com/albums/ae116/Barry_images/iWork09screen/Countweekday sinMonth.png
    Message was edited by: Barry

  • Since the installation of Firefox 8, I cannot download a specific file type from email. I use this for work and MUST be able to open these files with a specific software. When FF opens the file, it changes the extension and it will not open. Help!!!

    I use the Microsoft Outlook Web App for work email. I receive files with a .RXML extension. This has always worked just fine until the latest version of Firefox came out (I was using FF 7 until this weekend). Now FF changes the extension to .ashx when I open the file and I cannot download it into my software. If I go to the company internet site and download directly from there, it does the same thing. But I can open these files just fine from IE. I REALLY don't want to have to go back to IE.

    I opened one of the PDF files in notepad and these are the first couple lines:
    瀖ᕁމጿ␠씴豈䧉筩롈ꓳ劏ꎯ僪뚢頟뻏즏谀㿃夑퀉꟠鲲쮂⫉笿褡밤籞冁탁ӓ轸뿐笼ⵆ횰䄌ඁ淥ة寨闤⬅鳦팥링빨嬄敎უ婏㣴ً鮓ࣿꢚ㑀녲莒඼ိȆ䕇纍쉉籶뺝갞伐쮠᥏﯒넉釖ȓ겴☧ ἣ秵駻�䣞띰㖔流羀籔朼敨ꢉ糶당⬤俉膇䄐惡�ಹꛖ鍡恡ⱶᶜ�堷﹑ﱌ僿걄뎔æ䋷귪⛢⫐䅪䉙὿烶ꖆ႟ᗔ瘞狻틫儩六잶覱낵듘盋崾�ᦜ㺆௹뻹燴ឋ騙쬄ꏿ뽒煹�钼뇲腎稦ꃲ㈃沒ꔈ뺐뛽첑䘶畱䍣紻 ⁜哠鳾

  • How to create an employee with a specific effective_start_date with api?

    Hello,
    I'm trying to create an employee through the hr_employee_api.create_employee (R12 Apps)
    In Forms, if we want create it in a different date than sysdate, we use the "Alter effective date" screen... what this does is to copy into global.g_session_date variable the value we set.. and I suppose that this date is what api takes as sysdate to create an employee with desired effective_start_date.
    But.. how to set it through Plsql procedure that call to create_employee api? p_per_effective_start_date is an out parameter... But after following the code through internal apis.. I didn't get to find where is that value set...
    Any ideas?
    If no one is passed, it's set to sysdate.. but what we want is to set this date to one specific...
    Thanks,

    Hi again,
    sorry for a "quick" conclusion...
    Although the session date wwill be set inserting in fnd_sessions.. the effective_start_date returned ..continues with the value of hire_date.
    I've checked the screen behavior and it inserts directly into PER_ALL_PEOPLE_F (when we have a "normal" employee, not CWK) through per_people11_pkg.insert_row1 procedure.
    So.. is there anyway with create_employee api to create an employee (CORRECTION p_datetrack_update_mode) with hire_date different from p_effective_start_date??
    Interesting issue...
    Regards.

  • Problem with synchronizing desktop software with Lotus Notes

    Problem: synchronizing between blackberry storm and my pc with the desktop manager. During the settings of the configuration is asked for the location of the NOTES.INI file. The configuration program finds the NOTES.INI file it's self.
    After selecting the NEXT button I get an announcement that the NOTES.INI file can't be opened and the configuration stops.
    I don't know what to do to select the right file or setting so the desktop manager can synchronize with my blackberry.
    I hope somebody can help me with this problem.
    Regards
    Erik

    Hi and welcome to the forums:
    Please read the attached regards your error:
    Thanks,
    Bifocals
    Please remember to resolve your thread.
    Put the check mark in the green box that contained your answer! Thanks   
    http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB01534&sliceId=2&docTy...
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • Open dialog with a specific path with an html panel.

    Hi everyone,
    I 'm trying to rewrite my extension Edge FX available on Adobe Add-ons because flash panelsmade with configurator will not work anymore in Photoshop CC (2014).
    I need some help with javascript : I don't know why the open dialog didn't display now when i'm using this code
    // Open the Edges Collections directory
    var strEdgeFXFolder =  new Folder(assetsPath + "/Edges%20Collections/");
    var edgeFXFile = strEdgeFXFolder .openDlg("Choose the egde you want to apply","JPEG/PNG:*JPG;*.JPEG;*.JPE;*.PNG");
    open (edgeFXFile)
    Mnay thanks.
    Sebastien

    I think the problem is with var strEdgeFXFolder =  new Folder(assetsPath + "/Edges%20Collections/");
    I have modified the line into var strEdgeFXFolder =  new Folder(Folder.commonFiles.fsName + "/Adobe/"); and it opens now the open dialog box. Now I need to know where Extensions for Photoshoop CC (2014) are located by default with this version and what is the code I think.

  • Inactive Item report to show Item bought within a specific period and not sold within a specific period by whse and have stock

    Hi
    I'm trying to come up with query report to show Inactive Item bought within a specific period and not sold within a specific period by whse and have stock
    The report should show  Item Number, Item Name ,Item cost,Retail Price [Based on a price list], Qty in Whse, Last Purchase Date, Last sale Date etc.
    e.g item bought between 2011-2013 and have not been sold with the same date range or the last 12 months.
    Regards
    Brian Ndunda.

    Hi,
    Try this query:
    SELECT T0.[ItemCode], T0.[ItemName], T0.[OnHand], T0.[AvgPrice], T0.[LastPurPrc], T0.[LstSalDate] FROM OITM T0  left JOIN INV1 T1 ON T0.ItemCode = T1.ItemCode left JOIN OINV T2 ON T1.DocEntry = T2.DocEntry WHERE T1.[Quantity] is null and  T0.[OnHand] >0 GROUP BY T0.[ItemCode], T0.[ItemName], T0.[OnHand], T0.[AvgPrice], T0.[LastPurPrc], T0.[LstSalDate]
    Thanks & Regards,
    Nagarajan

  • Report to show activies per lead - when there is no activity

    Hello All,
    I would like to build a report that shows number of activities per lead even if there are 0. The goal of the report is to show that owners are not follow-up on their leads.
    Campaign Lead Last Name Owner # of Activities
    I have built this several different ways but cannot find a way to work in all the leads with 0 activities.
    Any help would be greatly appreciated.

    This has been answered multiple times. Search Forums before posting your question.

Maybe you are looking for

  • How to read and display a signal from my PIC Microcontr​oller onto Labview?

    Hi, I am doing a project on a Pulse Oximeter and i am trying to read and display the signal from my PIC Microcontroller on Labview? How do i go about doing it? I am using the PIC16F877 and also making use of the USART? How do i implement and initiali

  • Flashing image indesirable

    Hello: I have made a small movie with fade images taken from a folder. The problem what I have is that every time I change the image (jpg) from folder, a flash appear before fade image. Can you help me to solve this, please? thank you very much. you

  • Obsolete statements in ecc and higher

    can anybody tell me about the obsolete statements that are caught by transaction code uccheck<i><b>(such as open data set,concordinate,translate)function modules ws_upload ws_download</b></i>)

  • Violation of Stream interface?

    not a major deal, i am just interest in the Buffered classes: maybe java is violating the Stream interface contract? or please help me find error in simplest of code: the problem is with byte buffering. InputStream inStream = new BufferedInputStream(

  • Singleton in OOps ABAP

    Hello Experts,                   I understand singleton means we can create only one instance of a class.But what exactly is the use of the singleton in OOPS.Can you provide me how to implement in OOPS. Thnaks and Regards, Vijay.