Quantcast
Channel: Power Pivot forum
Viewing all 4715 articles
Browse latest View live

Updating data in powerpivot

$
0
0

Hi All,

I have a spreadsheet containing my actual data for the year.  I just updated the actual data with the final month for 2014.  However, the powerpivot worksheet is not reading the final months data as the slicer is not showing month 12.  Any assistance is appreciated.

Thanks,

ArtGee


powerpivot crashes when importing data from an ODBC source (64-bit)

$
0
0

Hi,

I'm trying to import data into PowerPivot from an ODBC source but it crashes every time (Excel or SQL server sources work).

This is a new 64-bit computer (windows and office) I'm working on.

That same data source works with my other 32-bit computer.

The error in the event viewer says:

Activation context generation failed for "C:\Windows\WinSxS\amd64_microsoft.vc80.mfc_1fc8b3b9a1e18e3b_8.0.50727.4053_none_8444db7d32915e4c\MFC80U.DLL". Dependent Assembly Microsoft.VC80.MFCLOC,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50608.0" could not be found. Please use sxstrace.exe for detailed diagnosis.

The description for Event ID 22 from source MSOLAP$LocalCube cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

Faulting application name: EXCEL.EXE, version: 14.0.7140.5000, time stamp: 0x5462a66d
Faulting module name: KERNELBASE.dll, version: 6.1.7601.18409, time stamp: 0x5315a05a
Exception code: 0xe0000003

Can you please help?

What is the DAX equivalent of this excel formula to find the max (highest alphabetically) value in a text column

$
0
0

I am trying to do the following but in PowerPivot, not a standard Excel formula. Can anyone help?

{=INDEX(A2:A8,MATCH(MAX(COUNTIF(A2:A8,”<”&A2:A8)),COUNTIF(A2:A8,”<”&A2:A8),0))}{=INDEX(A2:A8,MATCH(MAX(COUNTIF(A2:A8,”<”&A2:A8)),COUNTIF(A2:A8,”<”&A2:A8),0))}

Original article here: Max Text

Thanks,

James

Apply a default colour for a measure

$
0
0

I would like to be able to colour code groups of measures in one pivot table. 

I have several tables with calculated measures and want to add them to one pivot table but would like to show visually which ones are related.  i.e. 6 are acute care, 5 are emergency, etc.

Can this be done?

Simple Powerpivot Formula

$
0
0

Hi,

I am trying to calculate days of stock as a measure in pwerpivot as a measure.

In simple terms the calculation is:

