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

Measure in slice Filter

$
0
0

Hello Everyone,

   I have a measure that return me text value (Top, Bottom, Stable), i want to use this measure like filter. For that i create a table that returns me the value : Top, Bottom, Stable and i use haseonevalue : 


TABLE1
KeyTable_Name

2                 Bottom
3                 Stable

1                 Top

Measure := IF(Measure1>Measure2;"Top";IF(Measure1<Measure2;"Bottom";"Stable"))

Measure Filter:= IF(HASONEVALUE('Table1'[Table_Name]);Measure;BLANK())

And that don't work :( . Someone can help me please.

Regards,

Amar


Reponse


Calculated Column with filter (SUMIFS alternative)

$
0
0

Hello, I am trying to find a good solution in order to get in the same line of my table the amount of last month / year by using a filtering function. What I want to get is the value of a KPI in a calculated column coming from another line to keeping all variables except one (period). I want to get the value of the previous in the same line in my table. Can anyone help me? In Excel I would have done it with Sumifs keeping all variables fix except the period. Thanks! 



A way to cut Running Total In in Power Pivot Chart

$
0
0

Hi Guys, 

My problem is that one of my lines in Pivot Chart represents Growth, so they are percentages and I use Running Total In to aggregate the data per each month. 

For example my data would be: 

  • 0
  • 10
  • 10
  • 10
  • 0
  • 0
  • 0

On running date since it aggregates, it will return as:

  • 0
  • 10
  • 20
  • 30
  • 30
  • 30
  • 30

My question is, is it possible if the data is 0 it won't aggregate and just stay as 0. 
Any possible work around for this? 

Thanks,

Adding as condition when using filter function

$
0
0
NewCostCenter = 
VAR RsourceName = UsageDetails[Resource Name]
RETURN
    CALCULATE (
        FIRSTNONBLANK ( UsageDetails[Tags - Copy.Cost Center], 1 ),
        FILTER (
            ALL ( UsageDetails),
            UsageDetails[Resource Name] = RsourceName&& UsageDetails[Tags - Copy.Cost Center] <> BLANK ()&& UsageDetails[Tags - Copy.Cost Center] <> ""
        )
    )

Hello all, the above works great for assigning tag fields to records that have the same resource name but I have a second condition. There are records within a resource group that do not have a tag and do not have any matching records, therefore I can't get the tag. What I would like to do in that case is assign a tag based on "where VAR Rsource Group = Resource Group. Can a second variable and filter be added? 

Thanks

Possible to make a Pivot Chart goes from 0 to a number just vertically straight line

$
0
0

My primary problem is that the chart is split between months and the client doesn't want to see the lines going up between the x-axis. 

Here is a sample of my graph:

As you can see Forecast from January it slowly goes up to the February. 

What I'm hoping for is that it goes up vertically. Is this possible to achieve? 

I plan to do that for both blue line and red dotted lines

Can't refresh OneDrive data in Power Bi Service

$
0
0

I created a report using Power Bi Desktop. The data source is an Excel file in OneDrive (Get Data -> Web). Whenever I click on refresh in Power Bi Desktop, it refreshes the data correctly.

 

Then I published this report to the Power Bi Service. Whenever I click on refresh on Power Bi Service, it doesn't refresh the data. It gives the error: "The downloaded data is HTML, which isn't the expected type. The URL may be wrong or you might not have provided the right credentials to the server."

 

I also have Scheduled Refresh enabled, but whenever it tries to refresh according to my scheduled refresh, it says "Refresh in progress" and it gets stuck there forever. It never finishes refreshing.

 

I don't have any gateway because Power Bi says it's not necessary for my type of data source.

 

I heard somewhere that I needed to select oauth2 as an authentication method, but I don't have that option. When I click on (Data source credentials -> authentication method), I can only choose between "Anonymous", "Windows" and "Basic". There is no oauth2 option available.

 

So how can I refresh my data in Power Bi Service?

 

Thanks

Excel 365: how to paste the data in the cells that only after sorts (visible cells)

$
0
0

Dear all,

I have a many thousands row data, and I want to change one of the month data, so I sort it only show Jan-18.

But when I paste the new price in the cell, it copy in the hidden cell, but I just want to paste at the visible cells...

How can I do it ?

Thank you

David

 

Concatenating multiple rows in one row with a delimiter

$
0
0

Hi,

I am fairly new to DAX. Unable to figure out an approach to achieve the concatenation of row value with a delimiter

For eg:

Data:

Country  Sales Personnel
A Tom
A Jack
A Vincent
B Rick
B Jon
C Tim
C Jill

