Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all 11829 articles
Browse latest View live

Synchronizing two Slicers that are connected to two different pivot tables connected to two different OLAP cubes

$
0
0

I have done quite a bit of searching for a solution to synchronizing two slicers linked to two different OLAP sources, but I've only found solutions to syncing one OLAP slicer to one non-OLAP slicer.

One solution to synchronize an OLAP based slicer and a non-OLAP based slicer was posted on the Experts-Exchange website, Titled - "Help-me-Sync-2-Slicers-with-Different-Data-Source"

The code from the above site is below:

Private Sub Worksheet_PivotTableUpdate(ByVal Target As PivotTable)

Dim scOLAP As SlicerCache

Dim scList As SlicerCache

Dim sO As Slicer

Dim sL As Slicer

Dim si As SlicerItem

Dim i As Integer

Dim svalue As String

Dim ar() As String

Set scOLAP = ActiveWorkbook.SlicerCaches("Slicer_RegionCode")

Set scList = ActiveWorkbook.SlicerCaches("Slicer_RegionCode1")

scList.ClearManualFilter

Set sO = scOLAP.Slicers(1)

Set sL = scList.Slicers(1)

ReDim ar(UBound(scOLAP.VisibleSlicerItemsList))

For i = 1 To UBound(scOLAP.VisibleSlicerItemsList)

svalue = Replace(Replace(scOLAP.VisibleSlicerItemsList(i), "[CleanedData].[RegionCode].&[", ""),"]", "")

ar(i) = svalue

Next

For Each si In scList.SlicerItems

 If UBound(Filter(ar, si.SourceName)) < 0 Then

 si.Selected = False

 End If

Next

End Sub

My specific question is, if the variable "scList" were connected to an OLAP Slicer Cache instead of a non-Olap slicer cache, what modification would be needed to the code above?  I know that the property "SlicerItems" returns an error for Olap slicers, so this code will error out at:

For Each si In scList.SlicerItems

Thank you in advance for your help.


XLS file will not open in Excel 2016, only gray view

$
0
0
Hi, I downloaded a XLS (not XLSX) file from an internet application.  I have Excel 2016 and am on Windows 7.  If I open the file in notepad, I see that it has HTML tags/content.  however, when I double click on the file, it opens up the Excel app but there is no worksheet...just a gray background, no visual error.

I've looked online and i've exhausted most of the known options, short of reinstalling Excel or manually changing the registry settings.

I've done the following already:
- Unchecked "Ignore other applications that use Dynamic Data Exchange (DDE) check box"
- I've associated all files types to Excel in Control Panel
- I've run the repair (both quick and online) function in Control Panel
- I can't disable the following option because of security concerns: Excel > File > Options > Trust Center > Trust Center Settings > Protected View > “Enable Protected View for files originating from the Internet”.  If I did disable this, the file will open after I okay the warning message.
- Checked "Disable hardware graphics acceleration" in Excel > Advanced
- Opened the file from within Excel but same blank result.

I have some colleagues who are on Excel 2013 that are able to open the file without issue, but some others could not either.

Any ideas of where else to look?

thanks,
mike







Sharepoint value passed to Excel Pivot Table filter

$
0
0

Excel 2013

SharePoint 2013

Pivot table in excel connected to Tabular Cube

Would like SharePoint to pass the User ID into a filter on the Pivot table (defaulted to All right now).

Created 2 sharepoint filters, 1 text and the other Current User).

Excel pivot table saved to SharePoint with Excel parameters identified, one on the Filter Value Cell, and one on an empty cell outside of the pivot table.

Using SharePoint 2013 EWA web part to show the excel document, connected the SharePoint UserID filter to the empty named cell and the current user id IS displayed.

Attached the sharepoint filter to the Pivot Table filter Cell and nothing happens, it remains as defaulted "ALL".

Tried the same test to a pivot table against mocked up data, and was successful in filtering.

Having the filter go against a Tabular cube, what am I missing?  Is it the format of the filter value in that it needs to be bracketed ?  If that's the case what would be the exact format for the value?

Pivot Table after filtering is changing excel sheet background

$
0
0

Hi,

I am facing a problem with sheet background (now it is black).

When I am using slicer and pivot table, after choosing on a slicer different category, the pivot table is displaying data from this category, but unfortunately the background of sheet (not background of pivot table) is also changing (from black to white). The pivot table is expanding/shrinking while in each category I have different number of rows.

IMPORTANT! The macros are disable on all workstations, so I can't use them.


Excel 2010 Chart autofit option greyed out.

$
0
0

Hi

We have just recently rolled out office 2010 to all our office computers. when creating graphs now the title and data lables can not be resized. Whe you go to the "format Data Lables" and then click on alignment the Autofit and Internal Margin option is grayed out.

Does anyone know how to fix this?

Regards

Barry

Powerview dose not show up in ribbon even though checked in add-ins

$
0
0

I have Microsoft Office Professional Plus 2013 as required.

Already checked off in COM Addins and should be visible (PowerPivot is but not Powerview even though both are checked).

