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
2
votes
1 answer

Why does my filter not work with calculated measures in Power BI, Power Pivot Excel?

I'm working with AdventureWorksDW2014. I created 2 measures, however they did not behave the way expected when i applied filter. I have 2 tables FactInternetSales and DimCustomer. They are linked through CustomerKey. I have 2 calculated measures.…
Ha Vu
  • 21
  • 1
  • 2
2
votes
3 answers

How to password protect Power Query queries?

I have a power pivot model generated from Power Query. I'd like to hide the Power Query code from being seen by the users. Is there a way to password protect the queries, but still allow the users to connect to and refresh the query?
qshng
  • 887
  • 1
  • 13
  • 32
2
votes
1 answer

How to calculate number of rows in a 1-to-many relationship in PowerPivot

I'm trying to do what I thought was a relatively simple calculation between 2 tables I have in the new PowerPivot add-on for Excel 2010. My 2 tables loaded at setup as follows: Table 1: FooID, BarID, Name Table 2: BarID, Date There is a 1 to many…
TMC
  • 8,088
  • 12
  • 53
  • 72
2
votes
1 answer

PowerPivot DAX Text Windowing Function to repeat a value across a group

I am trying to get a value to repeat across a group in PowerPivot, using DAX. I've managed to get this kind of windowing to work for summaries in the group, but now I'm trying to get it to work for a text value. As an example, I have the following…
Stewart R
  • 48
  • 7
2
votes
2 answers

How do I loop through the filter items and hide items in an Excel PivotTable using the Data Model?

I have been working with normal PivotTables in VBA, but I recently found some features on the Pivot Tables using the Data Model that I really like--mainly 'Distinct Count'. I have some code in a normal pivot table which filters the table for records…
Bo_
  • 21
  • 6
2
votes
2 answers

DAX - IF lookup value empty return column value

I'm using Power Pivot 2013, I have two table. (fact)Table A: Name and Value (dim) Table B: Name and Type When selecting pivottable, I want to show Type and Value but if Name.TableA can't be found in Name.TableB, instead of returning (blank) i want…
Mr Shayne
  • 29
  • 1
  • 1
  • 4
2
votes
1 answer

Power query & power pivot - empty table and clearing pivot

Hope you could help. I have the below code in my power query and it is working great with a connected power pivot table. As soon as the Source line is returning "This table is empty" it all goes wrong: Power query return error message that the 2…
yayadk
  • 21
  • 1
2
votes
1 answer

Calculate the number of days between today and specific date using DAX in Powerpivot

I have a date column in my data model. I want to calculate the # of days between today and the date in the column using DAX. Thoughts?
FoxyB
  • 41
  • 2
  • 3
  • 10
2
votes
1 answer

Power Pivot File Size Limit

Microsoft states that for a 64 bit environment there should be no hard limit on file size. Being as my machine has 32GB of RAM and no other applications running I thought that I might be able to import a 7.7 GB csv into powerpivot. However upon…
Tyler Cowan
  • 820
  • 4
  • 13
  • 35
2
votes
1 answer

DAX Query to get average of a column within the same table

We have a table named MetricsTable which has columns A1 and Group simply. We want to add a calculated column AvgA1 to this table which calculates the average of column A1 filtered by the value of Group . What should be our DAX query? The point is…
serkanz
  • 391
  • 5
  • 21
2
votes
1 answer

(Power) Pivot - show true/false and calculate at the same time

I have the following data source: My pivot rows are Team => Project Name with "Value" column in the Values. I am calculating the % ration of all projects that have value "True" compared to all projects that have a value (disregarding those without…
Natalia
  • 157
  • 1
  • 2
  • 8
2
votes
1 answer

Powerpivot - creating ratios from a single fact table

I have a powerpivot table that looks like this... all "facts" are in a single table with the Information column used to segregate: Information | Year | Amount Expense 2010 1000000 Units Sold 2010 50000 Expense 2011 2000000 Units…
2
votes
2 answers

Power query and stored procedure with parameters

I use sql stored procedure as the source in power query. Stored procedure has two parameters both numbers (integer). In the Excel sheet I defined parameter table with two parameters. I would like the user to enter the dates as values of parameters…
Adamz
  • 31
  • 5
2
votes
2 answers

Good method to parse value from PowerPivot PivotItem?

I have a PivotItem with the following .name and .value properties: [dimCalendar].[MonthName].&[April 2013] I am only interested in the part where it says April 2013. What is a good method to parse or otherwise get this value from the PivotItem?
user1283776
  • 19,640
  • 49
  • 136
  • 276
2
votes
1 answer

Simple way to refresh power pivot from VBA in Excel 2010?

I want to perform the equivalent actions of: Power Pivot > Tables > Update All Pivot Table Tools > Data > Refresh All using VBA. All the tables are Excel tables contained within the file. Is there a simple way to do this in Excel 2010?
user1283776
  • 19,640
  • 49
  • 136
  • 276