I'm trying to add lines to a graph based on another (variable) table.
The graph is of user activity by date and the (separate) table is just a list of important dates. Ideally I'd like a vertical line at each important date and have the graph update itself as time goes on. I'm not sure, however, how (or if) I could do this.
Related
I am using a dataset that has daily data joined with another data set (well tests) that has 1-3 entries a month per location. I want to calculate a ratio of the daily data to the well tests but then use that ratio until a new test is recorded and replace that ratio.
I've tried several different combinations of functions using Last() with over and intersects but am unsuccessful. The only way I have been able to get it to work is using LastValidBefore() and FirstValidAfter() but only when there is a single well in the dataset.
Couldn't figure out how to post the table but I put them in the following google sheet... Sample data set
Try
={"Oil Ratio";arrayformula(if(D2:D="",,D2:D/C2:C))}
in F1 in your spreadsheet
I have some example data like this table:
where the left table is currently the data I have and I want to order by year, company, and product (based on total cost). Currently, the user chooses the year and company on the prompt screen and I am trying to obtain something like a top ten list per year per company based on the total cost per product. I would like my data to sort to the table on the right with keeping track of the billing code area, but not sorting by it. I have been able to write a SQL code that will sort it using a group by, but I cannot add the billing code area. I need the billing code area to display the information in a bar chart.
I have tried using the rank function in Cognos, but I can only do it for one column. I have also tried concatenating the 3 columns together, but no luck with that either. Is there any way to use rank() for 3 columns?
Looks like you have two different tasks:
Calculate top 5
AFAIR you can use rank() like this:
rank([total_cost] for [Country],[Year],[Product])
List all billing area codes. It's not so simple. There is no special function for it (shame on them). So you can write custom query for it using features of you DB or, better, fake concatenation with repeater object or crosstab with master-detail relationship inserted in Billing Area Code field.
I've created a custom screen which formats grid fields based on setup data in another table. One thing I'm trying to do is find out if there is a way to order the field columns in a grid in code, i.e., order the columns based on a column order information I obtain from that setup table.
Is this possible?
I have a simple SSRS report which has one group and details. The grouping is by employee and the details are performance data on each. After tedious calculation, it just comes down to
select * from table
and I have SSRS do the grouping on the employee column. There are several tasks for each employee, so that is why the grouping in the first place.
My problem is, the user would like to be able to distribute these stats to the employees, and it would be easier if there were some white space between these groups (between each employee).
I've tried adding a blank row inside or outside the group, but I can't find a way to do that so it won't put a row between each task. I tried using a list, but in the end, got the same problem--the group still forced it to behave that way.
I know I can insert a page break between groups, but that would be a huge waste of paper, having each employee on a separate sheet.
Is there a way to essentially have each employee (group), be in a separate "table"--such that I would have maybe a half dozen on a sheet that could easily be guillotined?
EDIT: Here's a screenshot of it as it is now:
Table
I don't know how I could use a rectangle because the results (groups) are all in the same table. The idea would be to insert a space between each group (person).
I am trying to do some analysis with MS Excel PowerPivot. I have a table, let's call it tb_policies. This table has the columns start_date and end_date and
I need a single chart that shows the count of started AND ended policies for a period of time.
One chart for the count of started and one for the ended policies (maybe grouped by month) is no problem. But how can I bring then together in one without losing the pivot-opportunities (like dynamic filtering etc)?
#Soulus101 The dates are only in tb_policies. It looks like this:
Image_tb_policies
The grath I want to create is "count of started policies" vs. "count of ended policies"
Like this:
Image_chart
(Sorry, its not allowed to me to post inline images)