Comments for Kasper de Jonge PowerPivot Blog » Kasper de Jonge PowerPivot Blog http://www.powerpivotblog.nl Bringing BI to the masses Mon, 24 Nov 2014 20:08:57 +0000 hourly 1 http://wordpress.org/?v=4.0.1 Comment on Dump the results of a DAX query to CSV using PowerShell by Pavel http://www.powerpivotblog.nl/dump-the-results-of-a-dax-query-to-csv-using-powershell/#comment-206041 Mon, 24 Nov 2014 20:08:57 +0000 http://www.powerpivotblog.nl/?p=3001#comment-206041 Hi Kasper,

I tried to modify your script to dump data from XLSX Data Model (PowerPivot) to CSV. But method $adapter.Fill($dataset) failed.

Could you help to specify ConnectionString to connect correctly to XLSX Data Model 2013?

Thanks,
— Pavel

]]>
Comment on Export a table or DAX query from Power Pivot to CSV using VBA by Pavel http://www.powerpivotblog.nl/export-a-table-or-dax-query-from-power-pivot-to-csv-using-vba/#comment-205771 Sat, 22 Nov 2014 11:37:16 +0000 http://www.powerpivotblog.nl/?p=6471#comment-205771 Hi Kasper,

Nice article, thanks.

Actually I am triyng to run your code, but it failed.

Error is “An error occurred – Automation error”.

Code string that failed is: “rs.Open sQuery, wbTarget.Model.DataModelConnection.ModelConnection.ADOConnection”.

Could you help me?

]]>
Comment on PowerPivot Denali new DAX function to rank (RANKX) by David http://www.powerpivotblog.nl/powerpivot-denali-new-dax-function-to-rank/#comment-205581 Thu, 20 Nov 2014 17:36:27 +0000 http://www.powerpivotblog.nl/?p=2295#comment-205581 Hello,

I’m having a problem when i have NEGATIVE net sales.

When i rank by sales person within the region, and the sales person has had negative net sales (more returns than sales), the ranking that it gives me is that of the total population, not within its own regions.

Example:
Region 1 has 30 sales people, but the whole organization has 90 sales people. Two of Region 1’s salesmen have negative sales. When i use the following formula, it will return 89 and 90 for these two individuals, instead of 29, 30. (even though i am pivoting by selling region).

=RANKX(ALL(SalesAnalysis[sa_rep_name]), [sa_Net Sales], , 0, skip)

Any help is appreciated!
Thanks
David

]]>
Comment on Determine the min value over rows in a group using MINX in PowerPivot by Rafael http://www.powerpivotblog.nl/determine-the-min-value-over-rows-in-a-group-using-minx-in-powerpivot/#comment-205231 Sun, 16 Nov 2014 02:21:36 +0000 http://www.powerpivotblog.nl/?p=1909#comment-205231 Great work! I was wondering if there is a way using the same data to return only the continents with their calculated min value and it’s related country… The problem related to the min value is solved as showed in this post… But how to show in a specific column which country is related to that min value?

]]>
Comment on Import data from TFS online into the data model through Power Query by Marc http://www.powerpivotblog.nl/import-data-from-tfs-online-into-the-data-model-through-power-query/#comment-205101 Wed, 12 Nov 2014 12:16:27 +0000 http://www.powerpivotblog.nl/?p=6281#comment-205101 When I try to do this (also by the browser) I get “Not found – The TFS Project Collection named DefaultCollection was not found.”

Idea?

]]>
Comment on Ask your questions here by Thomas http://www.powerpivotblog.nl/ask-you-questions-here/#comment-205071 Wed, 12 Nov 2014 02:59:49 +0000 http://business-inteligence.kdejonge.net/?page_id=2#comment-205071 Chris,

Your insight and directions on Anthony’s issue were so-right-on-the-money.

Have you ever thought about teaching this stuff?

]]>
Comment on Ask your questions here by Thomas http://www.powerpivotblog.nl/ask-you-questions-here/#comment-205061 Wed, 12 Nov 2014 02:29:52 +0000 http://business-inteligence.kdejonge.net/?page_id=2#comment-205061 Anthony,

I think this is where Chris is trying to steer you:

YTD Last Year:=CALCULATE([Value Sale YTD], DATEADD(Dates[Time],-12, MONTH))

The CALCULATE references [Value Sale YTD] and [Value Sale YTD] explicitly defined that the year end was June 30.

It works.

]]>
Comment on Ask your questions here by Chris Gilbert http://www.powerpivotblog.nl/ask-you-questions-here/#comment-205041 Tue, 11 Nov 2014 18:21:06 +0000 http://business-inteligence.kdejonge.net/?page_id=2#comment-205041 Have you looked at Kasper’s write-up on this?

http://www.powerpivotblog.nl/get-the-ytd-of-same-period-last-year-using-dax

Maybe that will help.

]]>
Comment on Ask your questions here by anthony good http://www.powerpivotblog.nl/ask-you-questions-here/#comment-205031 Tue, 11 Nov 2014 18:13:58 +0000 http://business-inteligence.kdejonge.net/?page_id=2#comment-205031 Hi Chris

Thanks for the response.

Yes i see.. i must be having a mind blank at present, as how do i make the “ytd last year” relate to the “value sales ytd”. I tried simple to do “value sales ytd” minus 12 months but it didnt work.

Thanks

]]>
Comment on Ask your questions here by Chris Gilbert http://www.powerpivotblog.nl/ask-you-questions-here/#comment-205021 Tue, 11 Nov 2014 17:29:41 +0000 http://business-inteligence.kdejonge.net/?page_id=2#comment-205021 Anthony,
Your “YTD Last Year” measure (calculated formula) doesn’t make any reference at al to the “Value Sale YTD” measure, or contain any information that the model would know that your year starts in July (your “30-06″ value). There has to be a common point of reference… The two don’t know anything about each other!

]]>