locate values in report filter in excel 2007 connecting a SSAS 2005 database - excel-2007

I created a pivot table in excel 2007 from a SSAS (2005) database. I have a product dimension, which has too many items. When I put it in report filter, I can either select all or go through all the items in it until I find the one I want. Is there a better way to do it? E.g. I enter xxx, then find all the items begins with the xxx.

All right, I figure it out it can be done by not put the product in report filer, instead put it in rows (or columns). Then right click on it and choose filter - label filter, where I can enter the product name.

Related

SSRS Row Gropings Inverted (Export to Excel)

When i run my report my report in SSRS all groupings work correctly however when i export this report to excel the proper rows are grouped but the grouping is inverted (i.e. the last item in the grouping has the '+' sign instead of the parent, top row)
thanks for any help in this matter!
In SSRS, when exporting to Excel, if the report item that controls whether another item is toggled is not in the previous or next row or column of the item being toggled, the outline is disabled also. See:
https://msdn.microsoft.com/en-us/dd255234.aspx
This can happen if you have your total added after the group rather than before.
(right click on the group and click add total before)
However, we really need more details/screenshots to see what the cause might be.
The drilldown in SSRS has more features than the grouping in Excel can handle so sometimes it is not possible to get in excel what you have in your report..

Microsoft Access 2010 - Prevent selection of any combobox option more than once

I have a continuous form that has comboboxes down one of the columns. I would like to prevent the same item being selected more than once per order.
The database is basically a microsoft web database template that im trying to modify to suit our requirements (Desktop product inventory database).
My requirement is,if for example a user selects the 350CC shaver shown below, i want the shaver to disappear from the list of available options from then on.
The form is shown below, with the comboboxes down the product column:
The rowsource for the product column is as follows:
The record source for the form itself is as follows:
So, having a very basic knowledge of SQL, i would appreciate some help in crafting the sql statement required to achieve this.
cheers
EDIT - 9-Dec -14
Picture showing orderdetails cleared off the form and error message.
You need to create a unique index using the primary key of the order details table and the product ID foreign key
Then when a duplicate product is selected the system will not allow it to be saved into the table and will throw an error
However this is not available with Microsoft Access 2010 because the backend data is stored in a SharePoint list not directly into SQL Server table unlike Access 2013.
Instead as a workaround you can create a data macro that will essentially do the same thing.
Example of the data macro can be seen in the following screenshot indicated by the red arrow:
http://screencast.com/t/WjU5qws4Ug

Using VBA to create a dynamic query after importing a SQL database table in MS Excel

This is a problem that has stumped me for a couple of days, and one I've been trying to work on. Unfortunately I very new to working on this stuff, and don't have a lot of resources trying to solve this problem, so if I am unclear or you have a question please post a comment about it.
The problem I am trying to tackle is this:
After getting external data from a SQL Server and having a table in a spreadsheet, say the is called Products, and has columns for productid (column A), productname (column B), supplierid (column C), and categoryname (column D). Is there a way to define a cell, say E1 where you use can use VBA to create a dynamic query. In this dynamic query you would enter some value of categoryname where it would query the table, and give you the results?
It is possible to perform a dynamic query without using any VBA.
Base your table on "From Microsoft Query" (under the "Get External Data" group on the Data tab). Build your query using the Query Wizard, selecting the table columns of interest. On the "Query Wizard - Filter Data" tab, where you would normally say a particular column must have a specific value, instead of the specific value, use just a question mark (for any and all columns that need to be used to filter). When you return your data to Excel, you will be prompted to "Enter Parameter Value" for each ? you used. Just click OK at this stage.
When the Excel "Import Data" dialog appears, click "Properties...". On the Definition tab click the button labelled "Parameters...". For each parameter, choose to "Get the value from the following cell" and to "Refresh automatically when cell value changes". Click the red arrow button (to select a cell) and click in the cell where each parameter will get its value from.
It's a good idea to have a label alongside each cell, and maybe special formatting for the data entry cell. The results table can be on the same worksheet as the parameter entry cells, when you enter a value in the entry cell, a new query will be run and the result will be displayed.
Here is a link that might help.
It goes into using VBA to filter.
I found it a while ago when I looked for something similar, hope it helps.

Access 2007 - drop down box in a Report

I need to create a drop-down box so that an employee can select a pre-set reason in the "RE:" field of a Report. There are only two selections that need to be in the box: "personal events" and "lack of adequate notice".
The report itself is already made and there are a number of fields that link back to the database - name, address, specific dates, etc that are already in the report. I've figured out how to make the drop-down box using the combo box function in a form but is there any way I can merge the combo box into the report?
I'm a beginner, by the way so I'm still figuring things out.
Currently your report sits on a query (query get relevant data from the table)
Steps to follow:-
Change the table by adding a column with the two options you just
mentioned above
Add combobox to Form with items as the two options
Adjust your query to use these options as a criteria to change
results returned by the query
Show the results in the report as you are showing right now.
If you have a code already, please post that snippet. So we can help you accordingly.
Some reference for you to get ideas
BUT I HAVE A DOUBT, ARE YOU TRYING TO SAY YOU WANT TO SWTICH BETWEEN TWO REPORTS BASED ON THE USER CHOICE SELECTED IN COMBOBOX?

SSRS Export to Excel does not do expand/collapse of groupings correctly

My report works and looks perfectly in the web viewer and looks great in PDF export as well. But when I export to Excel the exported file does not do the groupings correctly. The intent is to have a list of all employees and have their list of accounts underneath that is collapsible. However in Excel the entire report is grouped under one header and it collapses the entire report instead of allowing each header to collapse.
This is the proper way / web viewer:
But excel is collapsing the entire report not just each header:
I found the answer in this comment left here where the author mentions the way to do groupings.
http://connect.microsoft.com/SQLServer/feedback/details/508823/reporting-services-2008-group-by-export-to-excel-duplicate-rows-csv-ok-pdf-ok
The easiest way I've found to "fix" this is to re-create your hierarchical groupings (and the rows contained). Starting from the detail row (assuming you still have one) select the row header, right click for the menu, add new parent group using the next hierarchical level up. This creates a fun column that is to the left of your previous content separated by the dashed line. Select the column, right click for menu and choose delete. In the following dialog just remove the row, not the group you just made. This leaves the grouping containing only the details row/group. Select the existing details row header again, right click again, and choose to insert row > Outside Above (or below as your need might be). This adds the row to the next outer grouping from the selected detail row, similar as how 2005 allowed us groupings.
If I remember correctly SSRS 2008 can't deal with 2 level of grouping on the excel export (that was a confirmed bug), but i thought that was fixed either with SSRS 2008 R2 or a CU later on. Are you on the latest available version of SSRS ?