I already went into ADD REMOVE programs in Control panel and clicked on Repair Microsoft Office Professional Plus 2013 and after doing so rebooted and still nothing.

I tried to uncheck the add ins and then check them again and then exit excel and go back in and check boxes again and still nothing showing up in EXCEL Ribbon for Power View but again Power Pivot does show up.


Varying list of input variables and cell references in Solver

$
0
0

I'm trying to Solver in Excel.  But I have a list of input variables in which the number of cells is dependent on the number in another cell.

For example, if cell A1 is 4, then the number of input variables will be 4, which could from A2:D2.  This applies to the constraints, which for example I want A2:D2 < 20.

I have tried using named reference, but once I enter the reference, it shows the absolute cell reference (eg. A2:D2) rather than the name.

As a result, whenever I want to run, I need to refresh the input variable and the constraints, which is quite troublesome.

Is it possible to overcome this, without resorting to programming macros?

Thanks.

Calculated item in Pivot table error when field is grouped

$
0
0

Hello everyone,

I have a problem about calculated item in pivot table. When I insert the calculated item and try to grouped the field, my workbook was error.

It mention that:

"This PivotTable report field is grouped. You cannot add a calculated item to a grouped field.

After ungroup and then insert the calculated item. After inserted, you can group the items of the field again."

From this statement my assumption is I cannot make a calculated item when there is a grouped field, but I can solve with ungroup --> insert calculated item --> regroup.

But when I tried that step it didn't work. The dialog box with the same statement show up again.

Thx for your help.

Regards,


New installed system failed to open Excel 2010 and weird program got installed

$
0
0

Dear all,

Recently I experienced a weird Microsoft 2010 issue, we use GoldDisk to deploy system image (Win 7 x64bit ) to install the OS and some applications such as office 2010 for the new PCs. After the new system installed, some PC's failed to start the Office 2010 it always stuck on the "program is preparing some necessary files".

We compared these computers with other normal computers, it turns out that all the problematical pc got "Microsoft Access database Engine 2010(English)" this program installed. After we remove this program and do a Office 2010 repair, we can open the excel 2010 without issue.

Does anyone here experined this issue before, and I wonder where does this "Microsoft Access Database Engine 2010(English)" come from?

Thanks in advance!

Best Regards,

Elaine


Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

Excel through network location

$
0
0

Hi all,

I have a problem on a 2012 r2 terminal server with Excel 2013.

Situation:

Server1 (data files)

Server2 (terminal server)

On server2 there is a certain program from which I can export Excel sheets from certain data. This works.

On server1 there is a certain program from which I can export Excel sheets, but the program calls the files over the network (\\server1\file1.xlsx). It doesn't work. Excel does not pop up but I do see the background application running.

I have disabled all the (as far as I know) relevant security options inside the Trust center, without effect. I am running everything as a full local admin.

Any help would be highly appreciated, I am completely stuck here.

Excel 2010 - Workbook saved on Shared Network Drive print properties default to different user

$
0
0

Hello,

I am currently experiencing an issue whereby printing an Excel 2010 workbook stored in a shared network drive to an MFD using private print continuously defaults the printing preferences to the last person who saved the document, rather than my own local default printer settings. Through accessing printer properties this can be amended but it is causing significant delays when required to do this for every workbook.

This is an issue that is occurring for all staff on site (and has been for some time). All machines are running Windows 7.  

I noticed a similar issue on the thread linked below but there does not seem to have been a resolution posted and the thread is dated 2014. 

https://social.technet.microsoft.com/Forums/office/en-US/17d05700-9e4c-4d9b-8e41-f16b67717f47/excel-2010-issues-with-locked-printing?forum=excel

Does anyone have any ideas as to what may be causing this issue? There is no issue when printing locally. 

Thank you in advance. 

Joe

Distorted cell display in Excel 2010 – scroll away & back fixes it?

$
0
0

I have seen this problem on more than one of my clients computers. The problem is the display of an Excel cell is wrong/distorted. Scrolling so that cell is off-screen (out of site) and scrolling back to it fixes it.

 

I’ve seen this in two situations: when a user performs a paste operation, cells (or even whole rows) appear distorted with the formatting totally off (for example, it adds a bunch of extra space under the row or something). I know the user was using the right Paste option, and scrolling away from the row/cell and scrolling back to it fixes it.

 

The second situation I’ve seen this is when a user enters information into Excel cells and the text wraps around in a cell. The rows below where the user is entering information distorts visually. Again, scrolling away from the row/cell and scrolling back to it fixes it.

 

Any idea what is causing this, and if there is any way to fix it? Again, functionality remains, just visually cells and/or rows get distorted & one fix for it is to take that cell/row out of site by scrolling away from it and scrolling back.

 

Thanks,

Elizabeth

Bug with ErrorBars

$
0
0

The following steps cause "We found a problem with one or more formula referencesin this worksheet." error. This was tested in Excel 2013, 64 bit.

  1. Insert an Excel line chart.
  2. Add ErrorBars to one of the series.
  3. Add an Excel name to the Worksheet that references some cells on the worksheet.
  4. Format the ErrorBars and set their value to Custom and use the previously defined name.
  5. Delete the ErrorBars.
  6. Delete the name.

