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

Calculated columns

$
0
0

Using a simple division I'm trying to show a A / B give C% in a Powerpivot table.

My Dax formula can do this no problem, but when I add to my Power pivot it sums the Client %.

Now, if I wasn't using the DataModel I would use a simple 'Calculated field' from the Powerpivot menu but it's greyed out.

Can anyone advise how best to do this using the Data Model?

Thanks.



Initialization data source failed and constant OLAP query running

$
0
0

I am running 64bit powerpivot on Excel 2010 and my workbook has suddenly started throwing these errors on opening. Even if I load old workbooks that were fine months ago i get the same.  If I try to sort a pivot table column I get the whole OLAP cube recalculating "OLAP query" running" or if I try to add any existing measure etc. Taking 30 minute for any change I make. As this problem exists even for old books I'm assuming it a structural not a workbook issue.  

I have uninstalled and reinstalled powerpivot .  I saw somewhere to check the registry HKEY_CLASSES_ROOT\MSOLAP\CurVer registry key. mine says MSOLAP.5

I dont know much about structural things os can anyone point me in the right dirction as the whole thing is just unworkable now.

Thanks

mIke

Dynamically select columns DAX

$
0
0

Dear all,

I want to create a measure to calculate many key figures that are ratios of aggregations of values (normally just sums).

As performance matters significantly, I add two calculated columns per key figure to a table (T).

To give an example let us say I want to calculate the ROCE. So I add ROCE_numerator and ROCE_denumerator to table T. 

This way my measure for ROCE would look like this:

ROCE:=
(CALCULATE
(
     SUM(VALUES[AMOUNT]));
     T[ROCE_numerator] = "positive"

)

-

CALCULATE

(

       SUM(VALUES[AMOUNT]));

       T[ROCE_numerator] = "negative"

)   

)/

(CALCULATE
(
     SUM(VALUES[AMOUNT]));
     T[ROCE_denumerator] = "positive"

)-

CALCULATE

      SUM(VALUES[AMOUNT]));

     T[ROCE_denumerator] = "negative")

)

If I could find a way to convert text into a column name, I could easily make a measure that calculates all key figures by changing the column names from ROCE_numerator to any other numerator. (Moreover I assume making extensive use of IF clauses would hinder performance.)

Does anyone have an idea how this could be achieved? Any ideas are very welcome! As this solution is of course work in progress I would also love to hear suggestions if someone has a good solution to this kind of exercise.

Best regards and a nice weekend!

Clemens 

Last year sales calculation isn't working in custom calendar

$
0
0

Hi everybody!

Please help me to solve issue with last year sales calculation. I have 'Fact' table with sales for every period in it and related table 'Time' with 1, 2, 3 'PeriodID' column for string MAT 2011, MAT 2012, MAT 2013. What I want to see looks like this table:


Sales TYSales LY
MAT 2011 66
A8
B31
C5
D22
MAT 2012 82 66
A108
B2331
C335
D1622
MAT 2013 95 82
A1710
B2023
C4533
D1316
Total 243

I saw a solution in another topic here. In my case code turned into such expression:

=CALCULATE ( SUM(Fact[Sales]); FILTER (ALL ('Time'); 'Time'[PeriodID] = MAX(Time[PeriodID]) - 1))

But the issue is in receiving the pivot table like below. I saw just MAT 2012 column filled with MAT 2012 sales instead of 2011. Besides this MAT 2013 in pivot table is empty completely.


Sales TYSales LY
MAT 2011 66
A8
B31
C5
D22
MAT 2012 82 82
A1010
B2323
C3333
D1616
MAT 2013 95
A17
B20
C45
D13
Total 243 82

What I'm doing wrong?

Thanks!


Problem with sorting months chronologically

$
0
0

Hi everyone,

I tried to sort months in chronological order using MONTH function but it doesn't work.

First I create a calculate column with MOUNTH function, sort it and then sort my data column by new calculate column. Colimna 'miesiąc' is calculated using TIME column.

What I'm doing wrong? I would like to have year and months in chronological order.

Thanks for help.


Filtering data already filtered using DAX

$
0
0

Hi there

I am using DAX to calculate the count of instances in a filtered table

e.g.