Output:

Country  Sales Personnel
A Tom, Jack, Vincent
B Rick, Jon
C Tim, Jill


Accessing Power Pivot Table Properties

$
0
0

I have started using Power Pivot in Excel 2010.

After linking the desired table from Excel into the Power Pivot Editor ,

I want to use the Query editor but my Table Properties icon on the ribbon is grey, which means I can't use this button.

Any idea how to access the table properties and Query editor ?

Inventory Forecasting model

$
0
0

Hello all,
new to the forum.
I have an issue with powerpivot/DAX that I have not been able to solve. I hope someone is up for the challenge...

The problem is calculating a YTD monthly Inventory closing position while ignoring cumulative negatives if there is no stock to satisfy the forecast.
Kind of hard to explain but the attached file shows my desired outcome.


Im using the following
InvMovement:=[PURCHASES]-[SALES]
OPENING INV:=calculate([InvMovement],FILTER(ALL(‘DATE'[DATE]),’DATE'[DATE]< MAX(‘DATE'[DATE])))+[CURRINV]
ENDING INV:=calculate([InvMovement],FILTER(ALL(‘DATE'[DATE]),’DATE'[DATE]<= MAX(‘DATE'[DATE])))+[CURRINV]

the problem is that there cases where my Sales Team is forecasting above the available inventory in a future period. 
When we are out of Stock we still want the forecast to remain, even though we cant fill the sale.
The above OPENING INV and ENDING INV calculations work when inventory is always positive, but accumulates the negatives on Out of Stocks and results in incorrect (negative) opening inventory positions.

Id like the ENDING INV results to be 0 if it calculates as negative and OPENING INV of the following period to also be zero.

paste this link to file

https://1drv.ms/x/s!AgsUyh0i7varnjMfLmnZ1bPgSSGp


How to remove broken data model in PoverPivot

$
0
0

I added data model in my home pc that linked to my office server.  But there is no link between my home pc and server.  Now every time I open excel, I kept getting this messages: An issue with the Data Model is preventing Microsoft from opening this workbook. Try restarting excel.  But when I restarted excel, I got the same message.  Could you help me how to fix it by completely remove data model from my excel. 

I have Window 10

Dell touch desktop

office 360

excel2016

I tried re installed office.  But when I upgraded it, message came out again.

Thanks

Count the rows with Group by

$
0
0

Hello,

I have an issue in Power Pivot. I have two columns i.e,course,id, I want to count the id s group by courses.

Thanks,

Nuthicattu

ODBC Informix Connection Error

$
0
0
Hi guys,
I need your help as last chance not to force my company to downgrade my hardware to make PPV work.

I've recently been upgraded to a WIN10 16Gb RAM & 64bits system with office 2016 64bits, because I handle huge amount of data and because we are also upgrading all BI analysts positions for PowerBI use.

But for some "minor" analysis PowerPivot is still a very useful, I would say, mandatory and easy to use tool.

The issue is that I cannot download any data through the informix ODBC driver via connect-others(OLE\ODBC), because it results in crash to desktop.

Looking at the SQL.LOG tracking file enabled via the ODBC 64 bit connection driver setup, the issue seems to be an invalid buffer size error. Here's the extract

WCHAR *             0x00007FFD4E1621A0 <Invalid buffer length!> [-3]
SWORD                       -3 
SWORD *             0x0000000000000000
UWORD                        0 <SQL_DRIVER_NOPROMPT>

DIAG [IM006] [Microsoft][Driver Manager ODBC] Funzione SQLSetConnectAttr del driver non riuscita. (0) 

DIAG [01S00] [Informix][Informix ODBC Driver]Invalid connection string attribute. (-11005) 

DIAG [01S00] [Informix][Informix ODBC Driver]Invalid connection string attribute. (-11005) 

I've read tons of forums about the topic, but the company I work for cannot upgrade to the latest informix driver. We actually have version 3.00.0000 3.00.FC2 of the ODBC Informix 64 bits driver and I am aware version 4.00 should be available.

the incredible and unexplanable thing is that this issue only arises when importing data from powerpivot. If I do exactely the same via PowerBI or excel itself (but not via the power pivot data model engine), everything goes smooth. Which makes the problem even more enigmatic.

Our IT guys are looking into it, but I'm pretty sure that the only solution they will find is a downgrade one which I would like to avoid actually!

The fact that this issue only happens with powerpivot, makes me think it's a powerpivot specific related issue. Maybe a misconfiguration with the connection string? Or 

Could you guys please give me a clue. I'm really stuck and I don't want to come back to vlookups or sumifs on millions of rows tables.

Any help from your side is very very much appreciated.

Thanks

Danilo



Power pivot , after editing, while saving the query in edit table properties , i get " Capacity exceeds maximum capacity. Parameter name: capacity " error !

$
0
0

I had to edit the query in power pivot to add a member in the filter using query editor  . After editing when i save the query , its throwing this error . 

power pivot --> manage --> design tab --> table properties --> edit the query ( save ) 

I did validate and it went fine ! 

Thanks in advance 


Workplace time keeping - DAX to get the earliest check-in time within a day for a specific person

$
0
0

Hello,

I want to analyse what time people get to work in relation to the official start time.
Our key fob system gives me a report with the time when people get-in and get-out (in different columns) of the building everyday. However, they can get in and out several times within a day. This means that I need to pick from the report the first check-in of everybody everyday.

I am a beginner with PowerPivot and I am really struggling.

I've tried with both, measures and calculated columns but without success.

For measures I have tried as follow:

To get the first check in have a people and date as context filter:
Time Check-In:=MIN(TimeReport[In])

To compare actual first check in with the official start time:
Deviation:=TIMEVALUE("08:00:00")-TIMEVALUE([Time Check-In])

Trying to count only the rows in for first check in that are late, however evaluates every column and hence as you can see in the screenshot, it counts 2 times late for the example person in only one day (that person wasn't late that day) 
Late:=COUNTROWS(FILTER(TimeReport, [Deviation]<0))


On the other hand, I've tried to add calculated columns to identify the rows that are for the first check-in of a person or the rows for late first check-in's.
For this I have tried: =IF([in]=[Time Check-In], "First Check-in", BLANK())
Bad result as you can see.

I'd be pleased if you can help me. I understand this have been solved and discussed by many people in the past but I cannot find it in forums or help menus.

Thank you!

PS: The system does not allow me to include images until they verify my account. So I guess, I'll be able to share the screenshot soon but please try to help me in the mean time. Thanks you!


"PowerPivot is unable to load the Data Model" after upgrade Windows 10 1709

$
0
0

Hi

After upgrade Windows 10 from 1607 to 1709 we have an issue in Microsoft Excel 2016 (16.0.4549.1000) 32bit.

When opening an existing workbook or a empty sheet the behavior is the same.

Open the "Power Pivot" tab and click on "Manage". The cursor is spinning forever and CPU is busy with about 25%. When hit "Esc" you get the message:
"PowerPivot is unable to load the Data Model"

Following tasks already done without success:

- Repair Office

- Uninstall/Install COM Add-ins

- Uninstall/Install Office

- regsvr32 of COM Add-in

Any idea?

Thanks in advance

How to set count down Timer to change Dynamically

$
0
0

Hi All,

I need help on setting power Bi count down timer to change dynamically based on slicer value selected.

ex I have slicer value project X and project Y, X has dead line 2020 and Y has Dead line 2021, when I select X the count down time should change dynamically. 

Respectfully, Thank you

Bihon Noro

How to deploy PowerBI Solution Templates

Multiple filtering data to dashboard

$
0
0

Hello everyone. 

 

I am building a dash board based on our Customers (retailers). We have about 6000 customers each of them have their unique ID code. So we categorize our customers by K, A, B, C, F1, F2, F3 (key account, modern trade, traditional trade etc.). Their ID starts with the first letter of their channels. for example: K1234354 would be K channel customer, A1321321 would be A channel customer. and F channel is bit different (F splits into 3). ID starts with F45 and F43 goes to F3. and F61, F63 goes to F2, and rest of"F" would go to F1. 

 

I am trying to see the sales of each channel under their channel names. How can I filter by customer IDs and show by their channels? 

I tried to make source table but customers are increasing day by day. So I was wonder if the thing which I am trying to do is possible. 

 

 

Sorry if this is a basic question, I am new to DAX.

Thank you for your time everyone! 

"Change Data Source" feature disabled for Pivot Table on PowerPivot in Excel 2013

$
0
0

Hi

I am trying to repoint from external sql connection to local sheet/table connection and the option in Excel 2013 and 360 is disabled.

My excel file has 10 pivot tables and dependent charts from -pointing to- an external sql data connection.

Current steps taken:

1. I have created an extra sheet/table and created a new test pivot table on the basis of the sheet/table and added it to the data model.

2. I have also created an ocd file for both the sql connection and the datamodel.

3. As an attempt to hack the connection I have pointed the sql connection to the datamodel ocd and excel complains of illegal/corruption file with a message.

So I am at a loss at the moment,

Please help! :)

Thanks

Viewing all 4715 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>