Document Directory 'Number of Times Accessed' count
Not really an api question, but i couldnt find anything else that matched better...
Is the process that updates the Number of Times Accessed count a batch process and if so, how often does it run?
The reason i ask is that i have some docs in my directory whose count is remaining zero, even after I have accessed them, whilst others whose count is increasing over time quite happily.
Does anyone have any ideas why this might be the case?
thans
No, I think what's going on is that rather than update the counter every time a user clicks through, we use a randomized algorithm where there's a 1 in N chance that the portal will add N to the count. For example if N is 5 and you open a document 5 times you would expect to see the counter behave something like: 0 0 0 5 5
This means there's a margin of error (think opinion polls) but the margin decreases as the count increases, so you might know a given document has been accessed 12,450 times with a 5% margin of error. The benefit is that we reduce the load on the database for this particular SQL update by a factor of N. I believe there's a setting somewhere to modify N if you need more accuracte counts, in fact you can set it to 1 if you need a precise count.
Similar Messages
-
Playing a song through Music Match from iCloud on my iPhone does not update number of times played
I noticed that when I play a song on my iPhone using Music Match / iCloud, the number of times played counter on in iTunes my Mac is not increased, nor is date last played etc. As this is still one user, using one music collection I had expected this to happen.
Now my "good but forgotten" clever playlist (>=4 stars, date last played over a year ago) is not kept current anymore.
Is this a bug or a "feature". Like most things iCloud it seems to work "sort of, but not quite there yet..."I am experiencing the same problem. I have uninstalled and re-installed ALL Apple software. Restored phone. Didn't work. Got a new phone and set up as a new phone. Same problem. Cannot play music. I select the song and the screen switches back to the previous screen and never plays. Artwork is all jacked up. Please help.
-
Is there a way to count the number of times an array moves from positive to negative?
I have an array of values, and I need to find the number of times that the array changes signs (from positive to negative, or vice versa). In other words from a graphical standpoint, how many times a certain line crosses the x-axis. Counting the number of times the array equals zero does not help however, because the array does not always equal exactly zero when it crosses the axis (ie, the points could move from .1 to -.1).
Thanks for you help. Feel free to email me at [email protected] I only have lv 5.1.1 so if you attach any files, they cannot be version 6.0.Attached is a VI showing the # of Pos and Neg numbers in an array, with 0 considered as non-Pos. It is easily modifiable to other parameters - including using the X-axis value as your compare point versus only Zero.
This is a modified VI from LV (Separate Array.vi)
Compare this with your other responses to find the best fit.
Doug
Attachments:
arraysizesposneg.vi 40 KB -
How do i count the number of times a cell has been referenced by other cells' formulae?
Hello,
I have a spreadsheet of recipes and ingredients that use checkboxes to let me know which recipes I can make based on the ingredients I have on-hand, using a formula like this one: =IF(AND('Spirits' :: A42,Mixers :: A18,Mixers :: A41,'Spirits' :: A25 ),Table 3 :: $A$2,Table 3 :: $A$3). If I've checked all of the boxes for ingredients that are required for any one of my recipes, the cell that the formula is in returns something like "YES"; otherwise, it returns a blank. It works well enough, but I'd like to include a cell next to each ingredient with a formula that will look through the hundreds of recipes, which all use a formula like the one above, and return a count of the number of times the ingredient's cell is referenced in those formulas. That way, I'll know which ingredients are the most commonly used in my eclectic collection of recipes. I thought something like =COUNTIF('Recipes' :: A2:A343, "=A2") would work, but it doesn't look at the cell references in the formulas, so no, it doesn't work. Any ideas? I'm using Numbers 2.3Hello
There's no formula to inspect other formula in Numbers. So what you asked cannot be achived in such a way you described.
A simple alternative method would be to build recipe-ingredient matrix as follows.
E.g.
Table definitions:
Recipes
A1 Recipe \ Ingredient
A2 A
A3 B
A4 C
A5 D
A6 E
A7 F
A8 # recipes / ingredient
B1 X1
B2 TRUE
B3 FALSE
B4 TRUE
B5 FALSE
B6 TRUE
B7 FALSE
B8 =COUNTIF(B,TRUE)
C1 X2
C2 TRUE
C3 TRUE
C4 FALSE
C5 TRUE
C6 TRUE
C7 TRUE
C8 =COUNTIF(C,TRUE)
D1 X3
D2 FALSE
D3 TRUE
D4 FALSE
D5 TRUE
D6 FALSE
D7 TRUE
D8 =COUNTIF(D,TRUE)
E1 X4
E2 FALSE
E3 FALSE
E4 FALSE
E5 FALSE
E6 FALSE
E7 TRUE
E8 =COUNTIF(E,TRUE)
F1 Y1
F2 TRUE
F3 FALSE
F4 TRUE
F5 TRUE
F6 TRUE
F7 FALSE
F8 =COUNTIF(F,TRUE)
G1 Y2
G2 FALSE
G3 TRUE
G4 TRUE
G5 FALSE
G6 FALSE
G7 TRUE
G8 =COUNTIF(G,TRUE)
H1 Y3
H2 TRUE
H3 TRU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5 =IF(B5,1,0)
In "Recipe" table, the first row is header row and the last row is footer row.
Hope this may help,
H -
QUERY WHICH COUNTS NUMBER OF TIMES WORDS/LETTER APPEAR IN SENTENCE - Thanks
I have this query below
it gives the number of times a txn is hign comfort and Approved
.. nyumber of times txn is meduim comfort and approved etc.
There is a futher line whihc shows the number of times txn is blacklisted BL COUNT.
I am trying to get line of query which can show me the number of times txn is approved, is high comfort and blcklisted ( the same applies for
wl - watch listed)
The query i am using
SUM
(CASE
WHEN cc.Comment
LIKE ('BL(%') and cc.Comment
LIKE ('Approved%')
AND cc.Comment
LIKE ('%ComfortLevel=High Comfort%')
THEN 1
ELSE 0 END)AS hbcl - NO RESULTS BEING GIVEN
pLEASE CAN ANYONE HELP,. THANKS
QUERY
USE RiskManagementReporting
GO
DECLARE
@StartDate DATETIME,
@EndDate DATETIME
SET @StartDate
= '2014-01-01 00:00:00'
SET @EndDate
= '2014-03-31 23:59:59'
SELECT
CONVERT
(VARCHAR(10),
mt.OPacket_TransactionTime, 102)
AS [Date],
SUM
(CASE
WHEN cc.Comment
LIKE ('Approved%')
AND cc.Comment
LIKE ('%ComfortLevel=High Comfort%')
THEN 1 ELSE 0
END) AS [A - HighC],
SUM
(CASE
WHEN cc.Comment
LIKE ('Approved%')
AND cc.Comment
LIKE ('%ComfortLevel=Medium Comfort%')
THEN 1 ELSE 0
END) AS [A - MediumC],
SUM
(CASE
WHEN cc.Comment
LIKE ('Approved%')
AND cc.Comment
LIKE ('%ComfortLevel=Low Comfort%')
THEN 1 ELSE 0
END) AS [A - LowC],
SUM
(CASE
WHEN cc.Comment
LIKE ('Declined%')
AND cc.Comment
LIKE ('%ComfortLevel=Low Risk%')
THEN 1 ELSE 0
END) AS [D - LowR],
SUM
(CASE
WHEN cc.Comment
LIKE ('Declined%')
AND cc.Comment
LIKE ('%ComfortLevel=Medium Risk%')
THEN 1 ELSE 0
END) AS [D - MediumR],
SUM
(CASE
WHEN cc.Comment
LIKE ('Declined%')
AND cc.Comment
LIKE ('%ComfortLevel=High Risk%')
THEN 1 ELSE 0
END) AS [D - HighR],
SUM
(CASE
WHEN cc.Comment
LIKE ('BL(%')
THEN 1 ELSE 0
END) AS [BL Count],
SUM
(CASE
WHEN cc.Comment
LIKE ('WL(%')
THEN 1 ELSE 0
END) AS [WL Count],
SUM
(CASE
WHEN cc.Comment
LIKE ('Marked as Touched%')
THEN 1 ELSE 0
END) AS [Touched by DRT],
COUNT
(mt.csnTransactionId)
AS [Sent to DRT]
FROM MatchedTransaction mt
WITH (NOLOCK)
LEFT
JOIN CustomerComment cc
WITH (NOLOCK)
ON (mt.csnTransactionId
= cc.SenderMTCN
AND cc.InsertDate
BETWEEN @StartDate AND
DATEADD (D, 1, @EndDate)I have adjusted this as
SUM
(CASE
WHEN cc.Comment
LIKE ('Approved%')
AND cc.Comment
LIKE ('%ComfortLevel=High Comfort%')
AND cc.Comment
LIKE ('%BL(%')THEN 1
ELSE 0 END)
AS hcbl,
Still no result -
Hi all,
I am writing a VI for measuring data and inserting it into a database. The measurements are controlled by a loop that runs once every minute. I want to give each measurement a unique id number and store this too in the database.
To do this, I want to add a counter to this loop so that I can count the number of times the loop has executed in total. This is, even if the VI, LabVIEW or even th PC is restarted, I want the counter to keep track of the number of executions. If say, the loope executes two times and then the VI is stopped and restarted, I want the following number on the counter to be three.
Does anyone have an idea about how to do this? I am gratefule for any help!
Clara
Message Edited by Clara G on 05-11-2010 08:21 AM
Solved!
Go to Solution.Not allowed to give away code but I can describe one of my "Totalizers" used to keep track of how much stuff has passed through a fliter so we know when to change it.
THe Total izer is implemented as an Action Engine.
It has three actions (methods)
1) Init - Opens an ini file and reads the last values read and cahces these in shift registers. It also inits a timer so we now how long since the last file I/O.
2) Update - Uses the data passed by the caller to update the totals. It also checks how long since the last save and if more than one minute it writes to the ini file (forced write).
3) Read - returns the totals for display and evealuating if a an alarm should be triggered to change the filter.
Note:
THe pre-LV 8.6 version of the ini file exposed methods to allow writing to the file. The new ini functions do not expose that functionality and require closing the file.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
Need to count the number of times the Basic Finish data chages
HI Expertes,
I have a requirement I need to count number of times the Basic finish date chaged for PM work order. I went throug our forums I got some info like using a standard function module
CHANGEDOCUMENT_READ_HDRS_ONLY
CHANGEDOCUMENT_READ_HEADERS
CHANGEDOCUMENT_READ_POSITIONS
But all the above function module will not be suitable for my requirement since CHANGEDOCUMENT_READ_HDRS_ONLY it gives whole changes but my requirement is just need number of changes occurred in Basic Finish date but CHANGEDOCUMENT_READ_POSITIONS can give the filed number which has been changed but still I need change id.
So kindly suggest me wether there is any other Standard FM to get number of changes occurred in Basic Finish date?
Thanks,
RajeshHi Debbie,
To count the number of groups please try the folling steps:
1) Create a formula @reset and place this formula in the page header
whileprintingrecords;
numbervar i:=0;
2) Create another formula @evalgroup place this in the group header where you want to count the values.
whileprintingrecords;
numbervar i:= i+1;
3) Create another formula @display and place this in report footer.
whileprintingrecords;
numbervar i;
In order to display the count of details which are printing in the detail section place the eval formula in the detail section and the @display formula in the group footer.
Hope this helps!!!
Regards,
Vinay -
How do I count the number of times a word appears in a column?
What I have is a spreadsheet logging work history. Let's say the work location is "office", "home", or "travel" and I want to have a separate cell in another table for totals, count up the number of time each appears in the data for the year. So it would look like this:
Date
Location
sept 1
office
sept 2
home
sept 3
home
sept 4
travel
sept 5
office
sept 6
office
sept 7
office
sept 8
travel
sept 9
home
sept 10
office
Totals
Days
10
Office
5
Home
3
Travel
2
I just can't figure out how to develop the formula to put in the Totals column to make it work this way. If you can help me achieve this I'd really appreciate it!Hi SpartanAntarctican,
Table 1 to record your locations
Date
Location
sept 1
office
sept 2
home
sept 3
home
sept 4
travel
sept 5
office
sept 6
office
sept 7
office
sept 8
travel
sept 9
home
sept 10
office
Table 2 to sum your locations
Totals
Days
10
Office
5
Home
3
Travel
2
In Table 2 the formula in B2
=ROWS(Table 1::A)−1
Minus 1 because there is a Header Row in Table 1.
In Table 2 the formula in B3 (and Fill Down)
=COUNTIF(Table 1::B,A3)
You can check this by adding 5 + 3 + 2 to arrive at 10
Or maybe delete Row 2 put the Days calculation into a Footer Row in Table 2
=SUM(B) .
Regards,
Ian. -
Count the number of times a character is in a string using pl/sql
I need to count the number of times ":" appers in the string ":XXX:CCC:BBB:".
I have sound some solution using SQL but I do not want the context switch.
Also I am on 10g so I can not use REGEXP_COUNT.
Any help would be great.Hi,
length(REGEXP_REPLACE(':XXX:CCC:BBB:','[[:alnum:]]'))counts all kinds of punctuation, spaces, etc., not just colons. Change any (or all) of the colons to periods and it will still return 4. Use '[^:]' instead of '[[:alnum:]]' if you really want to count just colons.
Also, "SELECT ... FROM dual" is usually needed only in SQL*Plus or similar front end tools. In PL/SQL, you can call functions without a query, like this:
x := NVL (LENGTH (REGEXP_REPLACE (txt, '[^:]')), 0); -
Get the following error from Oracle
ORA-24333: zero iteration count
Cause: An iteration count of zero was specified for the statement
Action: Specify the number of times this statement must be executed
Any suggestions on whether is this a Oracle bug or if not what should be set to avoid this failure.Hello get this from executing the following.
Occurs intermitently.
select MAX(LENGTH(lxVal)) from lxString_74501fb6 where lxType=910231053
Find the MaxLenght(LxVal) returned is null for this query.
Did google it but says the iterator not initialized. But not the case here
Thanks -
Count number of times a specific element occurs in ArrayList
I need to count the number of times a specific element occurs in an ArrayList. For example, if an ArrayList 'overflow' consists of the following elements:
1,3,4,1,1,8,14,7,3,7,8,0.
I need to count the number of times 4 occurs in the list.
ArrayList overflow = new ArrayList();
if(overflow.contains(4))
}I know that contains returns true if 4 exists in the ArrayList, but how do I count the number of times 4 occurs? Any help will be appreciated. Thank you.There is the Collections.frequency method in j2se 1.5
Or you could loop through the values in the ArrayList and count the number of times it occurs. -
Problem restricting access to additional document directory
Hi,
Plattform: Win2K + iPlanet 6sp6
I'm having a bit of a problem setting restrictions on an addtional document directory (the "manual" directory is a good example).
I have a couple of virtual servers.
I do not want to use .htaccess.
Is it at all possible ?
any pointers ?
Best wishes,
B.LIs it possible?Yes.
Any pointers?Umm. Use the "Restrict Access" screen to select the directory you want to restrict, and then set the permissions for it.
Without knowing what kind sof problems you're having we can't really make any recommendations.
Are you following the instructions in the Admin Guide? -
Hi everybody,
I have Imac 5 processor and I guess installed Lion I am having difficulty with Wifi connection. Sometimes after shut down number of times still does not access wifi or if it does I can see wifi bar on iMac but can't open any webpage. Please help
ThanksHello:
There was an OS X 10.7 update released a month or so ago that fixed this problem. Run software update.
Barry -
BW Reporting - How to Count the number of times a query is executed
Hi All,
How do we get a report that enable us to get a count of number of times a report is executed? Example below:
Info-provider Report Name Frequency
PA_C01 Headcount 24 times
Any idea?
Many thanks all.
Mark Ng.Hi,
1. Use Tcode = ST03N (Work Load Monitor)
2. Choose Expert mode.
3. Click on your system host name
4. Click on Transaction Profile, then you can find out the all tasks.
5. Select which ever you want to see details for queries.
Regards,
Srini Nookala -
Can documents saved on my time capsule be accessed if not connected i.e. I am away from home and want to access documents saved on my time capsule
Yes, if you setup one of the methods.. see
https://discussions.apple.com/docs/DOC-3413
You must use a Mac for any of those.. if you want to use some other OS tell us.
Maybe you are looking for
-
Open inbox instance in same window
In 6.0.x. when a instance in the workspace inbox is clicked, it opens in a new window, but in 5.7 it opens on the same page, is there any way to make the inbox instance open in the same window (html page).
-
Help!! I don't know how to fix this.
My Mail account seems to have gone cooky. I tried to send an e-mail with a 14mb attachment and it spent 5min trying to send it. I then quit mail, and relaunched and now it is in my outbox, but I can't get it to delete or send it. What should I do? I
-
Hello, Can anyone assist me in writing a pcr to calculate two dates? That is, the difference between the hiring date and the current date. So that if employee has worked 1 year for instance, a pcr calculation is processed for him, and the employee ha
-
I'm thinking of reformatting my pc
what are steps need to be taken in order of not losing my itunes apps n music library?
-
Regd. change pointers and notifications
Hi, The question might sound a little too broad. But bear with me...Just give me a brief overview, of how do I go about using change pointers.... Just correct me if I am wrong. We create a change document object in the system, or use an existing one.