=CALCULATE( COUNT(Table[Tariff] ,
        FILTER( Table , Table[Tariff] > 0 )
           )

This part of the code works fine. My trouble arises when I am trying to filter the table that I have already filtered:

=CALCULATE( COUNT(Table[Tariff] ,
        FILTER ( FILTER( Table , Table[Tariff] > 0 ) , Table[Tariff] = MIN(Table[Tariff]) )
           )

In the above calculation, I want to 

1. Filter out the tariffs that are greater than zero [this bit works fine]; and then

2. Take that table filtered from 1. above and further filter that by extracting only those tariffs that are equal to the minimum in that data table [this part isn't working].

Instead of doing what I need it to, this formula is treating the outer FILTER in the same manner that it would be treated if I had only one filter. Thus, as zero is the minimum in the unfiltered data set it is only returning all the zero tariffs - even through I filtered these out already.

If anyone can please assist, it would be much appreciated.

Cheers
Andrew

powerpivot add-in disapearing

$
0
0

Dear All

My issue is disappearing powerpivot ad-in every time I open excel file

I found several solutions but non of them works:

1) Check whether the add-in is disabled, you can find that from file->options-->addins-->Manage Disabled Items and click Go. If you find PowerPivot for Excel is disabled enable it

2) Check whether the add-in is unloaded, you can find that from file-->options>addins->Manage COM addins and click Go. If PowerPivot for Excel is unchecked, check it again.

3) Make sure your Excel Version is compatible with PowerPivot.

4) If you still have problem, try the below steps which should give you error

1) Open My Computer Properties
2) Click on Advanced Tab
3) Click on the Environmental Variable
4) Click on New User Variable
5) Add VSTO_SUPPRESSDISPLAYALERTS with value 0 press OK
6) Repair PowerPivot For Excel from add/remove
program
7) Open Excel again, it will prompt an error message.

5) Microsoft Visual Studio 2010 Tool for office runtime (x64) install

6) Latest Powerpivot version Installed

My system details:

- Win 7 Professional 64bit

- Microsoft Excel 2010 32 bit

- Powerpivot version: In Powerpivot settings there is 11.0.3000.1 but I am sure I download and Install the latest

11.0.3129.0

Previously mentioned point 2) is a temporary solution. PowerPivot add-in opens but after the file closed it disappear and this action need to be repeated every time when a file is opening.

The problem appeared probably after I change regional settings:

START ->Control Panel -> Clock, Language, and Region -> Region and Language -> Formats -> Additional settings - >Numbers

I thought there could be also compatibility issue between 64 Win 7 and 32 bit excel, but before this regional setting was changed poverpivot had been working well.

Regional setting looks like this: Can this affect on Powerpivot action?

I have also Powerquery installed and it working well, but Powerpivot doesn't.

What can cause those issue?



Refreshing Problem with Excel

$
0
0

Hello

Scenario:

I have some servers with mysql 2012 with the same db.

I created the reports with the connection the server and function worked fine.

after i copied the excel file to another server, i tried to change the connection.

First i changed the "PowerPivot Data Connection" and he sayed that connecntion is fine but on klick "refresh" the message "We couldn’t refresh the connection. Please go to existing connections and verify they connect to the file or server." was shown.

Then i tried to refresh with the "Tabe proberties". On klick "Refresh Preview" he shows me the data but after klicking save the error Message "OLE DB or ODBC error: Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done...    The current operation was cancelled because another operation in the transaction failed." wa comming.

also went throgh the blogs but it did not help

Can someone please help or have some advise for me?

Regards


Creating a cumulative total by day measure which resets each month.

$
0
0

Hi,

I need to creative a cumulative total measure (or calculated column) which accumulates my revenue sales for each day in a month, but resets each month.

I've created an example below:


The dates are from a linked date table and are based on a fiscal year.  When the months are collapsed the months can either accumulate or stay fixed to the max for the month, that does not affect me.

I have tried various attempts using the guides below and I'm sure the answer is there but I can't get the filtering right.

I can get it to work but accumulate since the start of my data but this is not what I need.

http://www.daxpatterns.com/cumulative-total/
http://javierguillen.wordpress.com/2012/11/28/running-total-techniques-in-dax/

Thanks.


Values not displaying in pivot table

$
0
0

Hi

I have Excel 2013 and have a situation where values that are available in Powerpivot are simply not displaying in a pivot table for some reason. I have refreshed, dropped and re-added the field and I can't get them to display.

Below is a screenshot.

Paul

3 disconnected slicers running against comma separated fields working in tandem

$
0
0

We have a situation where we would like a slicer to run against a column of comma separated values which we have cracked (in this example the Numbers values).

