How to modify the limit minimum 5 Seconds in Cognos visualization? - cognos

How to modify the limit minimum 5 Seconds in Cognos visualization ?
5 seconds is too small. We want make it above 1 hour at least.
See the black square in the picture below.
enter image description here

Related

How to rank multiple columns on excel. I'm using Microsoft Office Professional Plus 2016 [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 months ago.
Improve this question
I have the following input data:
Contamination
10%
10%
20%
20%
30%
30%
Estimator
Trial 1
Trial 2
Trial 1
Trial 2
Trial 1
Trial 2
OLA
500
75
100
430
460
230
PWA
360
457
400
200
200
400
CA
470
270
450
250
350
150
HA
215
310
200
400
400
200
AM
300
500
315
200
500
250
Table has 5 different estimators each having 2 repeated trials for each of the 3 groups of percentages of contaminations (10%, 20%, and 30%) considered.
For each of the 5 estimators (in my real problem I have more than 5), I want to rank (from lower to highest value) among the trials within each group of percentages (in my real problem I have more than 3) simultaneously.
I am looking for a solution, that doesn't require manually to rank each group, since in my real problem I have a larger group of percentages, trials per group and experiments. The number of trials within each group are the same.
I want to get a formula that can rank it simultaneously. Here is the expected output from the input data sample:
Contamination
10%
10%
20%
20%
30%
30%
Estimator
Trial 1
Trial 2
Trial 1
Trial 2
Trial 1
Trial 2
OLA
2
1
1
2
2
1
PWA
1
2
2
1
1
2
CA
2
1
2
1
2
1
HA
1
2
1
2
2
1
AM
1
2
2
1
2
1
Notes:
I have an older version of Excel: Microsoft Office Professional Plus 2016, please consider that in your answer
The Contamination is the same within the trial set (Trial 1, Trial 2). Table Markdown feature doesn't allow to merge cells, that is why the percentage is repeated
I assume from your question:
I do not want to rank them individually as it will take much time
since I have more than 50 of them to rank
You are referring to the percentage groups and/or number of trials that can be large, which is the most difficult task to expand.
In the cell L3(see screenshot below) I put the first formula that can be expanded vertically and horizontally. Please pay attention to the $ mark to ensure it works in both directions.
=RANK(OFFSET($C3,0, L$2*$J$2 + L$1),
OFFSET($C3,0, L$2*$J$2,1,$J$2),1)
Using named ranges, for example naming $J$2 as totalTrials it is easier to understand the formula:
=RANK(OFFSET($C3,0, L$2*$totalTrials + L$1),
OFFSET($C3,0, L$2*totalTrials,1,totalTrials),1)
or even better, using the modern LET function to define all the variables first, is the easiest way to read it:
=LET(startCell,$C3, totalTrials,$J$2,
groupCnt, L$2*totalTrials, trialCnt,L$1,
RANK(OFFSET(startCell,0, groupCnt + trialCnt),
OFFSET(startCell,0, groupCnt,1,totalTrials),1)
)
and here is the output:
Changing the values of Trial per Group (J2) or # Groups (J4) and expanding the formula horizontally and vertically you can consider a large number of trials within the group, large number of groups and a large number of experiments.
Explanation
For doing the ranking per experiment within the group I use the RANK(number,ref,order). For jumping from one group to another and getting the specific trial within the group, the OFFSET(reference, rows, cols, height, width) function. (check this link for more information about OFFSET function).
For building the recurrence in the formula I use the following two helper rows:
L1:Q1: The trial number within the group, starting from zero, via the following formula: MOD((COLUMNS($A$1:A1)-1),$J$2). It generates the sequence: 0,1,2,...N, 0,1,2,..N, where N is the number of trials minus one (easier to start from zero for the recurrence). In the sample the number of trials is indicated in the cell: J2.
L2:Q2: The group number, starting from zero, that each trial belongs to via the following formula: INT((COLUMNS($A$1:A1)-1)/($J$2)). It generates the sequence: 0,0,0,..0, 1,1,1,..1,...M,M,M...M, where each number is repeated as many times as trials we have where M is the number of groups minus one.
Note: There is a more concise way for building such sequences in modern excel versions via SEQUENCE but you indicated you have an older version.
In order to generate both sequences, I took the idea from here: Excel Magic Trick 692: More About Incrementing Numbers In Formulas (that works for older excel versions)
Combining properly both helper rows in OFFSET, the rank is calculated per trial per experiment.
This explanatory picture from ExcelJet, helps to understand each input argument of the OFFSET function:

Excel Graph for Time Duration to show continuity

I would need to create a continuous line graph from Excel VBA to show the values even if the duration between two time pointers is large. e.g. in the given data, I had 8 users working in the system continuously from 2nd minute till 8th minute when all the users stopped working.
Here is the same data that I have -
Time Users
00:00 4
00:16 6
00:32 8
01:20 7
08:16 0
08:32 0
My expectation is to plot the graph like this :
however I am able to plot the graphs like the other one:
Can some one help how can I achieve the expected graph in excel? If you can provide any VBA code snippet as well, it will help.

