POWER PIVOT : VBA SCRIPT ON SLICER TO HIDE VALUES

Hi,
Can someone help in vba coding to assign to slicer in power pivot report.I have a slicer with blank values coming. i have to hide those blank values.  My Model is SSAS tabular model . Since the tabular model wont support outer join these blank
values are coming in the slicer.
ie, i have a column called "fact.measures " in fact table and have   two dimension tables  called dim.measures1 and dim.measures2( measures2 is a subset  of measures1) . The measures2.measures column have
only 4 members  : budget,cost, revenue, margin where as measures1.measures have more values in addition to above 4 members.
Iam joining two dimensions to the fact table. Since measures2.measures  have only 4 members in the column and fact have more members iam getting blank values in the measures2.measures  . Since i cannot have any other logic in the model only option
is to hide those blank values in the slicer created on the measures2.measures.
can someone help me with a vba code to hide this blank value. "Hide items with no values " in the slicer property will not work since these blank sell have values in the fact table.
IAM USING 2013 EXCEL
Hope you got an idea of the issue
looking forward for suggestions and tips
thank you

Thank you for trying but it's not what I am after.  I understand how to use Slicers with pivot tables.   My question relates to Pivot Tables created using PowerPivot.   Directly under the Pivot Fields list on the right is a section where
you choose what you want to pivot  i.e  Filters, Values, Rows, Columns.   These are standard with any pivot table.  When I watch videos on PowerPivot there are 2 additional options in the section.  Slicer Vertical, Slicers Horizontal.
 The video comments  they only show in when creating a pivot table using PowerPivot.  These 2 options are not there for me.  I don't know why. It maybe the version of office I am using which is Microsoft Office Plus 2013. I'd like them
included.  Appreciate you taking the time to help.  