If ( Hasonevalue(Table1[Numbers] ),
          Calculate (
            LASTNONBLANK (Table2[Numbers], 1 ),
            Filter ( Table2, SEARCH(Table2[Numbers],Values(Table1[Numbers]),1,0) > 0 )
          )
    )

The problem is that we have three such columns that we would like to search in tandem, in the example this is Numbers, Names and Towns. And I have similar blocks of code to the above for those two columns.

If ( Hasonevalue(Table1[Names] ),
          Calculate (
            LASTNONBLANK (Table3[Names], 1 ),
            Filter ( Table3, SEARCH(Table3[Names],Values(Table1[Names]),1,0) > 0 )
          )

    )

If ( Hasonevalue(Table1[Towns] ),
          Calculate (
            LASTNONBLANK (Table4[Towns], 1 ),
            Filter ( Table4, SEARCH(Table4[Towns],Values(Table1[Towns]),1,0) > 0 )
          )

    )

When I add any one of the calculated fields to the pivot table they work perfectly, but if I add more than one then they work as an OR not as an AND. As an example if I choose One, Bob and Croydon I get three rows returned i.e. row one because I choose One, row two because I choose Bob and row three because I choose Croydon. Ideally in this case I wouldn't get anything because no single rows contains all those values.

I have tried adding a combo calculated field but I can't get the syntax right.

If (  Hasonevalue(Table1[Numbers] ) &&
 Hasonevalue(Table1[Names] ) &&
 Hasonevalue(Table1[Towns] ),
          Calculate (
            LASTNONBLANK (Table2[Numbers], 1 ),
            Filter ( Table2, SEARCH(Table2[Numbers],Values(Table1[Numbers]),1,0) > 0 )
          )
 &&
 Calculate (
            LASTNONBLANK (Table3[Names], 1 ),
            Filter ( Table3, SEARCH(Table3[Names],Values(Table1[Names]),1,0) > 0 )
          )
 &&
 Calculate (
            LASTNONBLANK (Table4[Towns], 1 ),
            Filter ( Table4, SEARCH(Table4[Towns],Values(Table1[Towns]),1,0) > 0 )
          )
    )

Is someone able to either correct what I have got, suggest a way to amend my approach or come up with something completely different?

Thanks

Paul

use Powerpivot table results as base for another Power Pivot

PowerPivot Relationships not working in pivot tables

$
0
0

Hi all,

I'm struggling with relationships in PowerPivot, I've been researching this problem for a few days, found plenty of proposed solutions, but none of them work.

Firstly, I'm working with a snippet of data from a larger data set to try and sort out the problems. The spreadsheet has two tables, both of which were taken from a single table. Each table contains multiple columns that contain unique values (ID, AWG ID, TITLE), and they also contain some other data.

Here is a pivot table showing the output I'm getting when I attempt to create a relationship between the two tables on the ID column (not shown). Each "AWG ID" should have exactly one "Next Milestone", but instead it's showing EVERY "Next Milestone" for EVERY "AWG ID".

Here is the first table. Contains the unique fields (ID, AWG ID and TITLE), and some other fields.

Here is the second table, contains the same unique fields, and other different fields (Next Milestone)

(see first image in reply below)

The relationship looks like this:

(see second image in reply below)

I'm quite sure i'm defining this relationship correctly, I've tried the same process with a demonstration dataset I found on the net and the relationships work as I would expect, so I'm assuming there's a problem with my data, or unique keys.

I've tried changing the direction of the relationship, changing the relationship column value format (Integer value fields, text value fields etc).

I've also tried using the RELATED() function to get the value, and this works fine, but it's not a suitable solution to my problem I MUST be able to define the relationships, then use pivot tables to explore the related data.

The closest problem I've found so far was discussed in this thread but the solution doesn't appear to have been documented.

Our IT team have done a pretty thorough job of locking down file sharing, so I'm struggling to upload the sample file so if I figure out a way, I'll update it here.

Thanks in advance.

Error message when launching PowerPivot Window using Excel 2010

$
0
0

I have installed the latest version of Powerpivot on several of our workstations.  Some of them are running the application just fine and some of them are getting an intermittent error message when trying to launch the PowerPivot Window.

We are running Windows 7 ENT 32bit with Office 2010 32bit

The error message given is : An operation that uses the database driver could not be completed.   If the driver is a Microsoft driver, make sure the drvier file isn't damaged, and if it is, reinstall the driver by re-installing Microsoft Query.  

