Hi Team,
i want give a comment for my Calculated members or measures ,how we can give.
can anyone help on this.
Regards
Mallikarjun
Hi Team,
i want give a comment for my Calculated members or measures ,how we can give.
can anyone help on this.
Regards
Mallikarjun
Hi all,
For SSAS multidimensional DB, we can use http://SSASName/OLAP/msmdpump.dll to connect. how about Tabular ?
Does anybody can let me know ?
Thanks
James Liang
Hi everyone,
I am trying to create new Dimension using Code, but it gives me error.
Code:
var objDimension = db.Dimensions.Add("Temp1");While process a cube it gives me below error:
Internal error: The operation terminated unsuccessfully.Dear Sir,
As we are migrating from SQL Server 2008 to SQL Server 2016. We found that in SQL Server 2016, Report Model is going to deprecate, thus we need guidance with following points -
1. We have a requirement to expose data so that end user can design their own reports. We need a solution that will work across SQL versions ranging from SQL 2008 standard edition to SQL 2016 standard edition.
2. We have been using Report Models to expose data to end users who were then able to design their own reports using report builder.
3. I am unable to do this on SQL 2016. Is there any way? Can I at least deploy existing Report Models in 2016 or even deployment is not possible.
4. What is the way in which I can achieve similar functionality in SQL Server 2016. On reading over the internet I see Analysis Services Cubes and Tabular Models mentioned as alternates. What is the complete list of such alternates and what are their pros and cons. We need to build several types of reports ranging from summarized MIS reports to detailed transaction reports and Document Views. Which flavor of SQL 2016 are they supported in? Specifically are they supported in Standard version. Are they also supported in SQL 2008? What is SSDT? What is Power BI? Can it be of use to us? If yes can you point me to resources/tutorials associated with these so that I can get started.
5. Can we migrate old Reports already made on Report Model (.smdl) to sql server 2016 ? Are there any Tools available for same.
We are very confused and need guidance.
I am unable to get the PREVIOUSMONTH() function to work properly; it always returns blank. As far as I can tell, my syntax is OK, so I must be missing something. Hopefully someone can identify what I'm doing wrong?
Here is an example of three measures I have in a model of the Adventure Works DW using the FactInternetSales table:
Sum of SalesAmount := SUM([SalesAmount])
Sales This Month := TOTALMTD([Sum of SalesAmount],FactInternetSales[ShipDate])
Sales Last Month := CALCULATE([Sum of SalesAmount],PREVIOUSMONTH(FactInternetSales[ShipDate]))
"Sum of SalesAmount" and "Sales This Month" return good values, but "Sales Last Month" always returns "(blank)"
Hi,
We are using SSRS Reports based on Report Model (.smdl), and sending mail through My Subscription - Mail, Now I want to send Email only in case of records exists otherwise not.
As this report is Model based report so semantic query is generated and executed dynamically at run time and this query is so expensive (taking approx 2-3 minutes to execute) so we don't want to execute it again to check whether record exists or not.
What is the alternate way to stop sending mail when record is not exists.
Regards,
WFX
In the dimension designer window I can not see any table. When checking column mappings I also see that they reference a wrong table. Weird thing is that I am able to process and deploy the cube.
The cube in question is working just fine on our production environment.
When importing the cube from our production environment in VS 2015 (update 3) I see the exact same problem.
What is going on ? And, more important, how can I fix this :)
Hi guys, completely lost the touch with SSAS. I've got a in the fact table A B C D and in the dimension only A B C (not D). The cube is not going to be processed for this reason. How can I handle this situation?
Many Thanks
Hi guys, I totally lost the touch in SSAS. I remember I used to build a calculation in order to give me the percentage of the dimension I am looking at. Let 's say I've got A 10 B 10 C 20, the total is going to be 40 and the percentage will be A 25 B 25 C 50. If I query another dimension, let's say Y 80 X 120 I 'd like to retrieve Y 40 and X 60.
Practically, how can I build a calculation that give me dynamically the percentage on the total.
I already did but ages ago.
Thanks
September has finally arrived, traditionally a strong month for TechNet Guru contributions.
Maybe it is because our professionals have returned from a well deserved Summer break refreshed and inspired?
Maybe it's because they have had some quality time to think of something good to contribute?
Also it is common for this time of year to bring in some new authors. New contenders! New legends!
Could that be you? Do you want some accolade or acknowledgement that you "know your stuff" ?
TechNet Guru winners can go on to be MVPs and high profile technical evangelists within the Microsoft community and work place!
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.
August's entries are still with the judges, but below are July's mighty winners and contenders!
BizTalk Technical Guru – July 2016 |
Kjetil Tonstad | 22x Latency Improvement In BizTalk Without Changing The Code | Sandro Pereira: “A pure simple masterpiece! Well done Kjetil Tonstad.” LG: “A good real-life example, which is very helpful. Thank you for sharing!” | |
| Mandar Dharmadhikari | Analysis of Scenario Which Results in TDDS Crash | LG: “Interesting finding. Thanks for sharing!” Sandro Pereira: “Another great addiction to the TechNet Wiki. Very useful tip. In terms of content, the layout (text, pictures, headers, empty spaces) could be significantly improved because presentation is also good for a better read experience of the article “ |
| Rahul Madaan | Using TIBCO EMS adapter in BizTalk | Sandro Pereira: “Not easy to find information about this topic. Nice addiction to the TechNet Wiki. Regarding to the article, it can be a little improved with more content, the layout should be improved and for better reading some of the picture should be follow by the commands in pure text. Nevertheless, great start “ |
Forefront Identity Manager Technical Guru – July 2016 |
Jeff Ingalls | Microsoft Identity Manager 2016 Schema | Ed Price: “Wow! I was reading this, not sure what to make of it, because there isn’t a ton of text breaking it down. But when I started scrolling down that first table, I realized how amazing and valuable the data is! And then the Gallery item just really tops off this article. Great job!” | |
![]() | Peter Geelen | Microsoft Identity Manager 2016 Handbook: Online Companion Guide | Ed Price: “Fantastic resource and companion to the book! Very helpful to break down the topics!” |
Microsoft Azure Technical Guru – July 2016 |
![]() | Kia Zhi Tang (Ryen Tang) | Microsoft Azure: Deploying Windows Server 2016 Nano Server | JH: “Maybe one of the largest articles I have seen, but a good one.” AS: “Good and comprehensive article, but a bit too long for me. It could have been split into 2 or even 3 different in a series.” |
![]() | Eldert Grootenboer | Integrating Service Bus Stack With Logic Apps And Azure Functions | JH: “Contains a lot of example code. Good for getting started with Service Bus and Logic Apps.” AS: “Good catch and guide on the different handling of Service Bus messages in different services. I would also like to see here the security settings configuration of the function required to be able to properly see it in the list of Logic App designer.” |
![]() | Bhushan Gawale | Azure key vault essentials for beginners | JH: “Good introduction to Key Vault.” |
Miscellaneous Technical Guru – July 2016 |
Ronen Ariely & Sabah Shariq | List of forums by Languages, categories, and field of discussions | Richard Mueller: “Excellent use of Wiki Guidelines, with even “Return to Top” links (these help in such a long article). This article allows us to search for the forums we want easily. Listing them by category helps.” Ed Price: “Very valuable article, that already has 55 revisions. I see this as an article that’s going to get a lot of use from readers and tweaks from contributors!” | |
![]() | Ken Cenerelli | Killing zombie Google Chrome processes | Richard Mueller: “Very well explained. Useful code to know and use. The link to the code in the script gallery should be in the References section rather than the See Also, as it is not a Wiki. I like the references.” Ed Price: “Interesting title! Great and clear write-up, and it features a number of helpful links to learn more on this topic of using Chrome on Windows. Thanks!” |
![]() | SYEDSHANU | Getting Started with ASP.NET Core 1.0 RC2 and Angular2 | Ed Price: “Wow! This is incredibly deep. Love the See Also link and Download link to the source code on TechNet Gallery! Great introduction and use of images. If you need a grammar pass, please ask people for help! Then check
this history to see what tweaks were made.” Richard Mueller: “Detailed steps in this article, but I found the explanation hard to follow. The external links should be collected in an “Other Resources” section. Grammar needs work.” |
SharePoint 2010 / 2013 Technical Guru – July 2016 |
![]() | Amjad Khan SharePoint | SharePoint Online: Create Site Columns, Content Type and Associate with Custom List or Library at site collection level using PowerShell and CSOM | John Naguib: “Excellent article” Ed Price: “I love the diagrams, description at the top, and the download to the code! It would be good to break the long code block up into sections to explain what the code does more. Great formatting with Headers and the TOC!” |
![]() | Shantha Kumar T | Work with host web data using PnP JS library in the SharePoint Hosted Add-In | John Naguib: “Incredible to have such topic discussed, excellent” Ed Price: “Valuable scenario, great descriptions, and good use of images and code! It could benefit from a References section at the end with more resources to dig into.” |
![]() | Waqas Sarwar | SharePoint 2016 Managing Alternate Access Mapping Using PowerShell (Real World Example) | Ed Price: “Good use of a See Also section. This is very clear and easy to read! Includes kudos from Arleta in the comments (“Nice article. Thanks!”). It’s a great scenario that’s well written!” John Naguib: “Nice article” |
Small Basic Technical Guru – July 2016 |
![]() | Nonki Takahashi | Small Basic: Sample Code | Ed Price: “Very helpful resource for finding what you’re looking for! Thanks!” |
![]() | Deva | Video: Installing, running Microsoft SmallBasic in Azure Cloud @ Azure DevTestLabs | Ed Price: “Excellent video!” |
![]() | Nonki Takahashi | Small Basic Sample: Directories | Ed Price: “It’s cool to see how to do this. It would benefit from an explanation. Great See Also links!” Michiel Van Hoorn: “Interesting scripting possibility for OS file directories. Not sure if one should to this with Small Basic but it is at least possible.” |
SQL BI and Power BI Technical Guru – July 2016 |
![]() | Thomas LeBlanc | Using a Lookup Component in SSIS | PT: “Tom, you have the only entry this month so YOU WIN! Fortunately it’s also a good post with answers to commonly-asked questions about the SSIS Lookup transform. Thanks” Ed Price: “Fantastic explanations of each piece of the puzzle. Good use of images. This is common, and you go very deep with it. Thank you! It could be improved with Headers and a TOC. Great contribution!” Ronen Ariely: “Nice article. Can be very useful. Missing some important sections like Table of content, background or introduction, conclusions, and links to get more information. I recommend to follow articles templates.” |
SQL Server General and Database Engine Technical Guru – July 2016 |
![]() | Prashanth Jayaram | SQL-Server(s)-Inventory-Excel-CSV-Console- Using PowerShell SMO and RMO | Ronen Ariely: “Important issue! The reference links are missing titles.” Ed Price: “I love the Abstract and Pre-requisites (very important and very clear to have them listed like this). The Logic Flow diagram is also incredibly helpful! As are the use of images and the Conclusion. It would be good to break up the code and explain it (and host it on MSDN/TechNet Gallery). Great article!” |
![]() | Prashanth Jayaram | How-To-Refresh-Multiple-sql-database(s)-Using-PowerShell | Ronen Ariely: “Very useful script. TechNet Wiki is not a personal post, and articles should be written in 3rd person. There are links for references at the end, but no titles. The reader must click each link in order
to know what they are.” Ed Price: “Fantastic job formatting this. The diagram in “DB Refresh Flow” is useful, but a little small. It would be good to have an image of the output earlier on. In the Code sections, it would be useful for the code to be broken into parts and then explained in depth. Then the full code could be on TechNet/MSDN Gallery and you could link to it. Great job on the code formatting and References (as Ronen mentions, it’s better to embed the URL in the title of the article). And I love the Restore and Conclusion sections!” |
System Center Technical Guru – July 2016 |
![]() | sridhar vishwanatham | Override creation best practices: Explicit Group issues | Ed Price: “Great write ups that explain the context and then dig into the process/solution! Could benefit from See Also and Reference sections at the end.” |
![]() | Nick Hogarth | Configuration Manager 1606 – OMS Connector (preview feature) by Nick Hogarth | Ed Price: “Great use of images as you lead the reader through the solution! Could benefit from Headers and a TOC. Just type in “[toc]” at the top to create the TOC. Good job on this article!” |
Transact-SQL Technical Guru – July 2016 |
![]() | Ronen Ariely | SQL Server – Exposing masked data | Samuel Lester: “Outstanding depth, thanks for the great detail on DDM strengths and limitations” Richard Mueller: “A great article describing a new feature. The code is well explained with detailed steps. Thanks!” |
Universal Windows Apps Technical Guru – July 2016 |
![]() | Santhakumar Munuswamy | Introduction to HoloLens | Ed Price: “A lot of depth and a great intro! Also good to have the Reference section at the end, and the images help provide context! Very important topic, and I’m glad we have this content on TechNet Wiki!” |
![]() | Ravindra Singh Chhabra | Cortana Integration in Universal Windows Platform Apps | Ed Price: “Great topic, great formatting, great use of code (including solid comments in the code), and good use of images, companion video, and code download! Great topic!” |
![]() | Timothé Larivière | Compiled Binding for UWP – What’s new in the Anniversary Update? | Ed Price: “Great formatting and use of code! Good to have a link at the end to the code. This article features a very lively conversation in the comments!” |
Visual Basic Technical Guru – July 2016 |
![]() | .paul. | VB.Net OOP Address Book | MR: “Amazing work! Thanks for submitting it!” Richard Mueller: “Great use of Wiki guidelines, with good images and code. We could use more references.” |
Visual C# Technical Guru – July 2016 |
![]() | SYEDSHANU | ASP.NET Core 1.0 RC2 and Angular2 using WEB API | Jaliya Udagedara: “This is fantastic. Loved seeing use of ASP.NET Core, Angular 2 along with TypeScript. And you can download the full sample code from TechNet Gallery, Perfect!” Ronen Ariely: “The article organized as step-by-step case study, which I love. it starts from prerequisites till the execution, and full project code attached. Well done! ” Carmelo La Monica: “Very great article in alla parts. Good code, Images and presentation.” |
![]() | Sandeep Shekhawat | Relationship in Entity Framework Using Code First Approach With Fluent API | Jaliya Udagedara: “Well explained with the use of code snippets and images. And you can play around with the code after downloading the sample from TechNet Gallery!” Ronen Ariely: “Great article, very nice introduction, well formatted and well explains. The option to download the Code as project is always great advantage.” Carmelo La Monica: “Congrats for the topic. i don’t know Entity framework, this is good point for to start.” |
![]() | Karthik Elumalai | Import-and-export-excel-files-into-varbinary-max-in-sql-server using Asp.net C# | Carmelo La Monica: “Great topic , great presentation and code C # related” Ronen Ariely: “Nice article. Missing source code link to download, missing explanations. missing “See also” section with some links. There is room for improvement.” Jaliya Udagedara: “Would love to see more explanations around the code.” |
Wiki and Portals Technical Guru – July 2016 |
![]() | Peter Geelen | Wiki: Collection of Practical hints & tips for writing an article (from Wiki blog) | Ronen Ariely: “very useful list of blog posts links.” Ed Price: “Oh boy, what a powerful resource! This is awesome!” Richard Mueller: “An amazing collection of links to valuable information. Having this sorted into categories makes it more useful.” |
![]() | SYED SHANU | Wiki: Guidelines to write a good Article (meeting the expected quality) | Ed Price: “A great collection of tips, and a robust set of See Also links!” Richard Mueller: “A good addition to the articles assisting new Wiki authors. A very good “See Also” section.” |
![]() | Peter Geelen | Wiki: Portal or Survival guide? | Ed Price: “Nice comparison and breakdown between the two!” Richard Mueller: “Great information and well explained. This helps clarify the difference between these important types of articles. Excellent use of the Wiki guidelines.” |
Windows PowerShell Technical Guru – July 2016 |
![]() | Prashanth Jayaram | PowerShell- DiskSpaceGUI-Tool-MultiServer(s)-Grid-Email-Search-Features | Richard Mueller: “Well explained with good images, code, and references. Lots of code. Could interesting or novel sections of the code be highlighted and futher explained? Perhaps the code should be in the script Gallery.” Ed Price: “Great descriptions. Could benefit from a formatting pass (font style, for example) and more of a breakdown of the code block so that you know what each part of the code does. Good use of images and good Conclusion. Great References section, but it might be good to embed the links in the titles of the articles so that we know what the articles are about a little better. Great contribution!” |
![]() | Arleta Wanat | Powershell GridView to help with SharePoint data viewing | Ed Price: “Good use of images and helpful article, but a little light in the explanations. Could use a See Also section with Wiki links.” Richard Mueller: “Interesting. We could use more explanation and references.” |
![]() | Maor Bracha | Azure & Office365 Available and consumed licenses report for MS partners | Ed Price: “This is a good topic, but it would be more valuable to include the code, breaking it down and explaining what it does. ” Richard Mueller: “We need more explanation of the code. Also, references and a “See Also” would help.” |
Windows Presentation Foundation (WPF) Technical Guru – July 2016 |
![]() | Magnus (MM8) | WPF: Enabling ClearType On a TextBox | Ed Price: “Great wrhite-up and use of code! Could benefit from Headers and a TOC. Very helpful topic!” |
Windows Server Technical Guru – July 2016 |
![]() | Peter Geelen | Best Practices for Internal AD Domain and Network Names | Mark Parris: “Knowledge that all Active Directory Administrators need to know.” Richard Mueller: “Very well explained and a good addition to the Wiki in this category. I especially like the references.” JM: “This is a great article on naming conventions for AD, thanks for your contribution” |
![]() | Kia Zhi Tang (Ryen Tang) | Nano Server: Deploying Python 3.x interpreter | JM: “This is an excellent article on Python in Nano Server, thanks for your contribution” Mark Parris: “Good insights on Nano Server and Python Interpreter” Richard Mueller: “Great use of Wiki guidelines with good references and a great “See Also” section.” |
Good luck!
Pete Laker
#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!
I have this query with a calculated member :
with member Test as
CASE
WHEN [ROE Account].[Record Type].CURRENTMEMBER.MEMBERVALUE = "LineAvail"
THEN 0
ELSE ([ROE Account].[Record Type].CURRENTMEMBER, [Measures].[Application Master Data Count])
END
select {[Measures].[Application Master Data Count],[Measures].[Test]} on columns,
Non empty {[ROE Account].[Record Type].members} on rows
from [ROE]
I'm wanting to exclude the "LineAvail" number of accounts. The individual results are correct, but the ALL level is not:
It should be 452,979. What do I need to change in the MDX above?
J. Way
Hi All,
I have two tabular cubes (say cube1 and cube2) and i have one SSIS package which has the custom function "CreatePartition". This function has the script to connect to the cube and create required partition.
I have two SQL agent jobs (say Process Cube1 partition and Process Cube2 Partition). I run both the agent jobs simultaneously, the job is failing with error "While attempting to acquire one or more locks the transaction canceled"
I was searching in google and gone thorough few blogs but my question is, do we have a chance that if two SQL agent jobs access same SSIS package function (CreatePartition) will it get into a deadlock and fail?
Please suggest.. Thanks.
Regards
Jim
Hi experts,
I want to filter out the data on where Date is greater than 25 of every month in MDX.
I have fact with date surrogate key and distinct count of transaction on the whole year. Now I want to get count of transaction happened after 25th of every month. I have data time dimension. I want to filter on data.
kindly help me.
Hi,
I have a tabular model structure for my small company's profit/loss reporting. At present, the way it works is, after drawing whatever dividends, the carried over profit stays in the company account. Year after year, this builds up, thus providing me with a little buffer.
Therefore, a "true" pictue of my company will be all cumulative carried over profit + year-to-date profit.
I have managed to sort out the year-to-date profit as a measure. But what I need to be able to do, is cumulatively add up all the preceding end-of-company-year profit values.
I'm aware of the end-of-year and previousyear DAX functions, but these only give me the previous year, but I need all the preceding years' values (or at least since when my company began trading). Is there a better way to do this without hard-coding the year values?
Thanks,
Shri
- Please mark the answer as correct if it answered your question. Thanks!
with member a as
1..settostr(generate([Dealer].[Total Dealers].members,
descendants( [Dealer].[Total Dealers].currentmember,[Dealer].[Total Dealers].[Dealer Locked])))
select
{ 2.. [Dealer].[Total Dealers].[Dealer Locked].&[63]
,[Dealer].[Total Dealers].[Dealer Locked].&[74]
,[Dealer].[Total Dealers].[Dealer Locked].&[65]
,[Dealer].[Total Dealers].[Dealer Locked].&[76]
} on 0,
{a } on 1
from [MBCLBI]
hey guys,
I need your help. I want to create a calculation "avg(<set1>,measure.sum)". i got the problem about the set1. the set1 is composed by the members of Dealer dimension, like the part2 in the picture above. the numbers of Dealer members is uncertainty. The part1 turns out all of members of Dealer dimension. But i only want the part1 included members in part2.
with member a as
settostr(generate(Existing [Dealer].[Total Dealers].members,
descendants( [Dealer].[Total Dealers].currentmember,[Dealer].[Total Dealers].[Dealer Locked])))
select
{ [Dealer].[Total Dealers].[Dealer Locked].&[63]
,[Dealer].[Total Dealers].[Dealer Locked].&[74]
,[Dealer].[Total Dealers].[Dealer Locked].&[65]
,[Dealer].[Total Dealers].[Dealer Locked].&[76]
} on 0,
{a } on 1
from [MBCLBI]
i add the key word "Existing" in the part1. But it doesn't work. how can i get the set composed by the members of Dealer dimension. I really need your help. Thanks a lot.
Hi Friends
I got this error when i build project.
MeasureGroup [Asterisk].[DW Vicidial List] : The cube dimension 'Phone Number' is not included as a fact dimension in the measure group 'DW Vicidial List'. All fact dimensions in a measure group must be roles of the same database dimension and all
roles of that database dimension in the cube must be included in the measure group as fact dimensions. 0 0
Error 2 MeasureGroup [Asterisk].[DW Vicidial List] : The cube dimension 'Call Date' is not included as a fact dimension in the measure group 'DW Vicidial List'. All fact dimensions in a measure group must be roles of the same database dimension and all roles of that database dimension in the cube must be included in the measure group as fact dimensions.
kindly help me to resolve this issue.
I have tried to build multiple degenerate dimensions, I can sucessfully add one, when I add a second I get this error.
"All fact dimension in a measure group must be roles of the same database dimension."
Does anyone know what this means?
Hi,
After some MS updates our SQL server failed to work fine. So we took a full server backup with Tivoli and reinstalled OS on server.
Now when I try to attach SSAS DB it fails with error, that there is on detach log file in db folder. It is true, since we were in a hurry and did not detach SSAS dbs. Is there any way to attach it without this log file, maybe recreate it somehow manually?