if(Average 4 weeks forward forecast>0 (TEF Stock + VMI Stock) / Average 4 weeks forward sales forecast= DOS

SO i have columns for these three things but I need this to calcualte as a measure so as I roll up from item level to vendor, total etc I am getting a recalcualted number. I also then need a second measure that instead of recalculating takes an average of each items DOS and averages that out.

The below measure I created does not roll up correctly:

DOSinc VMI Measure:=AVERAGEX(FILTER(SUPPDCNEW,SUPPDCNEW[Average 4 week Forecast]>0),(SUPPDCNEW[TEF Stock]+SUPPDCNEW[VMI Stock])/SUPPDCNEW[Average 4 week Forecast])

Can anyone please support?

Totally confused as to how to get PowerPivot

$
0
0

I have a Office 365 subscription as this was presented as a better solution that Office 2013 - sales pitch get office 365 - always have the latest version etc etc.

I now find that I do not have powerpivot within excel.  A web search on this is totally confusing.   Is powerpivot now part of Power BI.  Bu that is cloud based. !!!

How as an Office 365 home user can I get the powerpivot functionality in excel?


Greatsailing

PowerPivot 2008/2012 for SharePoint. Dynamic enqueueing of Data Refresh

$
0
0

I am suggesting a way to be able to enqueue a data refresh in PowerPivot dinamically (programmatically?), by other triggers than a fixed time (or day o whatever) as it is today.

Say for example, by a flag in a database, or an OK in a web service. 

Parallel Processing Of Selected Tables in PowerPivot Model

$
0
0

Hello,

My team produces several PowerPivot cubes. Two largest require several hours to process. Under certain circumstances, only subset of tables would require processing (~ ½ of the cube data volume). If I use management studio to run the full or data processing of selecting tables (please see the XML code example generated by SSMS below), processing is happening sequentially and total time is longer than full cube processing (if entire cube is processed, individual tables seem to be processed in parallel). Is there a way changing the MDX expression or other trick to enable parallel processing?

Thank you!

Daniel

<Batchxmlns='http://schemas.microsoft.com/analysisservices/2003/engine'Transaction='true'>

<Processxmlns="http://schemas.microsoft.com/analysisservices/2003/engine">

 <Type>ProcessFull</Type>

 <Object>

   <DatabaseID>MSCloud_MOD</DatabaseID>

   <DimensionID>Cloud_FACT_AdjustedLifeCycleUnit_e6ecdaea-79ea-4bc1-8f32-3059059d9ca0</DimensionID>

 </Object>

</Process>

<Processxmlns="http://schemas.microsoft.com/analysisservices/2003/engine">

 <Type>ProcessFull</Type>

 <Object>

   <DatabaseID>MSCloud_MOD</DatabaseID>

   <DimensionID>Customer_9cf43c83-ce43-43a1-91e1-98f504db26da</DimensionID>

 </Object>

</Process>

<Processxmlns="http://schemas.microsoft.com/analysisservices/2003/engine">

 <Type>ProcessFull</Type>

 <Object>

   <DatabaseID>MSCloud_MOD</DatabaseID>

   <DimensionID>MSS SellIn Fact_0476e67e-d85a-47e2-ab1d-4ed48dc53c55</DimensionID>

 </Object>

</Process>

<Processxmlns="http://schemas.microsoft.com/analysisservices/2003/engine">

 <Type>ProcessFull</Type>

 <Object>

   <DatabaseID>MSCloud_MOD</DatabaseID>

   <DimensionID>Revenue_a315fabe-6e2c-44a0-87f6-837b88e72c8b</DimensionID>

 </Object>

</Process>

<Processxmlns="http://schemas.microsoft.com/analysisservices/2003/engine">

 <Type>ProcessFull</Type>

 <Object>

   <DatabaseID>MSCloud_MOD</DatabaseID>

   <DimensionID>Cloud_DSV_Time_9bb38595-9263-436d-8c3b-1a3375ce0ec9</DimensionID>

 </Object>

</Process>

</Batch>


How to merge two tables in powerpivot excel 2013?

$
0
0

Hi 

I have a few tables imported from two different systems/databases/tables and I need to merge them into one table in Power Pivot.

All of the import tables have some common fields such as Name, Value. e.g. Staff Expenses, Staff Sales table

The output table at lest with 3 columns (Name, Value, and Data Source). The Data Source column indicates which table the row value comes from.  

How can I merge the tables using DAX?

Regards

Joe Lee


jl

Trouble creating a lookup relationship between two tables

$
0
0

Hi,

When trying to create a relationship between two tables I get the following error message, "The relationship cannot be created because each column contains duplicate values. Select at least one column that contains only unique values". 

However there are no duplicates in the selected related lookup table. I've used a calculated column to check for duplicates and there don't seem to be any.

Does anyone know of a solution to this?

how to build semantic model table from excel 2013 budget table?

$
0
0

I have an excel 2013 budget table produced by finance department. The title of the table is <<Year 2015 Resource Budget>> with columns such as (Item, Budget). There is line of business app which tracks daily usage. It is SQL database which I can access. The SQL table has columns such as Date, Item, Usage. I am asked to produce some PowerView reports using DAX.

I am thinking about using Excel 2013 PowerPivot. The following is the step of my plan.

  1. Add excel 2013 Budget table to PowerPivot
  2. Transform the budget table using DAX to a new table with includes date. For each item budget, the value can be evenly divided by 365. I don't know if this is possible with DAX and need advice from you
  3. Import daily usage from SQL database into PowerPivot
  4. Merge the imported SQL daily usage table with the transformed budget table with daily breakdown.  The output table has 4 columns (Date, Item, ValueType, Value). The ValueType can be either Budget and Usage. (I also do not know if it is possible to use DAX to merge two PowerPivot table into anther table with added new columns. If it is possible, I would love to hear from you on how to do this)
  5. Finally, I can produce BI reports based on the newly merged table




jl

Size matters!

$
0
0

Hi eb

Users noticed that excel 2013 sp1 32bit crashes when power pivot models size gets to about 1GB.

Are 1-2GB files stable using the same 64bit version?

What is your expirience with maximum stable power pivot size ?

TIA!

Rea

Rename Model Name and ID using Excel

$
0
0

Hi everyone,

after deployed a tabular model in Analysis Services from an Excel file using "Restore from Power Pivot..."

I connected to the cube with Excel and I could notice that the name of the cube is "Model"

I would like to change it using Excel. I found only one solution using visual studio, then script the database and modify the text file manually.

I think it should be a better way.

Have you any ideas? Any comment will be highly appreciated.

Kind Regards,

power pivot report freeze while scrolling

$
0
0

when scrolling the power pivot reports that are long the excel window freezes, the field list turns white, there's no data loss though, I can click the close button and it will give me the option to save the data if I haven't saved anything, they I go in the task manager and end task any running excel processes and it would start working again, this happens on multiple computer in the orgs (with different os windows 7, 8.1 server 2012 r2).

Need help with DAX formula

$
0
0

I am creating a DAX formula that combines an if statement that will check if data in the [Source] field is "OADPO" and the data in the [Category field] is "Outstanding Encumbrance" then to insert in the YTDAmt the PO_Amount  else do the calculate function below.

YTDAmt:=CALCULATE (SUM([AMOUNT]),

    FILTER (
        ALL ( DATE ),
        'Date'[YearNumber] = MAX ( 'Date'[YearNumber] )
            && 'Date'[Date] <= MAX ( 'Date'[Date] )
    )
), IF([Source]= "OADPO" && ([Category] = "Outstanding Encumbrance",YTDAmt = [PO_Amount]

The calculate function works but the when I add the if state it does not seem to work. I dont know what I am doing wrong. 

Thanks 


Grouping Data in Power Pivot

$
0
0

I've been researching for a while but can't seem to figure it out... Can anyone tell me what's the best way to group data in a Power Pivot data model? My data model is populated from a SharePoint list. The list schema is similar to as follows:

  • ChargeCode
  • Type
  • Amount

There are duplicate charge codes. What I'm trying to do is group the data by Charge Code, Type, then summarize the Amount.

It sounds like I should use the Summarize DAX function but I can't get it to work since I need to group by more than 1 column.

Anyone have any ideas or suggestions?

Thanks,

Roland

Grabbing an exact date

$
0
0

Hello,

Im trying to grab the first date in which someone made contact for an item in this table

For example for the item 0001 it would be 08/09/2014 since all the Consul columns have 0's on the first date.

I want to grab the first date that someone asked for that ID and print it here. So there should be a new column and for example the ID 0001 will have the date 08/09/2014 

how to get max sum at day grain of value?

$
0
0

Here's a mockup of a pivot table

Cust	TranId	Date	Amt	MaxSumAtDayGrain
a	323	1-Jan	5	10
a	423	1-Jan	5	10
a	562	2-Jan	4	10
a	566	2-Jan	5	10
b	325	1-Jan	2	5
b	487	1-Jan	2	5
b	532	2-Jan	4	5
b	599	2-Jan	1	5

I'm trying to write some dax to get the MaxSumAtDayGrain scoped to the cust. Basically the max of the amt summed at the day grain and for this to reset for each customer. And for this to also appear at lower levels (eg individual transactions)

I've tried :=MAXX(values('Date'[Date]),calculate(sum([Amt]))) and it gives me the correct value at the cust level, but it falls apart at the lower grains. it just gives me the sum at that level

I'm assuming i need to add a filter of some kind, but every logical combination i've tried has resulted to in the maxsumatdaygrain measure aggregating too many rows or not changing the result at the lower grains.


Thanks


Jakub @ Adelaide, Australia Blog

PowerPivot showing me blank rows

$
0
0

Hello,

Im importing an excel file into my powerpivot as usual but im having this weird issue...its showing me 179 blank rows and then all my data. Any clues what could be wrong?

Thanks

Sum maximum of machine wise hours in Grand Total cell

$
0
0

Hi,

I have a three column dataset which shows Date, Equipment and Hours worked (http://1drv.ms/1EleeNi).  I dragged Equipment to the Row labels and computed the Hours worked on last day by using the following calculated field formula

=sumx(FILTER(ADDCOLUMNS(sec2q4,"Last date",MAXX(FILTER(sec2q4,sec2q4[Hours Worked]>0),sec2q4[Date])),[Last date]=sec2q4[Date]),[Machine Hours worked_sec2q4])

This formula works fine for computing the hours worked for each machine type.  However, in the Grand Total cell,  the answer is wrong.  The answer in the Grand Total cell should be 32.5

Please help.


Regards, Ashish Mathur Microsoft Excel MVP www.ashishmathur.com

Viewing all 4715 articles
Browse latest View live