You can then try again and it will work.

In fact the majority of the time this error message won't appear.

The application has been removed and reinstalled.

When I checked event viewer i'm finding this error which I think is related

The description for Event ID 1 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.

City with top representative

$
0
0

Hi

I'm using powerpivot in Excel and need a list of cities and to every city, the top representative with his turnover in this city.

The plain data are

City    Representative   Product   Turnover

CityA  Meier                WatchA    1000
CityA  Meier                WatchB      500
CityA  Müller                WatchA      200
CityB  Müller               WatchA    300

So, result should be

CityA   Meier        1500
CityB   Müller        300

How can I solve this with calculated Column?

Best regards

Christoph




PowerPivot for SharePoint 2013 on Windows Server Core?

$
0
0

Can PowerPivot for SharePoint 2013 be installed on a Windows Server 2012 Core OS with SQL Server 2014 Core? I know SSAS can be installed on Windows Server Core, but I can't find anything for PowerPivot for SP2013.

Thanks,
Tim

Help, PowerPivot in Excel 2013 is missing

$
0
0

hi

I recently change excel 2013 preview to excel profesional 2013 but PowerPivot is missing, what do I have to do, It`s not in the COM add-ins list, I tried too many ways, somebody can help me.

Help to speed up CALCULATE formula

$
0
0

I am building a reporting system of production profiles for a set of assets. The key data structure is as follows:

Version  Field               Action    Profile          Date          Production     RiskCategory

v1          Field1         Action00    00_Low      31/1/2014        5000         0

v1           Field1         Action00    00_Low     28/2/2014         4980        0

v1           Field1         Action00    00_Low     31/3/2014          4950       0

v1           Field1        Action00      00_Base     31/1/2014        5300       1

..

v1           Field1        Action00      00_High     31/1/2014         5600       2

..

v1           Field1        Action01      01_Low     31/1/2014        8000         0

...

 v2           Field1         Action00    00_Low    31/1/2014          2000         0

 ...

Ie. the data consists of production profiles. Each [Version] has many [Field]s who in turn have many [Action]s who in turn have a High, Base, Low [Profile]s who in turn have a [Production] for each [Date].

Data size:

Each profile has a monthly entry from 2014 to 2034. There are typically 10 Actions per field, and maybe 4 fields per version. So number of rows per version is: 12months*30years*3profilesperaction*10actions*4fields = 43200. Number of versions per data set is not decided yet, however as time goes by there will be a steady increase in nr of versions... it all depends on the speed and practicality.

Related tables:A related table (on Version and Profile) adds [Risk Category] to the [Profile] (and other attributes not relevant here. There is also another related table on [Version] [Field] [Date] not relevant here.

Problem Description: I use PowerPivot to tie 3 tables togetether via composite keys (calculated column = [Version]&[Profile] etc). So I dont have to repeat [RiskCategory] for each date in the profile table and makes QCing inputs far easier. The purpose of the database is to take the production profiles and slice them in different ways to satisfy different input systems.

The most challenging is that I need to calculate the incremental contribution from the Base and High  [Profiles] in each action.

Generate a calculated column that for each Date in each Action calculates:

if [RiskCategory] (thisrow) = 1, then [Production])

If [RiskCategory] (thisrow) = 2, then [Production] (where [RiskCategory]=2)  - 

                                           [Production] (where[RiskCategory]=1)

If [RiskCategory] (thisrow) = 3, then [Production] (where [RiskCategory]=3)  - 

                                           [Production] (where[RiskCategory]=2)

My solution below is a Calculated Column that uses Calculate Allexcept and Earlier to remember the row context. However, the calculation is a little slow: 5 sec maybe - which will get worse as I add more versions and possibly more fields with more actions. and I would like to see if I can speed it up:

=if( Profile[RiskCategory]>1,

Calculate(SUM(Profile[Production]), Allexcept(Profile,Profile[Date],Profile[Version],Profile[Action]), Profile[RiskCategory] = Earlier(Profile[RiskCategory]))-
Calculate(SUM(Profile[Production]), Allexcept(Profile,Profile[Date],Profile[Version],Profile[Action]), Profile[RiskCategory] = Earlier(Profile[RiskCategory])-1)

,Profile[Production])

Any suggestions?

Hope this is clear.

Thanks

Lars


Power Pivot TechNet Guru News: October Winners Announced

$
0
0

All the votes are in! 

 

And below are the results for the TechNet Guru Awards, October 2014 !!!!

 

For a full list of winners, see the full blog post, as runners up had to be removed from this post to fit the forum max length restrictions.

 

Guru Award BizTalk Technical Guru - October 2014  

Gold Award Winner

Agustín MántarasVisual Basic script to deal with BizTalk Suspended MessagesMandi Ohlinger: "A quick and easy way to handle suspended messages. I'm a fan!"
Ed Price: "Great article! Thanks for including an MSDN Gallery link, a See Also section that links to the Wiki portal, and some great example snippets!"
Sandro Pereira: "Nice script, in my opinion it will be best to write this in PowerShell script. Well written, well formatted (some minor improvements can be made)"

Silver Award Winner

Johns-305 [boatseller]BizTalk: EDI Features Not Just For HIPAAMandi Ohlinger: "A great walkthrough including the screen shots. Nice addition to the Wiki. "
Ed Price: "Good use of images and color in the code snippets!"
Sandro Pereira: "Nice start be this article should be explained better. Article format can be improved."

Bronze Award Winner

Steef-Jan WiggersSecuring BizTalk endpoints leveraging Sentinet API Management Part 3Sandro Pereira: "Another excellent article in this series on Sentinet API Management. Well written, well formatted with nice pictures, great article and I love the topic."
Ed Price: "Fantastic depth on this article!" 

 

Guru Award Forefront Identity Manager Technical Guru - October 2014  

Gold Award Winner

Wim BeckEvent Driven Scheduling of Forefront Identity Manager (FIM) using a Windows ServiceEd Price: "Fantastic job on formatting, the code, and all the explanations! The TOC and References are a nice touch!"
PG: "Nice innovative solution, that is a nice add-on to existing solutions. " 

Guru Award Microsoft Azure Technical Guru - October 2014  

Gold Award Winner

ChervineCreating and Querying Microsoft Azure DocumentDBJH: "DocumentDB is one of my favorite new services on Azure. It's cool to see that someone seems to be excited as I am. Hope that this article is just the beginning of a whole series about Azure DocumentDB."
Ed Price: "Great use of images and code snippets. Good conclusion! Great topic!"

Silver Award Winner

ChilbetoPublishing Multiple Azure EnvironmentsTN: "Great "
JH: "This topic is normally forgotten when talking about Cloud development. I had a hard time to find an appropriate mechanism myself. This article provides one of the better ways how you can deploy multiple environments to Azure."
Ed Price: "Great overview article. Good diagram at the top! Could benefit from a TOC and References. Good job on the conclusion!"

Bronze Award Winner

saramgsilvaMicrosoft's Windows AppStudio: Add Support For Push NotificationEd Price: "Great introduction and incredibly thorough. Great job!"
JH: "A new article about AppStudio focusing on push notifications. Push notifications in my opinion, when done right, makes an app alive. Would love to see a complete example with all features mentioned in the related articles published on GitHub." 

 

Guru Award Microsoft Visio Technical Guru - October 2014  

Gold Award Winner

Mr XUnattended installation of Visio 2013Ed Price: "Great job, Mr X! Good use of images!"
AH: "It gives good instructions with the help of the pictures but its still missing detailed information if some user needs it. Need to provide a wiki/msdn references that are available something like http://technet.microsoft.com/en-us/library/cc179097.aspx. Overall decent article"

Guru Award Miscellaneous Technical Guru - October 2014  

Gold Award Winner

Brian NadjiwonHow to Create and Use Classes in PowerShellRichard Mueller: "Very interesting concepts. It would help to name the objects something like "Jim" rather than "Person", for example. There should be a See Also section, and more links to references."
Ed Price: "Great topic and explanations of the classes!"

Silver Award Winner

Andy ONeillVisual Studio: Snippetty TipRichard Mueller: "Great idea with some good advise."
Ed Price: "Great explanations of the code snippets! Fun topic! As is mentioned in the comments and in the article, many people don't know this is possible!"

Bronze Award Winner

saramgsilvaHow to create a Virtual Machine for run Windows 10 Technical PreviewEd Price: "Fantastic topic! Good use of images!"
Richard Mueller: "Good images and a good step by step explanation. Needs links to references and other Wiki articles (See Also). We should try not to use first person."

Guru Award SharePoint 2010 / 2013 Technical Guru - October 2014  

Gold Award Winner

Geetanjali AroraSharePoint Online : An Introduction to Office DelveTN: "Great wrap-up about Delve"
Ed Price: "Amazing depth and a great overview to a new topic! Great job on the images and details!"
GO: "woohooo; a DELVE article. Great work."
Margriet Bruggeman: "A new topic explained well, I was actually looking for this info!"
Jinchun Chen: "Great."

Silver Award Winner

Steven AndrewsBuilding a list specific search with JavaScriptTN: "Great tip for mid-dev"
Ed Price: "Great job on the descriptions, formatting, images, and See Also section! Check out the great comment from Dan at the bottom of the article!"
GO: "Nice work Steven. It's definitely a great article.!"
Margriet Bruggeman: "Great! easy to use solution for a request that is made often"
Jinchun Chen: "Nice work"

Bronze Award Winner

Dan ChristianNo-code solution to lookup previous item in a listEd Price: "Effective images and helpful video and See Also help round out this great article!"
GO: "Thanks Dan and as USUAL an usefull article."
Jinchun Chen: "Nice. If InfoPath Form is accepted, we can use InfoPath Form to achive the goal as well."
Margriet Bruggeman: "I can tell that effort is taken to explain the idea well"

 

Guru Award Small Basic Technical Guru - October 2014  

Gold Award Winner

Nonki TakahashiSmall Basic: Rotation Centers for Shapes of Triangle and LineRZ: "Excellent article. This is a must read if you want to make an object move. You need to understand the coordinates and the rotation center."
Ed Price: "Great use of images!"

Silver Award Winner

Nonki TakahashiSmall Basic Known Issue: 26992 - GraphicsWindow.GetPixel(X, Y) Doesn’t Work Properly If X Or Y Has after the Decimal Point in RemoteEd Price: "Good recommended workaround!"
RZ: "Yeah, another bug in Small Basic that might get you and need to be fixed :)"

Bronze Award Winner

Nonki TakahashiSmall Basic: International ResourcesEd Price: "Oh, yeah. This one is so amazing! Thank you for making this and organizing the resources so well!"

 

Guru Award SQL BI and Power BI Technical Guru - October 2014  

Gold Award Winner

Visakh16Random SSRS Musings 1 : Rowset Concatenation Using Native SSRS ExpressionsMR: "Interesting example of LookupSet function usage"
RB: "merging columns on a single line with an interesting solution"
Jinchun Chen: "Good workaround we are generally using."
Ed Price: "Great descriptions and use of images!"

Silver Award Winner

Jan D'HondtDates in Excel files rendered from reports are displayed as plain numbersEd Price: "Great job laying out the sections. The images help convey a lot!"
MR: "Very short tip that could be useful because of different behavior on iPad and Windows"
RB: "interesting work-around."

Bronze Award Winner

Anushka WeerakkodygeIntegrating Power View with SharePoint Server 2010/2013 - Multidimensional ModeRB: "nice walkthrough"
Ed Price: "Great depth in the procedure steps! It's similar to another article (see comment), but it's still a good addition. Good use of images!"
MR: "This article explains how to install Power View on SharePoint but do not explain that Reporting Services is the tool required for Power View to work - the initial setup is required only whether SSRS has not been installed before. Otherwise, it has to be upgraded and then the shortcut can work."

 

Guru Award SQL Server General and Database Engine Technical Guru - October 2014  

Gold Award Winner

ShankyIn depth Look at What can Cause Index to be Still Fragmented After RebuildAM: "Well covered."
Ed Price: "Good job on the explanations, Conclusion, and See Also section!"

Silver Award Winner

Ronen ArielyRepresenting list of values using a single valueEd Price: "Great breakdown of sections! Good formatting on the sections and code snippets! Great interactions in the comments!"
AM: " Interesting options and walk through."

Bronze Award Winner

Visakh16Generate Scripts for Stored Procedures Without Dynamic SQL in SSMSAM: "Nice tip for better use of SSMS."
Ed Price: "Great breakdown of the problem and solution. As Saeid wrote in the comments, "Clear article which shows handy solution!" Good job!"

Guru Award System Center Technical Guru - October 2014  

Gold Award Winner

Alan do Nascimento CarlosALM and IT Operations - Management 360 with System Center Operations Manager in 06 StepsEd Price: "Lots of images. Great job breaking up the steps! Could benefit from a TOC and References. Great article!"
GO: "Thanks for the only article. great btw. :-)"

Guru Award Transact-SQL Technical Guru - October 2014  

Gold Award Winner

Visakh16Behavioral Difference of IIf Function in T-SQL Compared To SSRSRichard Mueller: "Nicely done with code examples. The "See Also" section should only link to Wiki articles."
GO: "Wonderfull article thank you!"
Jinchun Chen: "Interesting comparison "
Ed Price: "Good topic. Very clean and clear. Great article!"
JS: "Good writeup, though I would bring the comparison with the table to the top and reference the samples from there."

Silver Award Winner

Ronen ArielyINSTEAD OF TriggersEd Price: "Good depth here. Great explanations of the code! Great job interacting in the comments and improving the article!"
JS: "Use object qualifiers (schema name to make sure that the right objects will be picked, e.g. dbo.) Outline ab bot more the things what not to do in production! Be aware that although people read this, they tend to use it anyway. If triggers are enabled, they are executed once for each batch They are executed each statement not batch, miswording here."
Richard Mueller: "Good article. The "See Also" should only include Wiki articles. Some of the "Resources" could be moved to "See Also". Grammar needs work."
GO: "Thanks" 

Bronze Award Winner

Praveen Rayan D'saFind the Database where user defined object located and where it is being referred.GO: "This article deserves absolutely a medal THANKS!"
Jinchun Chen: ""
Richard Mueller: "Good topic. Grammar needs work. "Caution" states undocumented stored procedure is safe for production, but later states it is not."
Ed Price: "Great article. We should include the technology in the title. Good descriptions, and great References!"
JS: "Although the outlined solution is interesting and shows the public the usage of the "new" system views finding the right dependencies, it is not recommended to describe the usage of undocumented features such as sp_msforeachdb as there are alternatives, especially in this scenario. You could generate a query using the sys.databases view and let it print out the database name along with the use statement. In addition to this and as the statement has to be run with a high privileged account as schema information is secured as well, it should be made safe to SQL injection. In many case in the statements there is just a concatentation of values used. You can easily inject code in here, Also make sure that names / object identifiers are quoted with [] in order to allow also special characters like spaces in the names"

Guru Award Visual Basic Technical Guru - October 2014  

Gold Award Winner

.paul.Image balloonTipsRichard Mueller: "Lots of code. Great idea. The "See Also" section should only include links to Wiki articles."
Ed Price: "Great solution. Good explanations!" 

Silver Award Winner

.paul.Image Arrow PointersRichard Mueller: "Interesting idea. Need more links. Don't use first person." 
Ed Price: "Creative solution! It would be good to break up the code more, to explain it. Great article!"

Bronze Award Winner

Paul IshakVisual Basic Graphics Frame Class (Easily Converted to C#)Ed Price: "Good solution! Could benefit from more explanations of what the code is doing."
Richard Mueller: "Don't use first person. Could use more description, explanation, and links."

Guru Award Visual C# Technical Guru - October 2014  

Gold Award Winner

ChervineUsing XML Serialization with C# and SQL ServerEd Price: "It goes on for quite a while! Great job breaking out all the code snippets and explaining them well! Could benefit from a References or See Also section. Great TOC!"
Søren Granfeldt: "In these days of generic data, this serves as a good example of storing unstructured data"
Margriet Bruggeman: "Through discussion of the topic"
DB: "Interesting"

Silver Award Winner

Magnus (MM8)C#: Generic Type Parameters And Dynamic TypesSøren Granfeldt: "Nice example of diving into generic code and extensibility"
DB: "Good walkthrough of generics and reflection"
Ed Price: "Important topic! Great descriptions."
Margriet Bruggeman: "Good, I like the way the article covers various sides of the problem"

Bronze Award Winner

saramgsilvaFile exporter for IEnumerable of TEd Price: "Another great article from Sara! Great job on the TOC and code snippets!"
Søren Granfeldt: "Great idea; could use a little more generic approach on the formatting of values"
Margriet Bruggeman: "Nice example of applying generics" 

 

Guru Award Wiki and Portals Technical Guru - October 2014  

Gold Award Winner

Durval RamosSummit: Principles of International TNWiki SummitRichard Mueller: "A great writeup and introduction to this fantastic idea. Well done."
Ed Price: "Great depth and planning for this event!"
GO: "This is one of the best Portals that I've ever seen! Thanks"

Guru Award Windows Phone and Windows Store Apps Technical Guru - October 2014  

Gold Award Winner

saramgsilvaHow to Integrate Cortana in the Menu AppJH: "I got three words for you: I love Cortana! This article shows nicely how to integrate Cortana into your own app. Would love to see more."
Ed Price: "That's what I'm talking about! Way to go for a "What's Next" topic and nail it! I expect this article to gain a lot of interest. Fantastic article!"

Silver Award Winner

Carmelo La MonicaThe class GeocodeQuery in Windows Phone 8.JH: "Lots of code examples about a feature some apps should be use more. Geocoding becomes more and more important, so this article fits perfectly into this."
Ed Price: "This is an important class with a lot of possibilities. Great execution on this article! Could benefit from a References or Additional Resources section. Good job wrapping it up with the conclusion."

Bronze Award Winner

saramgsilvaExport To CSV for Windows Store appsJH: "Most people laugh when they hear about CSV export of data. A database would be a better place for the data of an app. In my opinion this is not always true (because CSV is small and can be used in different ways), so most apps should have the capability to export data into the CSV file format. This article shows how this can be done."
Ed Price: "Another very important article. I love the Source link to the MSDN Gallery. Great job!"

Guru Award Windows Presentation Foundation (WPF) Technical Guru - October 2014  

Gold Award Winner

Andy ONeillWPF: Entity Framework MVVM Walk Through 1Ed Price: "Very well formatted, clear sections, and lots of depth and clear explanations! The TOC, code snippets, Summary, and Further Reading links all help round out this great article!"
KJ: "awesome" 

Silver Award Winner

saramgsilvaHow to binding a ResourceDictionary to a Lisbox in apps based in XAMLEd Price: "Incredibly clear and fantastic topic! The TOC and Source link to the Gallery item help provide more value!"
GO: "She did it again. Great article." 

Bronze Award Winner

Shweta LodhaPopUps with Interactivity [Prism 5.0]KJ: "handy"
Ed Price: "Good clarity and use of code snippets and images. Could benefit from a TOC and References/See Also. Great job!"
GO: "Layout could be better, but still valualble article."

 

Guru Award Windows Server Technical Guru - October 2014  

Gold Award Winner

Richard MuellerActive Directory: Generalized-Time AttributesMark Parris: "Very detailed article providing very good information."
GO: "Top 1 AD article Thanks Richard."
JM: "This is an excellent article, thanks for your contribution."
Philippe Levesque: "Good article ! I really liked the note about the whenChanged"

Silver Award Winner

Darshana JayathilakeSome useful features with Windows Group policiesJM: "This is an excellent article, but I recommend making the title more accurate by renaming it something like "How to configure Applocker using Group Policy" "
GO: "I like the article; so great written"
Mark Parris: "A good insight on some GPO settings and their capability."
Philippe Levesque: "Good visual howto !"

Bronze Award Winner

Mr XHow to manage Windows Taskbar Items pinning using Group PolicyPhilippe Levesque: "Good subject well explained, already seen users that ask for that in the forum as it's new."
JM: "This is a good article that would be much more useful if you specify the Windows versions to which the article applies."
GO: "Merci, Mr X"
Mark Parris: "Very useful, especially if you need to utilise this capability post deployment."

-------------------------------- 8< --------------------------------

A huge thank you to EVERYONE who contributed an article to October's competition.

Hopefully we will see you ALL again in November 2014's listings?

If you haven't contributed an article for this month, and you think you can create a more useful, clever and better presented wiki article than the winners above, here's your chance! :D

Best regards,
Pete Laker

More about the TechNet Guru Awards:


#PEJL
Got any nice code? If you invest time in coding an elegant, novel or impressive answer on MSDN forums, why not copy it over toTechNet Wiki, for future generations to benefit from! You'll never get archived again, and you could win weekly awards!

Have you got what it takes o become this month's TechNet Technical Guru? Join a long list of well known community big hitters, show your knowledge and prowess in your favoured technologies!

How to have one tile display the total

$
0
0

I created a nice PowerView report, in which I use a list of Countries to filter 4 charts in the report. The Country attribute is added to the View filter, and is displayed as tiles on top of the powerview report.

What I would like to achieve is to have one tile, for example "World", or "Total", which will make the charts display the totals for all countries.

The source of my data is a combination of Active Directory data and a few reference lists created directly in Excel. This means I do not have a connection to a relational database, and I would like to keep it this way.


Half Scheidl

Viewing all 4715 articles
Browse latest View live


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