Spotfire - Create a KPI based on a Calculated column condition - spotfire

I have a table like so:
Project Task Completion
P1 Scheduling 20/01/2021
P1 Filing 19/01/2021
P2 Admin
P2 Safety 19/01/2021
In this table Project P1 is complete, as both tasks have completion dates. P2 is not complete as only one task has a completion date. I want to create a KPI that shows the number of completed projects, which in this case would be 1. ie. Show the number of projects with 100% completion.
Any help would be greatly appreciated. Thanks in advance.

see my answer on TIBCO Community
https://community.tibco.com/questions/i-want-create-kpi-based-calculated-column-condition
Calculate column [Incomplete] as:
case when [Completion] is null then [Project] end
The value of KPI is:
UniqueCount([Project]) - UniqueCount([Incomplete])

Related

Excel: Automate formatting from generated table

I am trying to create a workflow to make the lives of my project managers easier.
I have financial profile of a client emailed to me automatically every month. The table lists the overall project information and then individual information for each phase of each project. the information is organized like below:
(Information starts at cell C7, headers are above that)
Snapshot of Table
I want to create an environment where project managers can guess the percent completion of each phase for upcoming months to build a financial outlook plan for the client. Then the totals for each phase is summed and shown on the line for the overall project.
I wanted to automate the formatting process for this file. I could use some guidance or direction?
I have created a general format but do not know the best way to automate this.
Desired Output
Edit:
I came up with some ugly work arounds. But am hoping to clean this up a bit. And I still need a solution for automating the process of bringing in data.
Working Solution V1
I've done the following:
Column K is used to calculate each rows % completion.
Total Contract $$$ / JTD Billed $$$ (columns I/G) =IF(G7>0,I7/G7,)
Columns L, M, N are inputs for the project manager to estimate the completion percentage of each phase by month.
Columns O, P, Q are the outputs calculating the projected billable by month.
(delta % Complete) * Total Contract $$$ (Columns delta(K-N) * G)
However, because I wanted to sum the total billable amounts for each project in the project line, I needed a way to separate the project lines and phase lines.
So, I created Column R with a Boleen value (true/false) to determine if a line was a project overview or a phase. It compares the project number (column C) to the row above it. =IF(C7=C6,TRUE)
Then I needed a way to know how many rows (phases) below a project line belong to the project. I used column S to calculate with =MATCH(1,--(R8:R100=FALSE),0)-1 which counts the number of columns to the next 'False' value.
I then used Columns T, U, V to sum the projected billable per phase per month for the project. =IF(NOT($R7),SUM(O8:INDEX(O8:O1000,$S7,1)),0)
I don't like this formula because its messy. I can't figure out how to write O8:O (like O:O).
And I showed the projected billables with this formula: =IF($R7,IF(AND((L7-K7)*$G7>0,(L7-K7)<1),(L7-K7)*$G7,0),T7). If column R identifies a project row, columns O, P, Q show the sums of the phases. If column R identifies a phase row, columns O, P, Q calculate the billable amount.
Additionally, I used conditional formation using column R to visually distinguish between projects and phases.

Excel: Completed tasks in Column B with date. Need percent of completed tasks, regardless of date

I have a list of 42 tasks. I represent that those tasks are complete with a date (date completed). I want to calculate the percentage of tasks completed in row 45, but the percetage of tasks complete keep getting mixed up witht he dates. The date is just when the task was completed, and I want to know the percent of the tasks completed.
I haven't actually been able to figure out the code because the date is read. The date is irrelevant to the percentage of tasks completed, but it is needed for me to know WHEN it was done for annual training.
you can use the function COUNTA() to count the number of cells with values : put COUNTA(B1:B43), if the task with not dates have an empty cell. then to get the % you can do COUNTA(...)/42. hope it helped
Yes, you can use COUNTA(task column)/COUNTA(dates column) and also change the formatting of this cell into a number. It should work.
Formula - =COUNTA(B2:B11)/COUNTA(A2:A11)
enter image description here

calculating absenteeism per interval

Dears,
i worked on a new task to calculate the scheduled & abs% per interval, so i make this sheet by query and I'm asking if there something easier than what i create or not
i need to see the same data in the highlighted columns with purple to be generated automatically in the pivot table as i did it by equations
i need the the pivot sum the scheduled agents per interval and minus the scheduled agents if we the time exceeded 9 hours
for more details please check the below hyperlink.
https://docs.google.com/spreadsheets/d/1ZyhXRLXKnXJsogcGp_Rc1iJswdCoE4Xk/edit?usp=sharing&ouid=114987741753402000397&rtpof=true&sd=true

How to create dependency in MS Excel 2010?

I'm new to Excel and need help in creating a Excel tracker. Here is the requirement:
I have 4 columns - Creation date, team name, Priority and SLA.
Each Team and priority pair has different SLAs. Depending on the team and priority value we select, SLA should be calculated automatically.
For example, If team-A and priority-1 has a SLA of 5 days, SLA should automatically get populated that is add 5 business days to creation date and give the date when the SLA ends.
Your help is very much appreciated.
Thanks,
Vijeth
you have to use "if function" and nest it with the AND function to achieve this, here is the syntax
IF(condition, [value_if_true], [value_if_false] )
for example:
IF(AND(Priority=1, team=A),SLA=date+5, IF(AND(Priority = 2, team=B)SLA=date+6, etc))
On this site are some more examples for understanding
http://www.techonthenet.com/excel/formulas/if.php

Calculate % Change in Cognos Report Studio

Is it possible to calculate a percentage change in a Cognos Report?
Currently, I have a crosstab that has years as the columns and widgets in the rows with a calculation of total revenue. I am looking to calculate the annual % increase. New to Cognos, but I could accomplish this using other tools.
Any help will be very much appreciated.
Sorry for the late answer to your question but perhaps it will help others who see it.
It's kind of annoying, but it can be done. If you have one Query which uses an input parameter to select the year, perhaps it is a filter that says [Year] = ?YearPrompt?, then you can make a second Query which uses the filter [Year] = ?YearPrompt? - 1. Then, you can join these two queries, and the third query (made by joining the first two) will have both this year's revenue, and last year's revenue, available to it for a calculation, such as what the percent change is.
You need to create a query calculation item as one of the columns and in it you take Year2 - Year1(You can choose the exact columns you already have in the report using the Data Items tab when you are making the query calc) Also make sure you make this query calc a % in its format.

Resources