Data in Rows Instead of Columns - cognos

The default List layout uses column headers with columns of data beneath them. This will not work for my report. I need to create an employee profile report that will return about 75 fields (job title, location, tax status, payroll deductions, etc.). This is a report that I want to be able to print on a single page for each employee. Using the The default List layout extends the data out in columns beyond the limits of a printed page, even in landscape.
How can I get my report to display in rows instead of columns, so that the field headers go from the top of the page to the bottom, with the data to the right of the headers. Even this will not be long enough to fit on a single page (that is easily readable), so I will need a second list to the right of the first. Like this:
Name: data Company: data
Location: data Employee Number: data
Job Title: data Date Hired: data
Thanks!

You can use a Repeater Table object to do what you want. This should be available in your toolbox. You group on the value you want to repeat on, likely an employee identifier in your case, and section on that value. That will produce one table per unique identifier value. In the table itself you can configure the number of rows and columns to fit the layout you want to produce and you are free to drag and drop objects from the model or query into the cells as needed.

Related

Excel - Find all items that share a common cell value

I am wanting to search this list:
The goal is to determine what all is inside Basket 1, determine which item of those costs the most, and return the color of that specific item. My brain is having a hard time determining the right path for this.
With a Pivot Table, you can resume data based on basket # and then filter by most valuable item, and get the color.
The set up for this Pivot Table is all fields into Rows Section, except Amount that will go into values.
NOTE: Even if my Excel language is different than yours, options I'm using should be in the same position. But anyways, besides set up from the image above, you need to apply a value filter (not label filter!), to field ID and make sure choose option TOP 10 and set it to show just TOP 1
If you just want the most expensive item, ignoring Basket #, just remove field Basket from your Pivot Table, and it will work.
Actually you could have 2 Pivot Tables, each one set up in a different way (all baskets, or each basket).

Excluding a pivot filter item in Excel

I'm pulling my hair at this one. I have a Table with some categories of data ("Income", "Health", "Housing", "Education", "Others") with their respective subcategories. When I create a Pivot Table, we have this categories as filters. But I don't want a certain category, let's say "Income", to show up in the filters menu neither do I want it to show in the pivot table. Is there any way to do it?
Due to low rep, I need to answer in order to clarify your question. Do you mean that "Income", "Health", "Housing", "Education", etc. are all categories of one column? In this case, you cannot have this particular field hide the items in your filters. You can, however, add a field in your table that looks like this (assuming your category field is in column A): =IF(A2="Income","",A2). Lets say that field is in column Z. give that field a column header you wish people to see, select your data source for the pivot table to not include the first column (column A) but include column Z. The user will be able to see an option for blanks but not know what that choice represents.
As an aside, if this is a privacy issue and you are wanting to report data via a pivot table but hide certain information, you must NOT include the sensitive information in your data source AT ALL. any sophisticated Excel user can obtain that sensitive data with ease. You are better providing a data set for these users to run their reports off of, which do not contain any of the sensitive information at all.

Displaying multiple tables using a cells values as criteria

I will have Multiple Tabs, each tab will be called
Alpha, Beta, Gamma, Delta etc
Every tab will have contain multiple tables containing values, called...
{TABNAME}First, {TABNAME}Second, {TABNAME}Third, {TABNAME}Forth.
this will ultimately give me 4 tables for First called,
AlphaFirst, BetaFirst,GammaFirst, DeltaFirst.....
I was wondering if there is anyway i can pick/input a value in a cell, on a tab with none of these tables, for instance select 'Third'
And below this cell, or anywhere on this tab all version of 'third' will appear, so the tables for AlphaThird, BetaThird, GammaThird etc will appear, either seperatley, or the data merged into a single table.
if you need more information or examples, please let me know and i will update as best i can.
I guess to summarise, is it possible to call forward multiple tables using a cell as the criteria for which tables to call forward.
Further details - Edit
Every table will contain the same column headers and contain the same ranges of data within them. They will always have the same number of columns, However each table can contain any amount of rows.
The values in the tables are all manually typed or picked from a pickList, containing no Formula
To put this into a Scenario, there is 5 shops, a Tab for each, On each Tab is a Table for each Supplier we have, containing any Order information from that store for each supplier.
I wish to choose a supplier on a separate tab and have all orders with that supplier appear on the page for every store. the Store name does not need to be displayed, i just wish to know what is on order with that supplier.