This happens also if you set the ErrorBar values to fixed in step 5 instead of deleting them. Also if you first set the value to fixed, then deleting them. When you delete the name you will still get an error.

It seems like the defined name somehow stays linked with the ErrorBars. If you save the file and reopen it this goes away.  Also after doing this, adding a name with the same name again can cause Excel to crash.

Here is a gif that shows the steps:

Gif



Error Upgrading Power Pivot Data Model to Excel 2016

$
0
0

I am using Excel 2016 and I opened the file named "Contoso Sample DAX Formulas.xlsx" from the Microsoft article titled "QuickStart: Learn DAX Basics in 30 Minutes" and when I selected Manage Data Model I received the first message below followed by the second and then finally the error message below that. Any thoughts on how to fix this situation?



============================

Error Message:
============================

Object reference not set to an instance of an object.

============================
Call Stack:
============================

   at Microsoft.AnalysisServices.BackEnd.DataModelingSandbox.CreateTelemetryScope(String scopeName)
   at Microsoft.AnalysisServices.BackEnd.DataModelingSandbox.CreateTelemetryLog(String message)
   at Microsoft.AnalysisServices.BackEnd.DataModelingSandbox.CreateSandboxImpl()
   at Microsoft.AnalysisServices.BackEnd.DataModelingSandbox.Open(String precachedErrors, Boolean lightweight)
   at Microsoft.Office.PowerPivot.ExcelAddIn.InProcServer.LoadSandboxAfterConnection(String errorCache)
   at Microsoft.Office.PowerPivot.ExcelAddIn.InProcServer.LoadSafeSandboxAfterConnection(String errorCache)
   at Microsoft.Office.PowerPivot.ExcelAddIn.InProcServer.LoadOLEDBConnection(Boolean raiseCompleteEvent, String errorCache)

============================


Receiving Excel cannot paste the data error message...

$
0
0
I am using Windows 10 and Microsoft Office 2010. I have a large spreadsheet open that I need to copy (with the formatting) a few rows from and paste into a new workbook. When I use the desktop shortcut to open another worksheet in Excel, I receive an error message reading "Microsoft Excel cannot paste the data". However, it seems that when I open a new worksheet by selecting File > New within the large spreadsheet, I can paste the rows from there (until I print or save and try again). Why is this message occasionally prohibiting me from pasting? This is causing major work delays. I have tried to run XLStyles app to fix it, but I can't seem to get it to go away. Anybody have any ideas? 

If False do nothing

$
0
0
Is there any way to "do nothing" if an IF function is False, i.e., leave the prior value in the cell (without a circular reference error)??

Simple question. In need to help, FAST!

$
0
0

I am working on an access database and would like to add a print feature. I want the print feature to be able to print all of my pertinent columns from a completed table on one page. Currently, I am able to print out some information, but not all and I have pages without any information on it i.e. the first page will contain about 17 columns and the second page (really continues the first) is blank. The third page contains information and so forth. Essentially, the data is on only odd numbered pages. Question: How do I specify what columns I want to have printed and How do I get information on all pages not just odd numbered ones?

Unique Value list

$
0
0

I am trying to find the best way to do this, hopefully someone on here can help me.

What I have, is a workbook that lists the software on computer 1 on the "Old" sheet, and lists the software on computer 2 on the "New" sheet. What I want is, on the "needed" sheet, to list all the software that is listed on the "Old" sheet, but not the "New" sheet. Is there any way to do this?

count occurrences on related table (Countif) in Powerpivot

$
0
0

I have 2 tables (Groups & Accounts) in PowerPivot that are related by Group Name.  I need to find out how many times each group name occurs in the Accounts table

TableName:Groups

Column1:Group Name

Group A

Group B

Group C

TableName:Accounts

Column1: Account Name, Column2: Group Name

Mike, Group A

John, Group C

Jane, Group A

Emily, Group C

Adam, Group B

Ivan, Group A

I'd like the results to be in the Groups table and look like this:

Column1: Group Name, Column2: # of members

Group A, 3

Group B, 1

Group C, 2

I can get the calculation to work on the Accounts table, but not on the Groups table (where it should be) using this:

=CALCULATE(COUNTROWS('Accounts'), ALLEXCEPT('Accounts', 'Accounts'[Group]))

which i got from this article: http://social.msdn.microsoft.com/Forums/sqlserver/en-US/725597f2-aa4c-4154-ad26-b24319d2758f/dax-expression-to-count-values-within-a-table?forum=sqlkjpowerpivotforexcel

But I can't seem to get it work on the Groups Table using the related data.  

All help is greatly appreciated.  It seems so simple yet I'm struggling!


Local pinned files do not persist in open dialog box

$
0
0

I am able to pin both local and cloud (one drive) files within the file open dialog box. However when I close the dialog box and re-open it the local files that were previously pinned are gone. Only the cloud based pinned files are still there.

Running Excel 2016 (version 15.24) for Mac (OS version 10.11.5)

 

Viewing all 11829 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>