powerpivot

Connecting to PowerPivot with C#

混江龙づ霸主 提交于 2019-11-30 02:25:53
Is it possible to connect to a PowerPivot model in an Excel .xlsx file? (Not hosted on a SharePoint site... just the local file). It must be, since Tableau can do it. Anyone have any clues? Short answer: Yes Long answer: Updated versions of either Excel or PP (maybe even Office service packs?) could break your code We were successful in connecting to the PP model using AMO (to add tables to the data source view, add dimensions, add measures, and refresh the model from external DBs). We found Tabular AMO library on codeplex (https://tabularamo2012.codeplex.com/) to be VERY helpful. We were

PowerPivot DAX - Dynamic Ranking Per Group (Min Per Group)

戏子无情 提交于 2019-11-29 14:06:55
I am searching for a method to utilize within Microsoft PowerPivot 2010 that will allow me to perform dynamic ranking that will automatically update the associated rank value based on filters and slicer values that are applied. Thusfar, all examples I have seen utilize the Calculate() DAX function that overrides existing filters within the PowerPivot table via the All() function which causes predefined filters that users may apply to be disregarded. To illustrate my requirements, please reference the example below: (Source Data within PowerPivot Window:) ---------------------------------------

DAX running total (or count) across 2 groups

拟墨画扇 提交于 2019-11-28 14:09:33
I'm very new to DAX and PowerPivots. I am using PowerPivot to pull data from an SQL server. The data I'm working with is pretty large and complex but I'm considering a simplified version of it for this question. Let's say I have 2 columns, one that contains product names and one that contains a date that product was sold. I have a row for each time 1 unit of any product is sold. Product | Date Orange | 08/13/2013 Orange | 08/13/2013 Orange | 08/13/2013 Apple | 08/14/2013 Apple | 08/16/2013 Orange | 08/17/2013 Orange | 08/17/2013 I want to use DAX to get a running count of how much of a product

PowerPivot DAX - Dynamic Ranking Per Group (Min Per Group)

ε祈祈猫儿з 提交于 2019-11-28 07:43:37
问题 I am searching for a method to utilize within Microsoft PowerPivot 2010 that will allow me to perform dynamic ranking that will automatically update the associated rank value based on filters and slicer values that are applied. Thusfar, all examples I have seen utilize the Calculate() DAX function that overrides existing filters within the PowerPivot table via the All() function which causes predefined filters that users may apply to be disregarded. To illustrate my requirements, please

Powerpivot adding calculated item to a field

前提是你 提交于 2019-11-28 06:07:15
问题 I have data in a table stored in an Excel file. I linked this table into a PowerPivot Data Model, and from that Data Model I want to create a Pivot in the same Excel file. In this table one column contains split of data into: Budget, Last Year, Prior Forecast, Current Forecast. I want to add this field as Pivot coulmns, but I would like to add additional calc item (like in normal Excel Pivot Table I can add Calculated Item) with calculation: [Current Forecast] - [Prior Forecast]. I checked

Converting multiple variables into values with excel pivot tables or power pivot

孤人 提交于 2019-11-28 02:08:20
I have to use excel for this problem. I need to know how to create a pivot table from a very large dataset that's simplified structured looks like this: week 1 week 2 week 3 row 1 row 2 row 3 row 4 I need to use a slicer to use only specific weeks but change the week simply. If I weren't constrained by excels number of rows, I would create a "DATE" variable, and have "week 1, week 2, week 3..." be values for that variable, but this results in too many rows (using 52 weeks, so number_of_rows*52 rows quickly maxes out to 1 million). Is it possible to create a pivot table in excel with a slicer

DAX running total (or count) across 2 groups

谁说我不能喝 提交于 2019-11-27 08:26:01
问题 I'm very new to DAX and PowerPivots. I am using PowerPivot to pull data from an SQL server. The data I'm working with is pretty large and complex but I'm considering a simplified version of it for this question. Let's say I have 2 columns, one that contains product names and one that contains a date that product was sold. I have a row for each time 1 unit of any product is sold. Product | Date Orange | 08/13/2013 Orange | 08/13/2013 Orange | 08/13/2013 Apple | 08/14/2013 Apple | 08/16/2013

Converting multiple variables into values with excel pivot tables or power pivot

喜夏-厌秋 提交于 2019-11-26 23:37:54
问题 I have to use excel for this problem. I need to know how to create a pivot table from a very large dataset that's simplified structured looks like this: week 1 week 2 week 3 row 1 row 2 row 3 row 4 I need to use a slicer to use only specific weeks but change the week simply. If I weren't constrained by excels number of rows, I would create a "DATE" variable, and have "week 1, week 2, week 3..." be values for that variable, but this results in too many rows (using 52 weeks, so number_of_rows