Pivot tables without aggregation?

I have a list of items - each item has a title, plus a bunch of attributes, including a date.
If I drop the date into the row box of a pivot table, then group it, and drop the title below - so I have Years, Quarters, Created On, Title, I get a nice list of all the titles in my data, grouped by year, quarter and month.
But I want to also display all the other attributes next to the title of each one - all the associated data for each row. With the textural ones, I don't want to count them - I just want to list the entire data set, but grouped by date. If I add them to the other pivot table boxes it starts doing the usual counting...
It would be nice to have all the extra filtering power of pivot tables, but am I making this too hard?
Thanks for your help.
To display text data, you will need to use the data label feature.
Non pivotable text aggregation is easily accomplished in M code in power query One of my posts.

Can I create a COUNTIF calculated column in SharePoint?

Is there a way to create a SharePoint calculated column that returns a count of the number of entries in a list? So If I have 3 customers in my list with the company "Starbucks" I'd like the field to return "3"
(Edited some wording for clarity per suggestion from dariom).
You may be able to get what you want with another list using a not-so-well-known variation of a lookup column.
Let's say you have a list called Companies with values in the title column like "Starbucks", "Peets", etc. Now you also have the Customers list you refer to, but the "Company" column is a lookup column pointing to the title column in the Companies list.
You can add a count very similar to what you described to your Companies list. Go to your Companies list, add a column of type "Lookup" referring to the Customers list and you'll notice that in the drop-down area where you define the lookup if you point back to the Customers list, you'll have a new option called "Count Related". This is here automatically because it recognizes that the Customers list has a lookup pointing back to this one. Select that Count Related option and now your Companies list will have a column counting how many customers are associated with that company.
No coding, Javascript hacks, or anything. Just hidden SharePoint auto-magic.
No, I don't think there's a way to do this using the out-of-the-box calculated column.
Some other ways you could accomplish this are:
Create a view for your list that with a group by on the company field and include the total count. This is easiest, but might not be exactly what you're looking for.
Create a custom column type that executes a CAML query to find items that you're interested in. There is a learning curve if you've not done it before and if the list that you're adding this custom column to has lots of rows, you'll be executing a query for each row which is inefficient - it'll be OK for a small number of rows.
Use an event handler on the list that updates a column value each time a new item is added or removed from a list. This is easier, but can also be inefficient if you have a large number of items in your list.
As dariom said (damn my slow typing skills, +1!), only the current row can be operated on with calculated columns by default in SharePoint. There are a couple of documented workarounds involving SharePoint Designer or jQuery, though.
You can get a Count of specific list items in an XSLT Data View
To do this you will need SharePoint Designer.
Right click on your SharePoint List view (ensure the list view contains the field you want to filter by) select convert to XSLT Data View. Then in the Data Source Windows select Data Source Tab and drag and drop the field you want to get a total on for the specific items into where you want it displayed in your XSLT Data View. Click on the numerical value that is showing you should get a lightening bolt icon, select the drop down and choose Count, then select again and choose Filter. Select "Click here to add a new clause" then choose your field name again and enter your unique value as Starbucks and click OK, you can repeat this process for other fields you want the totals on. You will now see the total number of Starbucks items in the list.
I got something similar to work in a way similar to Niall. Basically, I:
Based on the source list, created a Data View Web Part (DVWP) on a "test" web
part page.
Added the footer column, which gives a count.
Set the filter for my conditions (i.e., the items I want to count).
In the code, deleted the recurring items row.
I was left with just the footer, which displayed a filtered count for all the list items. I further customized the footer by taking out the shaded background. Finally, I exported this web part and imported it onto the page where I wanted users to see a total of items in the list (which met the criteria).

Resources