Questions tagged [powerpivot]

An in-memory OLAP cube that can for instance be installed and used in Excel. It allows for fast analysis of huge datasets.

PowerPivot is part of the Microsoft Business Intelligence suite and uses SQL Server in the background, but it is geared towards the data-savvy business oriented person. It allows you to easily load data from different sources, put them in a relational database-like format and create relationships between the tables.

When all data is loaded, an OLAP store is created in the background and you can do real time analysis by selecting and filtering to your heart's content.

Also included is a powerful query language called DAX (Data Analysis eXpressions) which use an Excel style syntax to allow the user to perform complex calculations.

Power-Pivot datasets can also be served as part of SharePoint and Microsoft has even put at least one all-in hardware appliance on the market in collaboration with hardware vendors.

The following links provide useful reference information:

Further interesting PowerPivot articles can be found here:

1828 questions
0
votes
2 answers

Recursive DAX Cumulative Total

I have a measure which multiplies a percentage reduction in debt values by the $ value of sales in the previous month to give a $ benefit. This is: Gross Benefit:= [Change in 0-30 %] * [Ent Prior Month Credit Sales] For each Fiscal Month (eg. "01 -…
JustNuts
  • 37
  • 2
  • 11
0
votes
1 answer

Mean time to Failure calculation in DAX

I am trying to calculate the mean time to failure for each asset in a job table. At the moment I calculate as follows; Previous ID = CALCULATE(MAX('JobTrackDB Job'[JobId]),FILTER('JobTrackDB Job','JobTrackDB…
BrentA
  • 172
  • 8
0
votes
1 answer

Link PowerPivot slicer to pivot tables based on different data sources

I'm new to PowerPivot and have been asked to link multiple pivot tables pulling from multiple PowerPivot data sources. Looking at blog posts and forum discussions it seems to be possible to either link based on a one to one or one to many…
Frozbie
  • 51
  • 1
  • 7
0
votes
1 answer

DAX subtotal at item level for only visible row items

I am having a hard time coming up with the right DAX for something that seems so simple! Table1 Table2 Year | Amount Year ------------- ----- 2010 | 1 2010 2011 | 2 2011 2012 | 3 …
LoganTheSnowEater
  • 555
  • 2
  • 4
  • 17
0
votes
1 answer

Power Pivot - Join on two tables in separate databases

I have searched and cannot find an answer to this, so apologies if someone else has already posted a similar question and answer. Is it possible within powerpivot to join two seperate databases on a table. I don't have access to the powerpivot, and…
0
votes
1 answer

Using condition in Calculatetable ()

I've a problem on Table filtering while using CALCULATETABLE() I tried to use the script with condition for CALCULATETABLE(): XeroInvoices[AmountPaid] < XeroInvoices[AmountDue] EVALUATE SUMMARIZE( CALCULATETABLE(XeroInvoices, …
Sergiy Razumov
  • 159
  • 2
  • 9
0
votes
1 answer

Searching for value in a linked table in power pivot

I have a PowerPivot table that has a column of IDs and a linked table that contains a set of specific IDs that I want to use to create an indicator variable which I can use to sort on in existing tables and charts. Essentially I want: If the value…
JimG
  • 1
0
votes
1 answer

Previous Year YTD till Same Date

I have requirement, Previous Year YTD till the same date as YTD is returing results for example if the Records in my table is present from 1-jan-2016 to 9-May-2016 then this year YTD will Calculate till 9-May-2016 (this is Working fine ) and…
BIDeveloper
  • 767
  • 3
  • 14
  • 28
0
votes
1 answer

ALL except filter set in column header

A complete newbie to PowerPivot here. I have a calculated column where I count the number of distinct rows like this: =COUNTROWS( DISTINCT( Data[Chain] ) ) However this does not take into account any filters manually applied in a…
Nanofus
  • 7
  • 2
0
votes
1 answer

Is there a way to populate a column with scalar value in power pivot?

I'm new to Power Pivot, sorry if the question is simple but i've been searching for hours already and i can't find an answer to this. The table below is from Power Pivot's Manage. The total Sum of (CoveredAndGapTotal) is 147. The table below is…
Chester Lim
  • 459
  • 7
  • 19
0
votes
1 answer

What is the equivalent of Excel's Subtotal in Power Pivot?

Is there a way to count the total number of rows returned in a filtered table in Power Pivot? I tried populating a column with 1 or 0 and used SUM. But it returned the number of rows in the original table and not in the filtered.
Chester Lim
  • 459
  • 7
  • 19
0
votes
2 answers

How to stop calculation in Power Pivot?

I sometimes write a DAX formula which turns out to be to heavy for my machine. It can even take more than 10 GB of memory and block my work for quite a long time. Excel is totally unresponsive at this point. Is there an option to pause calculation,…
Amade
  • 3,665
  • 2
  • 26
  • 54
0
votes
1 answer

DAX: Getting all rows with a column value that appears X times?

I have a table where each row is a product sold in a store. A product has two relevant columns, EAN and Store. How do I find all products (that have the same EAN) that appear in all Stores? For example, if Store A has products with EANs 1, 2 and 3,…
Nanofus
  • 7
  • 2
0
votes
1 answer

DAX partition/monthly totals

I am trying to figure out how to mimic a SQL partition in a DAX query. If I was using SQL I would use something similar to this: sum([Total Units]) over (partition by [Fiscal Month]) as ttl_mth_unit or ,Sum(Case when 'Order Line Item Details'[No…
symn28
  • 13
  • 1
  • 5
0
votes
1 answer

Excel 2013 - VBA AddDataFiled 1004 Error

strange one this I have a pivot table connected to a data source via power pivot / OLAP. I have created a vba button to add a field to the row section of the pivot however when I run... With ActiveSheet.PivotTables("PivotTable1") .AddDataField…
Baseline9
  • 101
  • 1
  • 3
  • 12