Namnami
Comments in Named Queries (DSV)
Help with Cube Calculation - Total Monthly Sales in customers First Sale Month
Hi,
I am trying to create a cube calculation to get the total sales during the month when the customer made the first sale.
So for example if the customer made the first sale on 5th January 2016, I want to return the total sales in Jan 2016 for that customer.
I have the Sales measure and also another Measure group which indicates whether or not the customer have ever made a purchase (Some customers can have an account but never purchased).
The expected output is:
Customer | SalesThisMonth | SalesDuringFirstMonth
Cust001 | 2300 | 65
Cust002 | 560 | 900
...
I tried something along the lines of:
SUM
(
EXISTS( [Date].[Month].[Month], [Measures].[Has Made Sale] ),
[Measures].[Sales]
)
but it is not working correctly.
Can anyone shed some light on this please?
Many thanks
We cannot refresh any report(on cubes) using office 2016
Looks like there are issues with office 2016.
We cannot refresh any report(on cubes) using office 2016 but we can create the same.
Can someone suggest ?
Anky
Why would an ostore file be missing? Is it related to constant "attribute key cannot be found" errors?
Hi,
We've backed up and restored an SSAS 2014 database from QA to a UAT server and now the thing will not process. We get the same error every time("Errors in the OLAP storage engine: The attribute key cannot be found when processing: Table...The attribute is 'Policy Dimension Key', Dimension: Dimension name"). In every case, the error mentions the same fact table, the same dimension, and the same key column, but each time with a different key value. In every case, we can find the dimension key in the results returned from the dimension's source view.
We chose to ignore missing key errors (S&G, just wanted to see what would happen) and that helped us process the database successfully, but while browsing the cube from SSMS, we received an error resembling, "An error occurred accessing file '\\L\Program Files\...\cantrecallfilename.ostore'." In that location, we found other files named similar had ostore files, but the ostore file in the error message did appear to be missing. We also counted how many files of different types existed for each object, and that confirmed for us that an ostore file was indeed missing.
I read "How To Deal With Corruption in Analysis Services" (https://blogs.msdn.microsoft.com/karang/2010/08/11/how-to-deal-with-corruption-in-analysis-services/), but my question is more about "why does this happen" than "what do we do now." Also, could the "missing key" processing failure errors be related? In general, what should one do about a database that won't complete a Process Full? (Reinstall and try again?)
Much appreciated,
Eric B.
SSAS Tabular Model Freezing
We have a SQL Server 2014 tabular model that freezes when we deploy it to production. It works in SSDT and when we deploy to our development server. Both Dev and Prod
servers have the same specs and have 128 GB of ram. The tabular model is only taking up 8 GB.
I ran a process clear on the model, and we still have the same issues. I deleted the model from the server, and this brought other models back online. I deleted all the models and only deployed this one and the issues returned. So it's definitely something to do with this model. The model has 168 tables, most of them are small dimensions however we have 2 fact tables with 10 million records and maybe another 4 with around 5 million. My understanding of tabular is that it should be able to handle this fine.
I checked the memory configuration of SSAS and the limits are Hard = 0, Low = 65, Total = 80 which should be fine.
Any suggestions of what else we can try?
exclude msprop:design-time-name at comparison
Hello,
I try to compare SSAS files to check for differences (e.g. between 2 different versions of same myDataSourceView.DSV file).
Currently there are too much false positives for the comparison result to be of any use.
Most of false positives are because of msprop:design-time-name in the XML.e.g. msprop:design-time-name=<long hexa ID which is obviously a hash for the design time, different for each object>
Is there any way to disable this property from SSAS project files ? Is there a way to exclude this at comparison time ?
Thank you for your help
a+,=)
-=Clement=-
Configuration: SQL Server 2012 SP3 ; Source Control : TortoiseHG v3.7.3 ; Comparison: WinMerge or KDiff3
CASE to DAX SWITCH Question
I'm trying to re-create the following CASE statement with DAX SWITCH:
CASE actl_sd_shp_ev_lcl_dt_hash_key
WHEN 99991231 THEN RVS_OTLK_STK_DT_HASH_KEY
WHEN NULL THEN RVS_OTLK_STK_DT_HASH_KEY
WHEN '' THEN RVS_OTLK_STK_DT_HASH_KEY
ELSE actl_sd_shp_ev_lcl_dt_hash_key
END AS Stock_Date
My DAX version is this:
=SWITCH([actl_sd_shp_ev_lcl_dt_hash_key], 99991231, [rvs_otlk_stk_dt_hash_key], [actl_sd_shp_ev_lcl_dt_hash_key])
However, I have not been able to do "" or NULL within the SWITCH function. How do I do that? I keep getting errors.
Display column values that do not exist and set one of the row values based on criteria
Here is my script:
--
with
member [Measures].[Credit Hours]as
iif
(isempty([Measures].[Attempted Credits]),"0",[Measures].[Attempted Credits]),format_string="#,#"
member
[Measures].[Change] as
case
when
isempty((parallelperiod([Term].[Academic Year],1,[Term]),[Measures].[Attempted Credits])) then"N/A"
else
(([Measures].[Attempted Credits]) - (
parallelperiod([Term].[Academic Year],1,[Term]),[Measures].[Attempted Credits]))
/
(
parallelperiod([Term].[Academic Year],1,[Term]),[Measures].[Attempted Credits])
end
,format_string="Percent"
select
filter(([Academic Year]),
([Academic Years Ago].[6]
or
[Academic Years Ago].[5]
or
[Academic Years Ago].[4]
or
[Academic Years Ago].[3]
or
[Academic Years Ago].[2]
or
[Academic Years Ago].[1]))
on
columns,
{[Measures].[Credit Hours],[Measures].[Change]}
on
rows
from
[Student Classes]
where
(
[Academic Level].[COLLEGE CREDIT]
,[Enrolled].[YES]
,[PCS].[11 BACC/TRANSFER]
,[Subject and Course].[GERM]
,[Dual Credit].[YES]
)
Only want data for Academic Years Ago of 1,2,3,4,5,6 and in this output the data only exists for one Academic Year (2011-2012), but I need to view all Academic Years for the 6 Academic Years Ago because I'm doing a change percent from the previous academic year (parallelperiod). If the Academic Year does not exist, I need it displayed as a column and the row value for Credit Hours to be zero, I also need the 6th Academic Years Ago row value for Change to be "N/A".
Thanks.
Sue
Cannot Connect to Tabular Workspace Database Server
When trying to create a new tabular project on SSDT I receive the following error when testing my connection to the workspace database server.
Cannot connect to server 'localhost\tabular'. Reason: You are not an Administrator on the workspace database server 'localhost\tabular'.
I am working on the local machine virtually through an RDP. My DBA says he's given me full admin rights to everything and can't seem to figure out why I am still getting this message. In addition, when I connect to the 'localhost\tabular' in Management Studio I seem to have full admin rights.
Any ideas as to what my DBA and I might be missing?
Thanks in advance.
Browse Partitions; Error: An item with the same key has already been added. (mscorlib)
I've built a tabular model in Data Tools and now I'm trying to add several partitions to one of the fact tables.
However, when I try to do this in the SSMS object explorer, I receive an error upon selecting "partitions";
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Microsoft.AnalysisServices.NodeContextServices.TabularModelQuery.GetPartitionMap(AdomdConnection connection, String query)
at Microsoft.AnalysisServices.NodeContextServices.TabularModelQuery.GetTablePartitionRowCounts()
at Microsoft.AnalysisServices.ManagementDialogs.PartitionService.Impl.TabularMetadataPartitionService.GetTables()
at Microsoft.AnalysisServices.ManagementDialogs.PartitionManagerControl.InitializeTablesComboBox(IPartitionService partitionService, String selectedTableID)
at Microsoft.AnalysisServices.ManagementDialogs.PartitionManagerControl.DoRefresh(String selectedTableId)
at Microsoft.AnalysisServices.ManagementDialogs.PartitionManagerControl.PartitionManagerControl_Load(Object sender, EventArgs e)
I have gone so far as to competly rebuild the model from scratch, but to the same result unfortunately.
I run SQLServer 2016 on Windows Server 2012
The BIM file looks like this:
{"create": {
"database": {
"name": "ReizigersModel2",
"id": "ReizigersModel2",
"compatibilityLevel": 1200,
"model": {
"culture": "en-US",
"dataSources": [
{
"name": "SqlServer vm-sql406 ReizigersDB1",
"connectionString": "Provider=SQLNCLI11;Data Source=vm-sql406;Initial Catalog=ReizigersDB1;Integrated Security=SSPI;Persist Security Info=false",
"impersonationMode": "impersonateServiceAccount",
"annotations": [
{
"name": "ConnectionEditUISource",
"value": "SqlServer"
}
]
}
],
"tables": [
{
"name": "Fact_Trips",
"columns": [
{
"name": "businessday",
"dataType": "dateTime",
"sourceColumn": "businessday",
"formatString": "General Date",
"sourceProviderType": "Date"
},
{
"name": "SiteIdIn",
"dataType": "int64",
"sourceColumn": "SiteIdIn",
"sourceProviderType": "Integer"
},
{
"name": "SiteIdOut",
"dataType": "int64",
"sourceColumn": "SiteIdOut",
"sourceProviderType": "Integer"
},
{
"name": "LijnIn",
"dataType": "string",
"sourceColumn": "LijnIn",
"sourceProviderType": "VarChar"
},
{
"name": "ProductCodeIn",
"dataType": "int64",
"sourceColumn": "ProductCodeIn",
"sourceProviderType": "Integer"
},
{
"name": "Distance",
"dataType": "int64",
"sourceColumn": "Distance",
"sourceProviderType": "Integer"
},
{
"name": "VehicleID",
"dataType": "int64",
"sourceColumn": "VehicleID",
"sourceProviderType": "BigInt"
},
{
"name": "HasMissingCo",
"dataType": "int64",
"sourceColumn": "HasMissingCo",
"sourceProviderType": "UnsignedTinyInt"
},
{
"name": "Ritduurcode",
"dataType": "int64",
"sourceColumn": "Ritduurcode",
"sourceProviderType": "Integer"
}
],
"partitions": [
{
"name": "Fact_Trips",
"dataView": "full",
"source": {
"query": "select * from FactTTrips where businessday between '2013-01-01 00:00:00.000' and '2014-01-01 00:00:00.000'",
"dataSource": "SqlServer vm-sql406 ReizigersDB1"
},
"annotations": [
{
"name": "QueryEditorSerialization",
"value": "<?xml version=\"1.0\" encoding=\"UTF-16\"?><Gemini xmlns=\"QueryEditorSerialization\"><AnnotationContent><![CDATA[<RSQueryCommandText>select * from FactTTrips where businessday between '2013-01-01 00:00:00.000' and '2014-01-01 00:00:00.000'</RSQueryCommandText><RSQueryCommandType>Text</RSQueryCommandType><RSQueryDesignState></RSQueryDesignState>]]></AnnotationContent></Gemini>"
}
]
}
],
"annotations": [
{
"name": "_TM_ExtProp_QueryDefinition",
"value": "select * from FactTTrips where businessday between '2013-01-01 00:00:00.000' and '2014-01-01 00:00:00.000'"
},
{
"name": "_TM_ExtProp_DbTableName",
"value": "Fact_Trips"
},
{
"name": "QueryEditorSerialization",
"value": "<?xml version=\"1.0\" encoding=\"UTF-16\"?><Gemini xmlns=\"QueryEditorSerialization\"><AnnotationContent><![CDATA[<RSQueryCommandText>select * from FactTTrips where businessday between '2013-01-01 00:00:00.000' and '2014-01-01 00:00:00.000'</RSQueryCommandText><RSQueryCommandType>Text</RSQueryCommandType><RSQueryDesignState></RSQueryDesignState>]]></AnnotationContent></Gemini>"
}
]
}
]
}
}
}
}
Why am I receiving the message in excel "Members, tuples or sets must use the same hierarchies in the function" when I drill through
I am connecting to a SQL server 2012 tabular cube in excel. When I add a certain field to the pivot filter, and then double click to drill through I get the message:
"Members, tuples or sets must use the same hierarchies in the function"
As soon as I take off that filter, I am able to drill through. Any ideas what's going on?
MdxScript(Model) (8, 91) The syntax for 'x is incorrect.
I completed the SSAS tabular tutorial and deployed it. The next day I couldn't create a new measure. Whenever I try I have this error message : MdxScript(Model) (8, 91) The syntax for 'x' is incorrect.
It happens with any table, column or formula I try.
Is there a way to debug it?
Thanks
SSAS 2012 - Filter Entire Cube
Hello Experts ,
I have a cube ready , working fine with 10 Fact Tables and few Dimensions with 25 Calculated Measures
My Cube contain 6 years of Data from Year 2010 to 2016.
Source of all the cube fact tables are SQL DB views.
My requirement is , I want my cube to give only current Year Data .
Approach I want to avoid
1) I do not want to put condition of Current Year using GETDATE() in all the 10 View because it is like replication same condition in all .
2) I do not want to create a Name Set which give Current year ,and use this name Set ALWAYS While along with Measures while Running MDX select query.
3) I do not want to create Calculated Measure with Current year Condition and make it big and complex , so that Calculated Measure always givecurrent Year Data by default
Because all above approach will need changes at all the Tables or all Calculated Measure .
Please assist , can any thing be done at Cube level , so that One change can give me Current year Data for all Measures , and If some day Client ask me to give OnlyPreviuos Year + Current year Data or only Previous Year data from Cube ,Making chanage at SINGLE place with do all ?
Please assist ?
how to grouping in SSAS
My MDX select query:
SELECT{[Measures].[Fact Term Employee Count]}ON COLUMNS,
{([Term Reason].[Attrition].[Term Rsn Code].ALLMEMBERS )}ONROWSFROM
(SELECT({[Term Reason].[Attrition].[Term Rsn Group].&[Termination]})
ON COLUMNS FROM[Terminate])
Result:
Termination | Absen more ... | 669
Termination | Violation | 665
Termination | Violation | 7
Termination | Cases | 40
Termination | Cases | 19
Termination | Contract End | 6782
Termination | Efficiency | 244
Termination | Contract End | 11
Termination | Contract End | 7423
Termination | Absent more ... | 290
I need to group it into:
termination | Absent more...|959
termination | Violation |672
termination | Cases |59
termination | Contract End|14,216
termination | Efficiency |244
can anyone help me to achieve this?
SSAS Tabular Count by value
Is there a way to have a measure based on the count of a value in a column? For instance, I have a Status column that has values that are strings like Draft, Pending, Assigned, etc. I would like a count of each of those values. So the pivot in Excel should look like this:
MDX: retrieve firstnonempty value on Year and Quarter levels
Dear all,
I'm trying to find the best way to get the firstnonempty amount on the year and quarter levels.
Here is the example:
Month - Day - Amount
April - 02/04 - 12$
April - 05/04 - 20$
June - 01/06 - 15$
July - 02/07 - 10$
July - Today - 3$
On the year level, i need to retrieve the Amount 12$
On the quarter level, i need to retrieve Q2=12$ and Q3=10$
Based on these values i can calculate the ytd like this: 20/12 (05/04), 15/12 (01/06), 10/12 (02/07), 3/12 (Today)
Based on these values i can calculate the qtd like this: 20/12 (05/04), 15/12 (01/06), 10/10 (02/07), 3/10 (Today)
How can i retrieve these values in MDX?
Thanks in advance
BR
Sorting measures (calculated members) in SSAS cube designer
Hi,
In SSAS 2012 cube designer, on the "Calculations" tab I am writing some simple calculated members and displaying it in a folder (Display Folder=)FolderA
am So this FolderA has the members as below :
[<-A1], [-A1], [A], [A1], [A2], [A3], [A4], [A5],and [>A5]
While I am browsing the cube from Excel 2007, this FolderA is deployed correctly along with the above measures. All fine till here.
However, while I expand FolderA, Sorting is not done correctly. It is displaying like below :
<-A1, >A5, A, A1, -A1, A2, A3, A4, A5
But I want it to be sorted correctly so that it looks good as below :
<-A1, -A1, A, A1, A2, A3, A4, A5, >A5
How to do this at cube level ? Any property or any work around (using the latest SSAS 2012 version)
Thanks
Issue with SSAS tabular 2016 partitioning
When attempting to process a new partition added to a fully processed table we are receiving the following error.
Error 0:Error 0:
The JSON DDL request failed with the following error: Failed to execute XMLA. Error returned: 'Memory error: Allocation failure . If using a 32-bit version of the product, consider upgrading to the 64-bit version or increasing the amount of memory available on the machine.
Memory error: Allocation failure . If using a 32-bit version of the product, consider upgrading to the 64-bit version or increasing the amount of memory available on the machine.
'..
We have tracked memory usage and the server has over 200 GB free when this error occurs. Also doing a full process on the table is successful where an automatic will fail (only the new partition needs processing). So it seems to be directly related to adding a new partition to a already processed table and then attempting to process the newly added partition.
Is anyone else having this sort of issue?
Few details
Table: 513,000,000+ rows across 178 partitions.
SSAS Version: 13.0.2149.0
Server: 2x16 hyperthreaded cores, 384GB, Windows Server 2012R2
Kenny Ruth
SSAS Gurus needed for July!
Come forth all you technical gurus and word wizards!
It's time to show us what you've got, what you know, what you found out!
Spare your fellow professionals from the same mistake!
Share your revelations and awesome ways of doing things!
All you have to do is add an article to TechNet Wiki from your own specialist field. Something that fits into one of the categories listed on the submissions page. Copy in your own blog posts, a forum solution, a white paper, or just something you had to solve for your own day's work today.
Drop us some nifty knowledge, or superb snippets, and become MICROSOFT TECHNOLOGY GURU OF THE MONTH!
This is an official Microsoft TechNet recognition, where people such as yourselves can truly get noticed!
HOW TO WIN
1) Please copy over your Microsoft technical solutions and revelations toTechNet Wiki.
2) Add a link to it on THIS WIKI COMPETITION PAGE (so we know you've contributed)
3) Every month, we will highlight your contributions, and select a "Guru of the Month" in each technology.
If you win, we will sing your praises in blogs and forums, similar to the weekly contributor awards. Once "on our radar" and making your mark, you will probably be interviewed for your greatness, and maybe eventually even invited into other inner TechNet/MSDN circles!
Winning this award in your favoured technology will help us learn the active members in each community.
June's entries are with our judges right now, but here is a reminder of the previous month's winners.
![]() | BizTalk Technical Guru – May 2016 |
![]() | Kjetil Tonstad | Top 10 Tips From a BizTalk Admin to BizTalk Developers | TGN: “I love this, how to help each other. Well done Kjetil!” JS: “Integration apps are a lot more than coding. Always remember these.” SW: “Great article. With the current DevOps trend alignment between developers and administers is key!” Ed Price: “This is a good set of tips, with a few helpful images, and the Reference links at the bottom give more context. Great job!” |
![]() | Eldert Grootenboer | BizTalk Server: Processing large files (streaming) | Ed Price: “Great mix of code, images, and descriptions. Although the code isn’t broken up much (with explanations of what the code does), all the code comments make up for it and make it super clear! Good to end with the See
Also section!” SW: “Streaming large message can be a challenge with BizTalk. This article provide guidance in that area. Very good!” TGN: “I love this, well explained and a question that is very relevant to BizTalk” |
![]() | SMSVikasK | BizTalk Server 2013 R2 Dynamics CRM Online / On Premise CRUD Operations (Part 1) | JS: “Seeing a lot of CRM lately. Good info for anyone who hasn’t worked with it before.” SW: “CRUD om Dynamics guidance article. Good” Ed Price: “Great description (I like CRUD) and fantastic use of images, although it would be better with more explanations in the text.” TGN: “Why did you split these up into to articles? good article though” |
![]() | Forefront Identity Manager Technical Guru – May 2016 |
![]() | Peter Geelen | FIM2010 / MIM2016: Run profile statistics with PowerShell and Excel Pivot Tables | Ed Price: “I love the code formatting with the scroll bar. Great explanations and use of images!” |
![]() | Peter Geelen | FIM2010 / MIM2016: Run profile statistics with SQL and Excel Pivot Tables | Ed Price: “It’s great to have the downloads on TechNet Gallery!” |
![]() | Microsoft Azure Technical Guru – May 2016 |
![]() | Bhushan Gawale | Getting Started with Azure Automation DSC | AS: “Very good and helpful article! Thanks for publishing!” Ed Price: “Great starting point for learning Azure Automation DSC! Good use of images and code, with excellent explanations!” |
![]() | Sibeesh Venu | Creating Azure Mobile App With Visual Studio | AS: “Good starting point, but for me all screenshots are broken – none of them is visible. I would find it particularly useful if you just have provided links to a more detailed article(s) on how to configure Visual Studio
for windows Mobile development. And probably just show a sample with HTML/JS or UWP (if it is available)” Ed Price: “What an important topic that’s very well described! The images add a lot of value!” |
![]() | Sandro Pereira | Azure Logic Apps: Tips and Tricks about the “new” Logic Apps Designer | AS: “A good overview of designer features! I would however also expect to see the less known fact that drop down lists are actually filtered and there is much more to discover when you begin typing into the search field.” Ed Price: “The images are magnificently assembled to make this process incredibly clear. A very important topic! Great job!” |
![]() | Miscellaneous Technical Guru – May 2016 |
![]() | Chilberto | Connecting a BitBucket Repository to Visual Studio Team Services | Richard Mueller: “Well explained. We need links/references.” Ed Price: “Great use of images. This is a fantastic scenario! It could use a See Also section. “ |
![]() | Carmelo La Monica | Manage analog sensor with Raspberry pi2 | Richard Mueller: “Grammar needs work and we need links/references.” Ed Price: “Thorough, and great to have the code and images! But it could benefit from breaking apart the code and explaining what it does more, as well as ending with See Also and References sections. Great to have the TOC.” |
![]() | SharePoint 2010 / 2013 Technical Guru – May 2016 |
![]() | Dan Christian | How to build a custom report for SharePoint Server lists, libraries or sites | John Naguib: “Great one well done” Margriet Bruggeman: “Great article with not only text, but also images and videos to make this very user friendly.” Hezequias Vasconcelos: “Great article. Content technical good. Well detailed, great of attached reference materials. Excellent technical guide.” Ed Price: “Fantastically thorough, with great images and explanations, and once again, your YouTube videos just blow me away, with how well they help tell the story and are integrated into the article like this! It’s a true art form!” |
![]() | Waqas Sarwar | SharePoint 2016 How to Change SuitBar’s Text PowerShell | Hezequias Vasconcelos: “Good content new platform SharePoint 2016. great scripts and well distributed in the Shell” Ed Price: “Short and sweet! Fantastic scenario. It could use more references and links to other Wiki articles.” |
![]() | Vivek JAGGA | Alternative Solutions to the Deprecated Features in SharePoint 2016 | Ed Price: “I love how you’re very clear at the front of this article (as an overview) and then dig deeper into the specifics. Good references at the end.” John Naguib: “Nice article you can add also the development area” Margriet Bruggeman: “Useful article with good alternatives. “ |
![]() | Small Basic Technical Guru – May 2016 |
![]() | Philip Munts | Small Basic: Simpler and Cheaper Raspberry Pi GPIO | Michiel Van Hoorn: “This is really Awesome (see also the original article). It opens up Small Basic to the real world. ” Ed Price: “Building off his Raspberry Pi article, this article does an amazing job of digging deeper and showing you more options, such as Raspberry Pi Zero.” |
![]() | Nonki Takahashi | Small Basic: Image | Michiel Van Hoorn: “Really cool overview of working with Images (like photos) in SmallBasic. We good topic to inspire programming” Ed Price: “Very thorough end to end overview of using Images!” |
![]() | SQL BI and Power BI Technical Guru – May 2016 |
![]() | Greg Deckler | Good Ol’ VLOOKUP – The Ultimate Guide to Lookups in Power BI | PT: “Quite a valuable and well-written article. Thank you for the extensive coverage of various lookup techniques.” RB: “Interesting comparison of the lookup techniques available within Power BI.” |
![]() | Anil Maharjan | How to find a Calculated Measure and Calculated Dimension within a particular cube | PT: “This submission a very brief and just mentions a little information that is common knowledge and easily discovered with a simple web search.” RB: “Interesting tip, a screen dump of the result with all the columns would have been great.” |
![]() | SQL Server General and Database Engine Technical Guru – May 2016 |
![]() | Chervine | Stretching SQL Server 2016 tables to the Azure Cloud | JS: “Great article, your explanations and samples are spot on.” Ed Price: “Super valuable scenario! Love the diagram, code snippets, and screen shots!” |
![]() | Shanky | What Does Fragmentation Means In a Heap Table In SQL Server | Ed Price: “Very thorough! Great references at the end.” |
![]() | System Center Technical Guru – May 2016 |
![]() | vishwanatham sridhar | SCOM Connector Design prototype | Ed Price: “Great scenario with some helpful reference links!” |
![]() | Anders Rodland | SCCM 2012 R2 step-by-step: upgrade of SP1 to current branch – Step by Step | Ed Price: “Missing the images. Very thorough steps! Great use of the TOC. Could benefit from references.” |
![]() | Anders Rodland | System Center Configuration Manager Build Numbers | Ed Price: “Good collection of builds and KBs!” |
![]() | Transact-SQL Technical Guru – May 2016 |
![]() | Universal Windows Apps Technical Guru – May 2016 |
![]() | Namrah Khurram | Traffic Lights Simulation via LEDs on Raspberry Pi | TGN: “Man this is cool. Good information and well structured. well I’m impresses Namrah!” Ed Price: “A cool scenario that’s masterfully explained! The code has great formatting. It could benefit from See Also and References sections at the end.” |
![]() | Manuel Cota | “DrawIndexedInstanced and the Concepts behind a Home-Made Game Engine” | Ed Price: “It could benefit from a TOC at the top and from See Also and References sections at the bottom, but I love how this breaks down the code and explains everything in depth! Great use of diagrams!” TGN: “I learned a lot from this article. Well done, thanks for sharing!” |
![]() | Sajid Ali Khan | UWP: Things Required To Do Right After Creation of New Project | Ed Price: “Great use of images and good References section at the end! I love how the code is both on GitHub and MSDN Gallery and how the download links are given!” TGN: “This can help a lot of people, my favourite this month! Thanks for sharing Sajid” |
![]() | Visual C# Technical Guru – May 2016 |
![]() | Emiliano Musso | Entity Framework Introduction using C#, part I | Ed Price: “This is a masterful article, It’s thoroughly broken down, and it leverages images, great code formatting, and even a download and an Italian language version at the end!” Jaliya Udagedara: “Great article with step by step explanation. If you are a newbie to EF, read this one article which will cover most of the basics. And you can download the sample code from MSDN Code Gallery.” Carmelo La Monica: “Good and very impressive article, it explain in all parts Entity Framework 7, i attend second part “ |
![]() | SYEDSHANU | MVC ASP.NET Identity customizing for adding profile image | Carmelo La Monica: “Very good expression, good images and very detailed in all parts.” Ed Price: “Very thorough steps! Great scenario!” Jaliya Udagedara: “Good article explaining how you can manage your profile picture with a ASP.NET MVC application. Sample code is available in MSDN Code Gallery.” |
![]() | Wiki and Portals Technical Guru – May 2016 |
![]() | Peter Geelen | Wiki: Fixing table layout (table right side off page) | Richard Mueller: “Great information that will help a great deal to fix tables in the Wiki. Good use of Wiki guidelines.” Ed Price: “This is a fantastic solution from Peter!” |
![]() | Windows PowerShell Technical Guru – May 2016 |
![]() | Matt McNabb | Office 365: How to Manager User License Lifecycle with PowerShell | Ed Price: “Wow! Great description of these steps, and it ends well with several other links to dig into!” Richard Mueller: “Good TOC. An excellent idea to code this and overcome limitations. This should be very useful.” |
![]() | Arleta Wanat | SharePoint Online: Get all checked-out files using Powershell | Richard Mueller: “Good headings and TOC. Good ideas and well explained.” Ed Price: “Great scenario and use of PowerShell code!” |
![]() | Windows Server Technical Guru – May 2016 |
![]() | Kia Zhi Tang (Ryen Tang) | Nano Server: Using New-NanoServerImage with Show-Command to deploy Nano Server | Mark Parris: “Excellent article on the deployment of Nano server. ” JM: “This is an excellent article on building a new Nano Server, thanks for your contribution!” Richard Mueller: “Good use of Wiki guidelines, with even horizontal rules and Return to top links. Show-Command is a very interesting feature I like a lot. Good references.” |
#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!
Data Filtering Problem
I have a model as shown below with Employee Time information.
"Employee" has all Employee information.
"Employee Projects" has all projects an employee is related to.
"Time" has all the Time data employee may have entered time against
"Projects" has all project information.
I have a requirement where given a project, I need to show all the employees associated to the project and ALL the time they may have entered against any project. Basically, the project selected should JUST act as a filter on the employees.
How can I achieve that?