Finding stabilizing average of agent-based model runs

So I ran about 200 agent-based model runs and I want to see how the average is changing over time.
For example if we have 10 points
2 4 2 8 6 5 9 8 1 3
I want to calculate the average as the number of points changes
(2+4)/ 2 = 3
now for the next point it will be (3+2)/2 = 2.5
so I can plot each average and see after how many runs does the average stabilize. Something like this image < https://imgur.com/a/VXeeuxy > Can someone provide an equation or method?
Thank you
I think you just want a 'cumulative average' of 1,2..n points. You can do this in a single formula if you don't mind using offset:
In most versions of Excel (F1):
=SUBTOTAL(1,OFFSET(B23,0,0,1,COLUMN(B23:K23)-COLUMN(A23)))
In Excel 365 only (F2):
=SUBTOTAL(1,OFFSET(B23,0,0,1,SEQUENCE(1,COLUMNS(B23:K23))))
Or a more dynamic version that works for a whole row (F3):
=SUBTOTAL(1,OFFSET(B23,0,0,1,COLUMN(A1:INDEX(1:1,COUNT(23:23)))))
and (F4)
=SUBTOTAL(1,OFFSET(B23,0,0,1,SEQUENCE(1,COUNT(23:23))))

Redistribution of remaining percentages in excel

I'm having a hard time getting some excel formulas correct. The goal is to redistribute any "lost" Change in Stake (negative values) as positive additions to other rows (the calculation is based mainly on Inactive Hours and each stackholder's original Stake
In this example, the "period" is 5 days and Row 1 controls 28.15% of the stake. so
STAKE PER DAY = 28.15% / 5
I calculate what percentage is lost during 25 hours of inactivity:
(25/24 hours) x 5.63% = ~5.86%
In this case Row 1 loses 5.86% percent for their inactivity, while all other members with lesser inactive hours than 25, get that 5.86% distributed amongst them based on their original stake. So Row 2 gets 21.93% of 5.86%, and so forth.
Stak
This formula was making my head spin last night:
=IF(B25<>"",IF(D25="YES",IF([INACTIVE HOURS] > 0, -[#[INACTIVE HOURS]]/24*[#[STAKE PER DAY]], [#[ STAKE]]/($K$40+ SUMPRODUCT([[ STAKE]],[#[INACTIVE HOURS]]/24*[STAKE PER DAY], 0))),0),"")
Stayed up real late trying to crack it but the closest I got to getting the totals in Change In Stake to sum to 0.00% (I get 0.16%) and Final Adjusted Stake to sum to 100% (I get 99.84%).
There's also more to this problem. Consider there can also be multiple rows with different values for inactive hours.
For example, the row with 28.15% had 25 inactive hours, Row with 15.71% had 15 inactive hours and Row with 12.44% had 10 inactive hours.
In that case, only 10 of those hours will be fully distributed away from all 3 of these parties, and redistributed to the parties who had 0 inactive hours. However, the stakeholder with 12.44% was only inactive for 10 hours, as opposed to the stakeholder 28.15% who was inactive for 25 hours.
Therefore, stakeholder 12.44% will lose and full redistribute 10 hours worth but will also gain some back from the stakeholders with 15 and 25 hours of inactivity, during which stakeholder 12.44% was active. Likewise, the 15 hours stackholder is entitled to a proportionate share from the stackholder who was inactive for 10 hours more than they were.
Can excel formulas handle this type of calculation? What would it look like?
I think your partial solution is complicating the underlying problem so I would propose a different method. Reading between the lines the issue is to reduce/increase each stakeholders share by the inactive/active hours.
Calculate an equivalent number of hours from the total hours (share * 5 days * 24 hrs), subtract off the inactive hours, re-base the share on the new lower total. See the image below.

Excel, MIN for overnight times

My current data is like so:
I use the MIN formula to get the minimum of these times. I am measuring a process time, so the time on T is the least, and T+1 is actually greater. How can I alter my MIN formula to account the 11:51 as the min time?
I can use MAX for above problem, but then when times are 3, 4 , 5 AM, it will give me 5 AM when I want MIN throughout.
One way around this is to add the date to the time. You do not need to display it, but you do need the date as part of the time. JNevill is all over this without coming right out and saying it. You can either do as Jnevil suggest and offsetting all your time by an equal amount so it is all in the same day or you have to add +1 to the time when it crosses the midnight threshold. Adding +1 to your time will tell excel that it is on the following day.
In Excel time is stored as a decimal and days are stored as integers. So any time with no date attached will go from 0.xxx to 1.xxx when +1 is added. The cell will still display xxx as time and the 1 does not enter in to the display. However the 1 will be very important in determining MIN or MAX because of that integer of 0 or 1 out front.
You will probably need to do this through a helper column. Without seeing a column of data it is hard to say if you only need to add 1 or if you will need to add 2 or more depending on how many days the data covers

Resources