Excel Slicer based on scrollbar - excel

I have a slicer containing values from 0.00-1.00, connected to a pivottable.
I would like to have a scrollbar to control these slicer values instead of having to select them individually.
I have looked into the timeline option, but that obviously only applies to dates, which I can't use.
The second option I have been trying is the ActiveX controll scrollbar. I thought I'd then use the scroll bar as a maxium value for the slicer, but I don't know if it's possible to connect the slicer to a cell?

I ended up adding the slicer content as an extra row in the Pivottable and then recording a macro where I filter the content to some arbitrary values.
I then adjusted the macro to reference the cell values linked to the scroll bar.

Related

How to select an item from slicer to show on the chart

I'd like to show in the chart below as title the selection from the slicer. I see two possbile options:
Select the unique row from the table below where the data is from. I've tried Unique function, but it gives me all the unique items from the table, rather than only the selected item
Possible vba code to save the value from the slicer and save in a speficic cell?

Would like to hide a filter button on a Pivot Chart

I have a pivot chart of a pivot table with two row fields and one column field. I would like to hide one of the row field buttons on the chart but leave the other visible to use as a filter. I see, when I right click on the button, the option to hide all axis buttons, but that removes both of them. Is there a way to only hide one? I am creating the table and chart in VBA, so if it can only be done with code that is fine.
So in my efforts with this, I have at least been able to disable the button using the following code: ActiveSheet.PivotTables(1).RowFields(2).EnableItemSelection = False. The button is still visible though. Currently I am hiding it by pasting a white shape over it, but I consider this a clunky option.

Control pivot chart filter by combobox control or cell value without using macro

I want to control the pivot chart filter by simply using combobox form control without using any type of macro.
Here is a screenshot :
In the above screenshot. I have a combobox containing Name later on I will populate this combobox with the distinct name. My concern is how I can control the pivot chart filter by changing the combobox selection.
FYI
datarange of pivot chart is full name and status column.
Report Filter is name column.
Axis Fields(Category) and Values are column Status
Note: I don't want to use macro for this.
Any help will be appreciable.

Dynamic Filters in Excel

I'm using Office 2013, and working on a worksheet in Excel.
My question is, is there a way to create a dynamic filter in Excel?
To explain in more detail, I have a dynamic worksheet, where upon opening the user will get a few drop-down options. After the user has selected one option from each of the drop-downs, the worksheet will display a table of data based on the user's inputs. The user can change their selections from the drop-downs after the table has been displayed, and can also clear their selections. If they clear their selection, the table will disappear.
Now, the first column in the result Table will contain Text values, but can also contain blanks. These values or blanks are all decided based on the user's selections in the previously mentioned drop-downs, which are displayed permanently to the left of the table. I want to add a filter to this first column of the result table (and to the rest of the table with it) such that only the non blank cells are displayed in the table every time the drop-downs are changed.
As I understand your need correct, I can give you this solution:
For getting a better result make your range to Table.
Select Power View from Insert items;
A sheet Power View 1 will added to your workbook;
From right pane select Table1 and its fields;
From Filter pane select as you want for filtering.

Excel: Charts for Filtered Ranges are Showing Up Blank

I have a document that I have built tables of data into that are formula driven. I created charts for these tables and for reporting purposes applied filters to these tables to make the charts more readable. The way this works is the user selects an option from an ActiveX combo box which triggers the filter on the table thus making the chart only display the filtered values. All of this works very well except when I add more data in the form of new row or columns to my table. The result is when you select an option from the combo box the chart just appears blank. This only happens sometimes and I have yet to figure out why. The attached picture is showing what the charts data looks like when I chose select data after this problem occurs. As you can see there is data that should be displayed in the dialogue box but it appears empty, likewise the chart is empty. If I copy and paste the chart the data then appears in the new chart, until I select a different option from the combo box, then it disappears again. Very confusing and frustrating. Any ideas as to why this is occurring?
I figured it out! I needed to recalculate the sheet.
Worksheets("Sheet1").Calculate
This seems to work fine.

Resources