Similar Messages

  • Hiding Slicer Options in Power Pivot

    Hi,
    I have a slicer on Pivot Table / Power View and I need to hide some of the options from the slicer.
    From my understanding, the options displayed under a slicer are based on the data on Power Pivot.
    I was wondering if it is possible to hide/remove some of the options from the slicer without filtering out data from Power Pivot?
    Thanks and Regards,
    Justin

    I am afraid you cant do that
    filtering out values from slicers would also affect the data itself - directly or indirectly via the slicer
    Gerhard Brueckl
    blogging @ http://blog.gbrueckl.at
    working @ http://www.pmOne.com

  • Power Pivot Slicer options not showing in the Pivot Table Field list

    Excel 2013. In all the tutorials I watch when you create a Pivot Table using Power Pivot there are Slicer options in the
    Pivot Table Fields list.  Slicer Horizontal, Slicer Vertical These do not show for me.   I see Filters, Value, Row, Column only.   Is there a setting I need to turn on?   When I click on PowerPivot
    at the top, the first icon on the bar is Manage Data model, not Powerpivot as I have seen on some of the youtube tutorials.   Thank you in advance.

    Thank you for trying but it's not what I am after.  I understand how to use Slicers with pivot tables.   My question relates to Pivot Tables created using PowerPivot.   Directly under the Pivot Fields list on the right is a section where
    you choose what you want to pivot  i.e  Filters, Values, Rows, Columns.   These are standard with any pivot table.  When I watch videos on PowerPivot there are 2 additional options in the section.  Slicer Vertical, Slicers Horizontal.
     The video comments  they only show in when creating a pivot table using PowerPivot.  These 2 options are not there for me.  I don't know why. It maybe the version of office I am using which is Microsoft Office Plus 2013. I'd like them
    included.  Appreciate you taking the time to help.  

  • Blank Record Appearing in Power Pivot, How do I ensure that my Power Query script is filtering out all the Blank Records

    Hi,
    I noticed once of my Fact tables in my Power Pivot model contains a blank record. I can't understand why.
    So I added a Filter expression to the underlying Power Query query, something like; -
    Text.Length("MyField") > 0
    However after refreshing the Power Query query which contains the above expression the blank record still appears within my Power Pivot table.
    Kind Regards,
    Kieran.
    Kieran Patrick Wood http://www.innovativebusinessintelligence.com http://uk.linkedin.com/in/kieranpatrickwood http://kieranwood.wordpress.com/

    hi..
    As my understand, the blank record in Power Query will be return null value . So that, You try to use Text.Length("MyField" ) <> null.
    Regards,

  • March's TechNet Wiki Power Pivot Guru Winners announced!!

    The results for March'sTechNet
    Guru competition have been posted!
    http://blogs.technet.com/b/wikininjas/archive/2014/04/17/the-microsoft-technet-guru-awards-march-2014.aspx <- results page!
    Congratulations to all our new Gurus for March!
    We will be interviewing some of the winners and highlighting their achievements, as the month unfolds.
    Below is a summary of the medal winners, the last column being a few of the comments from the judges.
    Unfortunately, runners up and their judge feedback comments had to be trimmed from THIS post, to fit into the forum's 60,000 character limit, however the full version is shown in the link above.
    Some articles only just missed out, so we may be returning to discuss those too, in future blogs.
     BizTalk Technical Guru - March 2014  
    Tomasso Groenendijk
    Using BAM in the ESB Toolkit
    Ed Price: "Incredibly valuable and very well written! Great article!"
    Mandi Ohlinger: "A custom BAM dashboard - LOVE it! Another great ESB addition to the Wiki."
    TGN: "Nice one, I really liked this one, explains how to use the ESB together with BAM, great work and well explained!"
    Steef-Jan Wiggers
    Windows Azure BizTalk Services: Pulling Messages from a Service Bus Queue
    Ed Price: "This is amazingly well written with beautiful images and formatting. Great job!"
    TGN: "Azure, Azure, Azure! Nice one Steef-Jan, people are waiting on articles like this. Good job, and thanks for the contribution!"
    Mandi Ohlinger: "A very informative How To. Screen shots are very helpful."
    boatseller
    Detecting a Missing Message
    Mandi Ohlinger: "GREAT addition to the Wiki and to any user who suspects missing messages. The BizTalk support team can use this orchestration. "
    Ed Price: "I love the visuals on the orchestration implementation! Important topic!"
    TGN: "Nice article, great to see a solution to detect missing files."
     Forefront Identity Manager Technical Guru - March 2014  
    Eihab Isaac
    FIM 2010 R2 BHOLD: Non-BHOLD Approval Process
    Ed Price: "Very thorough explanations! Great formatting and colors on the tables and code snippets! And the images are also helpful!"
    PG: "Nice article, we need more of these."
    Micah Rowland
    FIM:How To Use PowerShell to View a Metaverse Object's Connector's Attribututes
    Side By Side
    PG: "Nice article, nice format. well written"
    Ed Price: "Good code snippet and use of code comments. Could use more explanations and maybe breaking the code into sections with more information about each section. Good job!"
    Giriraj Singh
    FIM:Delete Bulk Expected Rule Entries Using FIM OTB features
    Ed Price: "Good procedural steps! It could benefit from more explanations, a grammar pass, and some images. Good article!"
    PG: "Short but nice article."
     SharePoint 2010 / 2013 Technical Guru - March 2014  
    Matthew Yarlett
    SharePoint: Use PowerShell to find Fields using a Managed Metadata TermSet
    Jinchun Chen: "Good article."
    Ed Price: "Although this is Matt's shorter article this month, this is an incredibly important topic, and the code is perfect! As Dan says in the comments: "Matthew Yarlett has done it again!! IMHO when it comes to SharePoint powershell
    you are second to none." This is a great article!" 
    Rahul A Shinde
    SharePoint 2013: Deploy and apply theme to SharePoint sites with PowerShell
    Ed Price: "Fantastic explanations and use of images!" 
    Matthew Yarlett
    SharePoint: Testing Email Alerts in UAT and DEV Environments
    Jinchun Chen: "Nice! It can be used for troubleshooting SharePoint Incoming/Outgoing related issues too."
    Ed Price: "Wow! This article is astonishingly thorough!"
     Small Basic Technical Guru - March 2014  
    Nonki Takahashi
    Small Basic: Centering Text in Graphics Window
    RZ: "Clearly written explanation with nice graphics to go with it."
    Ed Price: "I love having the three options like this! And the images really bring it to life! The links to the shared programs (with their source code) really help if you want to dig deeper and learn more!"
    Nonki Takahashi
    Small Basic Known Issue: 23589
    - Controls.GetTextBoxText() Returns CR+LF as Newline from Multi-Line Text Box in Local but CR in Remote
    RZ: "Bugs are always hard to track down, especially the unknown unknowns :( Good job on hunting it down!"
    Ed Price: "This acts as a valuable KB article! Great addition to the troubleshooting library!"
    Nonki Takahashi
    Small Basic: Expression
    RZ: "Good introduction to expressions"
    Ed Price: "Short and sweet intro to Expressions. Thanks, Nonki!"
     SQL BI and Power BI Technical Guru - March 2014  
    Michael Amadi
    A Practical Example of How to Apply Power Query Data
    Transformations on Structured and Unstructured Datasets
    NN: "This is a terrific tutorial on Power Pivot with very helpful images. Great article"
    Ed Price: "This is a fantastic combination of Power Query and Power Pivot... a valuable contribution!"
     SQL Server General and Database Engine Technical Guru - March 2014  
    chandra sekhar pathivada
    managing database backups across all the instances without maintenance plan
    Samuel Lester: "Chandra, outstanding contribution and information! Your SSIS package handles many of the shortcomings of Maintenance Plans. MPs were originally created to assist DBAs with the more common administrative
    tasks, but as the scale continues to grow across enterprise environments, we're all forced to write our own enhanced versions such as this. Thanks for the addition and please do add to the Gallery if you haven't yet."
    Jinchun Chen: "Nice. It is suggested to add error outputs in the package to handler unexpected errors."
    NN: "Good article. The SSIS solution can use a bit more explanation. Also See Also section is missing"
    DRC: "This is good article, The only this which can be corrected is : ==> This can be achieved using “maintenance Cleanup Task • Maintenance Plan has a control flow item “maintenance Cleanup Task” to delete the old backup files based
    on age of the backup, but it creates the problem when it deletes the full database backups based on n no.of days leaving all the dependent intermediate differential and transaction logs which are useless. "
    Shanky
    Understanding Logging in Tempdb.Is Tempdb re-created or rebuilt after SQL
    Server restart
    NN: "Very good article with an interesting analysis"
    DRC: "This article is good and provides lots of detailed information along with sample query and screenshot. The screenshot of few need few more details (files of model are missing) This article can be broken down into 2 1) understanding
    tempdb recreation 2) Logging in Tempdb 1) understanding tempdb recreation:- This is not concluded properly. The article doesnt talk about the physical files which are recreated even if we delete the tempdb files "
    Samuel Lester: "Shanky, very nice article on the internals of TempDB! It was tough judging this month as both articles were very informative contributions!" 
     System Center Technical Guru - March 2014  
    Mr X
    How to manage VM pinning within a Hyper-V cluster by
    combining the use of System Center VMM and Orchestrator
    Ed Price: "Mr. X, this is another incredibly thorough article! Fantastic job!"
    Idan Vexler
    Create Custom XML For OSD In SCCM  
    Ed Price: "Love the list of requirements! Very thorough in dividing each step!"
    Omar Lopez (loplim)
    SCOM 2012 - Create Alert / Monitor Based on Windows event ( Administrator login
    alert )
    Ed Price: "Good use of images. Could use a TOC with sections and more descriptions. Good job!"
     Transact-SQL Technical Guru - March 2014  
    Jayakumaur (JK)
    Understanding IDENTITY in SQL Server
    Ed Price: "Wow, what a competitive month! This article is amazing, with thorough explanations in each section!"
    Richard Mueller: "A good tutorial on an important feature of T-SQL."
    Durval Ramos
    Paging a Query with SQL Server
    Ed Price: "Durval's article is fantastically thorough and easy to follow!"
    Richard Mueller: "Very useful concept when populating controls from a query, which should improve performance. I like the images. Well done."
    Naomi N
    T-SQL: Split String with a Twist
    Richard Mueller: "Very intersting problem with an original solution."
    Ed Price: "A very powerful and well-articulated solution from Naomi!"
     Visual Basic Technical Guru - March 2014  
    The Thinker 
    Exporting and Importing Wireless Settings Using Netsh in VB.NET
    SB: "Code could be formatted better, task is something I can see as potentially useful although I would prefer a bit more narrative description and comments in the code explaining why it was done a certain
    way, although the code is simple enough to work through." 
    MR: "Great tool code!" 
    Ed Price: "This is a good contribution! One way to improve an article like this is to explain the parts of the code more in depth, as a way to introduce each snippet (and maybe dividing a block up more). Then you could link to the Gallery
    iteam if the reader wants to access the entire snippet at once. The images are also very helpful! Great job!" 
    Richard Mueller: "Perhaps this code should be in the gallery. There should be more explanation in a Wiki."
     Visual C# Technical Guru - March 2014  
    João Sousa
    ASP.NET WebAPI 2 - Stream Windows Azure blobs
    NN: "Very nice tutorial and also can be downloaded from the Gallery"
    Ed Price: "I love to see this ASP.NET content! Each step is very clear! Great code formatting!"
    Raghunathan S
    C# Code Compilation at Runtime from C# Windows Forms Application
    Ed Price: "Good descriptions and code formatting. It could benefit from a TOC. Great article!"
    NN: "This looks like an interesting article, but too short and the code is hard to read in its present format"
    Raghunathan S
    Creating a Simple logging class with System.Diagnostics namespace in C#
    NN: "Good article, but too short"
    Ed Price: "This is a pretty good article. It could benefit from a TOC and more descriptions around what the code is doing and why. Good job!"
     Wiki and Portals Technical Guru - March 2014  
    Matthew Yarlett
    Wiki: Basic Image Formatting using Pixlr
    BL: "This deserves credit as much for the idea as for the actual article - many authors contribute from computers that may not have authoring tools installed and this simple online solution has the potential to iprove
    quality a lot."
    Richard Mueller: "Excellent explanation of a useful tool for Wiki authors. A "See Also" section would be useful."
    PG: "Nice artilce, well done, nice layout. Great!"
    NN: "Good article"
    Durval Ramos
    VBA & VBS Portal
    NN: "Very good new portal about VBA. Introduction may be improved a bit"
    Richard Mueller: "A great collection of Wiki articles. Excellent use of recommended features in a Wiki article."
    PG: "Nice article good start!"
    BL: "Another great initial compilation of relevant resources. Would be very interested in seeing how this develop over time."
    Mr X
    Wiki: System Center Orchestrator Portal
    NN: "Good new portal. Missing See Also section with links to other portals"
    Richard Mueller: "A good collection of articles. This Portal adds a lot to the TechNet Wiki."
    PG: "Nice and neat article? Suggestion to add more references to related articles and platforms on Wiki."
    BL: "great initial compilation of SC Orchestrator resources. Hoping this will grow over time as the product has a few other active Wiki contributors."
     Windows Phone and Windows Store Apps Technical Guru - March 2014  
    Isham Mohamed
    Pin Windows Phone 8 app to start screen on first launch.
    Peter Laker: "A very useful and informative article! Also, Nice use of fonts and images."
    Ed Price: "Good explanation, but it could benefit from a TOC and tweaked formatting. Good job!"
    Ibraheem Osama Mohamed
    Coming from an asp.net background, let’s build our first Windows Store Application
    Ed Price: "Great job on the formatting, explanations, and code snippets!"
    Peter Laker: "Excellent primer for those moving from asp.net and all beginners."
    mcosmin
    The Performance Analyzer Paradox
    Ed Price: "This is a good philosophical article, but it would be richer with examples and visuals. "
    Peter Laker: "Nice story, good reading, very worthy entry and gratefully received!"
     Windows Presentation Foundation (WPF) Technical Guru - March 2014  
    Magnus (MM8)
    WPF/MVVM: Handling Changes To Dependency Properties In The View
    Ed Price: "Nice, thorough topic with good explanations! Could benefit from code formatting. Great article!"
    Peter Laker: "A nice primer on a fundamental aspect of xaml. Great layout, images, descriptions, etc."
    dev hedgehog
    Trick To Use StaticResource With Path
    Peter Laker: "A very useful and commonly pondered subject. Thanks for a great contribution!"
    Ed Price: "This is a great solution with good code formatting and code comments!"
     Windows Server Technical Guru - March 2014  
    Mr X
    How to manage your DC/DNS servers with dynamic IPs in Windows Azure
    JM: "This is an excellent article, however you need to change all instances of the term "on-promise" to "on-premise.""
    JH: "really detailed, very complete with scripts added"
    Richard Mueller: "This might be the best article I have judged. Code formatting could be improved, but otherwise an outstanding contribution."
    Mr X
    How to assign a private Static IP to a Windows Azure VM
    JH: "excellent, concise, good topic"
    Richard Mueller: "Excellent documentation of the use of very new tools to manage IP addresses."
    JM: "Another excellent article, thanks much for your contributions!"
    Mahdi Tehrani
    Customize DST time zone configuration across the forest with GPO
    JM: "This is an excellent article, however you need to change all instances of the term "Daylight Time Saving" to "Daylight Savings Time.""
    JH: "good info, great illustrations and writing"
    Richard Mueller: "Original work for an tricky problem. I think the script should run as a Startup script instead of a Logon script on the clients. A "See Also" section and links would help."
    ----------------- 8< -------------------
    As mentioned above, runners up and their judge feedback were removed from this forum post, to fit into the forum's 60,000 character limit.
    A great big thank you to EVERYONE who contributed an article to last month's competition.
    Read all about THIS month's competition [usually in a stickied post] at the top of this forum, otherwise there is usually a list of forum links for this month's theme/announcement at the bottom of the submission page below:
    http://social.technet.microsoft.com/wiki/contents/articles/23837.technet-guru-contributions-for-april-2014.aspx
    Best regards,
    Pete Laker
    More about the TechNet Guru Awards:
    TechNet Guru Competitions
    #PEJL
    Got any nice code? If you invest time in coding an elegant, novel or impressive answer on MSDN forums, why not copy it over to the one and only
    TechNet Wiki, for future generations to benefit from! You'll never get archived again!
    If you are a member of any user groups, please make sure you list them in the
    Microsoft User Groups Portal. Microsoft are trying to help promote your groups, and collating them here is the first step.

    Congrats to Michael:
     SQL BI and Power BI Technical Guru - March 2014  
    Michael Amadi
    A Practical Example of How to Apply Power Query Data
    Transformations on Structured and Unstructured Datasets
    NN: "This is a terrific tutorial on Power Pivot with very helpful images. Great article"
    Ed Price: "This is a fantastic combination of Power Query and Power Pivot... a valuable contribution!"
    Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • How do I filter on multiple values / labels within a Pivot Table which points to a Power Pivot Model

    Hi,
    How do I filter on multiple values / labels within a large data set within a Pivot Table which points to a Power Pivot Model. I am current using Excel 2010 64 bit. I intend to empower users to achieve this by simply using the Excel user interface, not by
    using Excel formula or DAX. Please find the attached screen shot as a worked example, also in my real life example not all the values are available in the drop down. You can't use a slicer for the same reason as you can't use a drop down. I guess what I was
    hoping for is for the user to be able to enter AND or OR within the associated dialog box. Is there any way around this?
    Kind Regards,
    Kieran.
    Kieran Patrick Wood http://www.innovativebusinessintelligence.com http://uk.linkedin.com/in/kieranpatrickwood http://kieranwood.wordpress.com/

    Hi
    This is the forum to discuss questions about Microsoft Excel develop (VBA, Automation). For your question is more about pivot table features  for Excel, I will move
    this thread to the TechNet forum for Excel.
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share
    their knowledge or learn from your interaction with us.
    Thank you for your understanding.
    Best Regards
    Lan
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Is there any power pivot feature similar to" conditional block " property in cognos reports?

    I have a report with multiple power pivot charts. My requirement is to create a prompt which prompts the user with the list of charts and based on his selection , one of the charts will be displayed at a time. ie, user will have a choice for display
    of the chart. and these charts should have a common filter. I am using excel 2013 and SSAS tabular model.
    Could anyone please help me on this
    Thanks in advance

    Hi BLtechie, 
    If you are ok with using VBA (precluding the workbook from functioning correctly within SharePoint in an Excel Web Access web part) then you should be able to adapt the solution here: 
    http://www.mrexcel.com/forum/excel-questions/525495-conditionally-show-hide-charts.html
    Alternatively, if you have a tabular model and access to SharePoint 2013 with Reporting Services Integrated mode running SQL 2012 SP1 CU 4 or higher you could instead create a power view report that used the pinned filters property and simply presented
    each of the pivot charts on named sheets (forming your user's selection choice). 
    http://blogs.msdn.com/b/riccardomuti/archive/2013/05/24/pinning-filters-in-power-view.aspx
    Hope this helps, 
    Mike

  • Best practises for using Excel functions on Power Pivot Data

    Hi
    How do you suggest to perform calculations on cells in a power pivot table? Obviously the ideal approach is to use a DAX measure. But given that DAX doesn't have every function, is there a recommended way of eg adding an "extra"  ( ie just
    adjacent)  column to a pivot table. ( in particular I want to use beta.inv )  
    I could imagine one option of adding some VBA that would update the extra column as the pivot table itself refreshed ( and added more/less rows)
    thanks
    sean

    Hi Sean,
    I don't know what's your expected requirement regarding this issue, maybe you can share some sample data or scenario to us for further investigation. As we know, if we need to add extra column to PowerPivot data model, we can directly
    create a calcuated column:
    calculated columns:
    http://www.powerpivot-info.com/post/178-how-to-add-dax-calculations-to-the-powerpivot-workbooks
    There are some different between Excel and DAX functions, here are the list for your reference:
    Excel functions (by category):
    http://office.microsoft.com/en-us/excel-help/excel-functions-by-category-HA102752955.aspx
    DAX Function Reference:
    http://msdn.microsoft.com/en-us/library/ee634396.aspx
    Hope this helps.
    Regards, 
    Elvis Long
    TechNet Community Support

  • Saivng last run data in Power Pivot

    Hi All,
    I am using cube as a source for my power pivot reports.
    Suppose I create a report and I run it on a monthly basis using power pivot technology.
    My first run suppose is on 1<sup>st</sup> Jan 2014 and if I will run the report on 1<sup>st</sup> Feb 2014 again, it will overwrite the previous data which I got on 1<sup>st</sup> Jan 2014.
    Is there any option to “Do not refresh automatically” or save the previous state of data without overwriting it.
    Thanks
    Syed Faiz
    SFH

    Hi Syed,
    Generally, we focus on historical data BI analysis in most cases. If you want to review previous historical data in your report(such as PivotTable, Power View and so on), we should consider implementing Time Intelligence/Filter/Slicer for your scenario.
    Regards,
    Elvis Long
    TechNet Community Support

  • Power BI - Office 365 data storage for Excel (Power Pivot & Power Query) architecture

    Hi, I trying to find a comprehensive view of the Power BI architecture, specifically where the data for Power Pivot & Power Query files are held. I've seen reference to the Vertipaq Engine and the data being stored in the Excel File, however this is
    in reference to 2010.
    Other references I've seen (SharePoint on premise with Power Pivot) have shown me that the data held in the Excel files on the SharePoint sites are actually held in SQL Server instances.
    Could anyone provide clarity on the architecture for Power BI please...
    Tim
    Thank you for you time folks!

    Hi Tim,
    let my try to explain this:
    When you load data into Power Pivot it is actually loaded into Vertipaq (in-memory column-store) and it resides there until you close Excel. Technically speaking Power Pivot is a single-user SQL Server Analysis Services instance hosted within Excel. When you
    close Excel a backup of the Power Pivot "database" is created and stored within the resulting .xlsx-file .
    Any user that has access to the Excel file also has access to the Power Pivot model, so there is actually no security
    This is very similar to any other excel file
    Once the Excel is stored in SharePoint / SharePointOnline and is access the first time the backup that is stored within the Excel is restored into SQL Server Analysis Services instance running in SharePoint Integrate mode
    all connections to the Excel-File are redirected to that SSAS instance. After some time of inactivity the model is unloaded from that SSAS instance again to free up the memory
    the data itself so basically always resides inside Power Pivot or respectively the Excel file
    Power Query only stores the actual query (= M-script) but no data
    hth,
    gerhard
    Gerhard Brueckl
    blogging @ http://blog.gbrueckl.at
    working @ http://www.pmOne.com

  • Power Pivot SharePoint 2010 uninstallations left over entries in config DB .can we delete them? How to delete Power Pivot left over objects in DB?

    Name Status Version Properties
    MSOLAP$POWERPIVOT 0 0x000000000021CF50 <object type="Microsoft.AnalysisServices.SharePoint.Integration.EngineServiceProxy, Microsoft.AnalysisServices.SharePoint.Integration, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"><fld name="m_Versions" type="null" /><fld name="m_UpgradeContext" type="null" /><fld type="System.Collections.Hashtable, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="m_UpgradedPersistedFields" /><fld name="m_Properties" type="null" /><sFld type="String" name="m_LastUpdatedUser">Domain\USername</sFld><sFld type="String" name="m_LastUpdatedProcess">PSCONFIG (11884)</sFld><sFld type="String" name="m_LastUpdatedMachine">ServerName</sFld><sFld type="DateTime" name="m_LastUpdatedTime">2014-02-21T17:39:25</sFld></object>
    PowerPivotServiceApplication1_c17206969d204609ac63fe5fb1e84d77 0 0x000000000021D09B <object type="Microsoft.AnalysisServices.SharePoint.Integration.GeminiServiceDatabase, Microsoft.AnalysisServices.SharePoint.Integration, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"><fld name="m_Username" type="null" /><fld name="m_Password" type="null" /><fld name="m_FailoverServiceInstance" type="null" /><fld name="m_Snapshots" type="null" /><sFld type="Boolean" name="m_MultiSubnetFailover">False</sFld><fld name="m_Versions" type="null" /><fld name="m_UpgradeContext" type="null" /><fld type="System.Collections.Hashtable, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="m_UpgradedPersistedFields" /><fld name="m_Properties" type="null" /><sFld type="String" name="m_LastUpdatedUser">Domain\USername</sFld><sFld type="String" name="m_LastUpdatedProcess">w3wp (992)</sFld><sFld type="String" name="m_LastUpdatedMachine">ServerName</sFld><sFld type="DateTime" name="m_LastUpdatedTime">2014-02-21T17:58:21</sFld></object>
    I  am having issues with power pivot uninstallation.  These two objects are left over after uninstallation.
    How to deal with it?
    Is there any way to delete these entries  in the config DB?
    As i Know we  should not delete  anything manullay from config Database?
     Is there any powershell script  or stsdam comand to delete these entries from  the config database and  re install power pivot for sharePOoint 
    Ravi

    Hi Trevor,
    I have Reviewed uls logs.. It  shows follwoing messages.
    SPSecurityContext.WindowsIdentity: Could not retrieve a valid windows identity for NTName='Domain\USername',
    UPN='UserName@domain'. UPN is required when Kerberos constrained delegation is used. Exception: System.ServiceModel.Security.SecurityAccessDeniedException: Access is denied. Server stack trace:
    at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
    at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
    at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
    at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
    at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown
    at [0]:
    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    at Microsoft.IdentityModel.WindowsTokenService.S4UClient.IS4UService_dup.UpnLogon(String upn, Int32 pid)
    at Microsoft.IdentityModel.WindowsTokenService.S4UClient.<>c__DisplayClass1.<UpnLogon>b__0(IS4UService_dup channel)
    at Microsoft.IdentityModel.WindowsTokenService.S4UClient.CallService(Func`2 contractOperation)
    at Microsoft.SharePoint.SPSecurityContext.GetWindowsIdentity().
    Error 2:
    MossHost.TryGetWindowsIdentity: Failed to get WindowsIdentity from IClaimsIdentity. SPSecurityContext.GetWindowsIdentity() threw exception: System.InvalidOperationException: Could not retrieve a valid Windows identity. ---> System.ServiceModel.Security.SecurityAccessDeniedException:
    Access is denied. Server stack trace:
    at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
    at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
    at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
    at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
    at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown
    at [0]:
    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    at Microsoft.IdentityModel.WindowsTokenService.S4UClient.IS4UService_dup.UpnLogon(String upn, Int32 pid)
    at Microsoft.IdentityModel.WindowsTokenService.S4UClient.<>c__DisplayClass1.<UpnLogon>b__0(IS4UService_dup channel)
    at Microsoft.IdentityModel.WindowsTokenService.S4UClient.CallService(Func`2 contractOperation)
    at Microsoft.SharePoint.SPSecurityContext.GetWindowsIdentity() -
    -- End of inner exception stack trace ---
    at Microsoft.SharePoint.SPSecurityContext.GetWindowsIdentity()
    at Microsoft.Office.Excel.Server.MossHost.MossHost.<>c__DisplayClass8.<TryGetWindowsIdentity>b__6()
    Error 3:
    CredentialsProvider.GetCredentials: Failed to get WindowsIdentity.
    Credential delegation failed because Excel Services Application was unable to obtain a Windows Identity.
    COuld you please share some ideas for it.
    Thanks
    Ravi
    Ravi

  • Error while opening central admin link after power pivot uninstall sp 2010?

    Error while any link opened in the cental admin
    example:http://server:port/_admin/WebApplicationList.aspx
    Required permissions cannot be acquired.
    ULS log when Config wizard ran 
      An exception of type System.IO.FileNotFoundException was thrown.  Additional exception information: Could not load file or assembly 'Microsoft.AnalysisServices.SharePoint.Integration, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'
    or one of its dependencies. The system cannot find the file specified.
    System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.AnalysisServices.SharePoint.Integration, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.
    File name: 'Microsoft.AnalysisServices.SharePoint.Integration, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'
       at System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName)
       at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
       at System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
       at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
       at Microsoft.SharePoint.PostSetupConfiguration.ReflectionHelper.InvokeConstructor(String assemblyQualifiedName, Type[] constructorSignature, Object[] constructorParameters)
       at Microsoft.SharePoint.PostSetupConfiguration.TaskCommon.ReflectionHelperInvokeConstructor(String assemblyQualifiedName, Type[] constructorSignature, Object[] constructorParameters, TaskBase task)
    the error same as the below article:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/7a06ebc8-ad8f-4b76-bc44-a8171fde6816/absolutely-sick-of-powerpivot-the-product-stinks-failed-to-find-assembly?forum=sqlkjpowerpointforsharepoint
    but any of the sollution did not work.
    Thanks
    Ravi
    Ravi

    I have uninstalled power pivot now the central adminlinks are working.
    but when i run configuration wizard it pups with error:
    Could not load file or assembly 'Microsoft.AnalysisServices.SharePoint.Integration'
    Can i delete follwoing key in the registery?
    The follwoing article asked to remove the key:
    http://social.technet.microsoft.com/Forums/en-US/487f18d4-32cf-4056-a6de-433f69bb7470/configuration-wizard-failed-to-find-assembly
    my registry entry
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\ServiceProxies\Microsoft.AnalysisServices.Sharepoint.Integration.EngineServiceProxy]
    "AssemblyQualifiedName"="Microsoft.AnalysisServices.Sharepoint.Integration.EngineServiceProxy, Microsoft.AnalysisServices.SharePoint.Integration, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"
    "ServiceProxyName"="MSOLAP$POWERPIVOT"
    Ravi

  • HELP!! Using a vba script in Outlook to copy attachments to c:\temp folders automatically

    Hi
    I'm brand new to Visual Basic really - you will be able to tell that I am a complete beginner. I wouldn't be posting here but I had tried asking other Forums but have not got any responses.
    This is the problem:- I've found a basic VB script to copy attachments within Outlook 2000 Inbox to the c:temp folder when a new email arrives in. When I debug the script in Outlook > Tools > Macros , it just seems to loop round and round within the
    top function called Application_Startup () and never attempts the objInbox_ItemAdd() function which is the important part. Please can anyone say what is wrong.
    I'm putting all this code within Project1 > Microsoft Outlook Objects > This OutlookSession - I bet I'm putting all this code in the wrong place aren't I? Please help anyone.
    Dim WithEvents objInbox As Outlook.Items
    Private Sub Application_Startup()
    Set objInbox = Session.GetDefaultFolder(olFolderInbox).Items
    End Sub
    Private Sub objInbox_ItemAdd(ByVal Item As Object)
    If Item.Class = olMail Then
    If Item.Attachments.Count > 0 Then
    Dim objAttachments As Outlook.Attachments
    Set objAttachments = Item.Attachments
    For Each objAttach In objAttachments
    ' Does not handle duplicate filename scenarios
    objAttach.SaveAsFile "C:\temp" & objAttach.FileName
    Next
    Set objAttachments = Nothing
    End If
    End If
    End Sub
    Also, I've set the Security to Low within Outlook > Tools> Macros > Security and a bit baffled why this won't run.
    Just for info, I got this VBScript solution from:-
    Outlook Visual Basic for Applications Rules
    Kind Regards
    Matt
    p.s I'm stuck with Outlook 2000 due to a limitation with some Legacy software that my company is still using.

    Thanks jrv.
    At the moment - I don't have the time to learn VBA better along with learning the other things I have an intested in already (e.g. PowerScript) - My customer has an outstanding fault which need fixing urgently. I've spent about 5 hours so fa trying to get
    a VBA script to work withing Outlook but to no avail. I might ask around my company to see if any one else can help or post this on a non-Microsoft forum I think.
    Cheers all the same
    Matt
    So you sold a job to do something you do not knowhow to do.  You are getting paid.  It is your job to learn or to hire someone with the skills you have sold.  We cannot produce custom scripts for an obsolete version of Outlook 2000.. 
    O2000 is almost 15 years old. It is not secure as no security patches have been released for it for almost 10 years.  It is old technology which none of us care to remember unless you want to pay us for the assistance.
    Here is the link to the instructions in th KB that you completely ignored:
    http://support.microsoft.com/kb/235852/EN-US
    It shows you exactly how to do this in Outlook 2000.  You must read all of the instructions carefully.  YOu must try all example code and be sure you understand how it works.  Post all issues with how to use VBA in the Outlook VBA developers
    forum AFTER you have tried that code and have a specific question and not just a requirement for someone to fix this for you.
    The code in the article is explicit to Outlook 2000.  The code you are using is only usable in Outlook 2002 and later.,  You must follow the examples for Outlook 2000 as outlined in your original article.
    If you want to be a technician you need to learn all of these things.  Just knowing how to install a PC is not sufficient if you are going to be a contractor.
    VBA is VBA.  Posting here will not change that.  This is an Admin scarping forum and not an office VBA forum.  VBA is NOT VBScript.  No matter how much it looks like VBScript it is not.
    You cannot just copy VBScript into a VBA module and expect it to work. 
    You have sold the job of a programmer and Outlook developer with no skills in that area.  Is that fair to your customer?
    There are hundreds of skilled developers who have spent good money and time learning to do these things. You cannot just past some things you found on the Internet into a file and ask someone to fix it for you. 
    Start by learning the difference between script and VB.  Next you need to learn what an event is and how it is generated.  The code you posted does nothing in Outlook because it is not Outlook code.
    No.  I am not picking on you.  I am trying to get you to wake up and spend time learning your profession.  It is a lot of fun and actually pretty easy but only if you do your homework.
    ¯\_(ツ)_/¯

  • How to make a report to display next 18 months of data with when user select a particular month from the filter in power pivot tabular model.

    Hi,
    i have a  dimension table  with month_key having values (201201,201202,201203.......202011,202012) and month name ( Jan 12, feb 12,......NOV 20, Dec 20)  and a fact  table with columns (month_key ,measure_types, Amount)
    My requirement is to create a power pivot report  in which when a user select a month from the filter, the report should display the (selected month+18 ) month's data against each type . when JAN 12 is selected ,the jan 2012 +18 = june 2013
    , month name should be populated with months till june 2013 only .
    i tried creating calculated column"END DATE " in the fact table with  dax expression to calculate the 18th monh from the current month  as below 
    month_key END DATE
    201201       201306    
    201202       201307      
    and thought of filtering the table with month key <= ENDDATE but it is not working as expected. could you please guide me on this ? Is there any time intelligence function that serve the purpose . Iam using  excel 2010
    ..hence could not do any calculation on the report side also. please suggest .
    Thanks in advance                                                                                                                                               

    Do you need to show the measure calculated for those 18 months as a total on 1 row, or do you need to select a single month and then display on row filters 18 distinct rows?
    The first is trivial as driezl has suggested.
    The second will require a second calendar table.
    I created this example workbook for a coworker who had a similar problem. You will have to use the disconnected table as your filter and pull your related table onto the rows.
    Finally, the easiest way to deal with the sort of date arithmetic you need to do is to restructure your date table to have a series of "Sequential" fields. These fields should be the number of units of time since the beginning of your calendar.
    For example, consider a calendar starting on January 1, 2010. For January - December 2010, [MonthSequential] = 1, 2, ..., 12. For January - December 2011, [MonthSequential] = 13, 14, ..., 24, and so on, incrementing by 1 for each sequential month in time.
    Assuming you have this set up in your date tables (one related to your model - DimDate - and one disconnected - DisconDimDate) your measure would look like this:
    18 Month Measure:=
    CALCULATE( [Measure]
    , FILTER( DimDate
    , DimDate[MonthSequential] >= MAX( DisconDimDate[MonthSequential] )
    && DimDate[MonthSequential] <= MAX( DisconDimDate[MonthSequential] ) + 18
    Please review this example along with the workbook I have linked above.

  • Power Pivot enable Excel workbook protection with password?

    Hi All
    We have a power pivot deployment without SharePoint in excel 2013 professional plus. All woks fine until we use a password to protect excel workbook so unauthorised users cannot open it. After enabling password protection we cannot access the power pivot
    data model under power pivot excel tab. It tries to upgrade the power pivot model(which is not logical because it didn't do it before and was working fine). thereafter upgrade fails.
    Has anyone successfully password protected a power pivot excel 2013 workbook? Is there a workaround to enabling security without SharePoint/office 365 etc?
    Thanks
    Sonny

    Hi Sonny,
    PowerPivot does not support row security or dynamic security. Security for a workbook is just a binary choice – either a user can read a workbook or she can’t.
    In this case, I would suggest you consider designing Tabular model which can be secured using row security and dynamic security is also supported. For more information, please see:
    Comparing Tabular and Multidimensional Solutions (SSAS):
    http://technet.microsoft.com/en-us/library/hh212940.aspx
    Regards,
    Elvis Long
    TechNet Community Support

Maybe you are looking for