Just: “Wow, this is nice!”
Via: http://radacad.com/data-science-virtual-machine
Additional info: https://docs.microsoft.com/en-us/azure/machine-learning/data-science-virtual-machine/
Just: “Wow, this is nice!”
Via: http://radacad.com/data-science-virtual-machine
Additional info: https://docs.microsoft.com/en-us/azure/machine-learning/data-science-virtual-machine/
Trying to install .NET Framework 3.5 Features on a Windows Server 2016, either through GUI or PowerShell, returns below error (truncated):
“The request to add or remove features on the specified server failed.
Installation of one or more roles, role services, or features failed.
The source files could not be found.”
.Net Framework 3.5 sources file are not pre-installed so we need to explicitly specify where “installer” can get the source files from.
As per Microsoft’s official docs, there are 2 main solutions to make it work.
Still, Microsoft says that even if this defined source is not found, installer should go to Windows Update to download required files. Let’s exclude those many possibilities that Windows Update is not accessible due to various reasons (no internet connection, GPOs disabling something etc.).
Anyway, since neither one of the above methods worked for me, I kept reading posts from 2nd+ google pages. This led me to not-so-old post from Michael Niehaus: https://blogs.technet.microsoft.com/mniehaus/2015/08/31/adding-features-including-net-3-5-to-windows-10/
Not sure what’s different with calling DISM directly (since Server Manager and Powershell probably does the same), but below solution worked for me.
Run this from PowerShell (including tilde characters): DISM.exe /Online /Add-Capability /CapabilityName:NetFx3~~~~ /Source:D:\Sources\SxS where D was the drive with my mounted Server 2016 ISO.
When above command is done, run this: Add-WindowsCapability –Online -Name NetFx3~~~~ –Source D:\Sources\SxS
Reza Rad over at http://radacad.com/dateadd-vs-parallelperiod-vs-sameperiodlastyear-dax-time-intelligence-question explains the differences and provides easy usage scenarios for DateAdd, ParallelPeriod and SamePeriodLastYear DAX functions.
Read his blog post to see how he reached to below conclusion:
- DateAdd and SamePeriodLastYear both work based on the DYNAMIC period in the filter context.
- ParallelPeriod is working STATICALLY based on the interval selected in the parameter.
- ParallelPeriod and DateAdd can go more than one interval back and forward, while SamePeriodLastYear only goes one year back.
- DateAdd works on the interval of DAY, as well as month, quarter and year, but ParallelPeriod only works on month, quarter, and year.
- Depends on the filter context you may get a different result from these functions. If you get the same result in a year level context, it doesn’t mean that all these functions are the same! Look more into the detailed context.
Refreshing Power BI report generates “The key didn’t match any rows in the table” error.
Click “Edit Queries” button. If you do not see the error message, click “Refresh Preview” button. Once you have the error message, click “Go To Error“.
Error message will remain, but you should have “Edit Settings” button now, click it.
In the next screen, Navigation, you should see what exactly Power BI is trying to access but cannot do so.
In my example, I have an Excel file as my source. When I first connected to this data source, my Table name was Table1. Yesterday I changed where my Excel file gets data from and this, in turn, changed Excel’s Table name to “report“.
Obviously, when Power BI tries to refresh the data, it cannot find Table1 table anymore.
In the same Navigation screen, selecting my new Table name “report” will fix the issue assuming all other columns in the Excel file are the same.
Same is true for any data source, not only Excel file. Follow same steps to identify what’s causing the error and then fix it as needed.
Soheil Bakhshi from http://biinsight.com has a super good article on how to get your stats from a WordPress site/blog and analyze them in Power BI.
For lazy guys out there, he already built a Power BI template file that you can use straight away. The only thing you’ll need is WordPress API key but don’t worry, he explains how to get that one too!
Check it out: http://biinsight.com/analyse-your-wordpress-blog-stats-in-power-bi/.
Visit www.facebook.com/settings?tab=applications to see what applications and websites you’re logging in to using your Facebook credentials.
You have 3 tabs to look at:
Error:
“Expressions that yield variant data-type cannot be used to define calculated columns.“
Cause:
IF based Calculated Columns in Power BI or Power Pivot with 2 different data types is not allowed.
Solution:
Format one data type as needed using FORMAT() function.
Age = IF ( TableName[Birthday] < TODAY(), FORMAT ( Year ( TODAY() )- Year ( TableName[Birthday] ),"General Number" ), "Invalid birth date" )
FORMAT Function (DAX): https://msdn.microsoft.com/en-us/query-bi/dax/format-function-dax
Pre-Defined Numeric Formats for the FORMAT function: https://msdn.microsoft.com/query-bi/dax/pre-defined-numeric-formats-for-the-format-function
Continuing the series about how to create an e-book. Today we’ll have a much shorter post. Specifically, we’ll look at how to create the Title page.
So, what is a Title Page? According to dictionary.com, Title Page is: “the page at the beginning of a volume that indicates the title, author’s or editor’s name, and the publication information, usually the publisher and the place and date of publication.”
If you’ll search Google Images for “title page”, you see lots of examples of how a Title Page looks like. And, it seems to be the easiest to create. Technically speaking, a bunch of paragraphs and that’s it.
Ok, following dictionary.com’s description, let’s create our Title Page. We will need the following:
Open mybook.html page in Notepad and add above details right before your first chapter (which should be <h2> tag); each detail on different row and inside a paragraph element (<p></p>). Here is my <body> element now (trimmed):
<body>My Book's Title Vitalie Ciobanu Lorem Ipsum Publishing. All rights reserved. Madagascar 2018 <h2>Lorem Ipsum</h2> <h3>What is Lorem Ipsum?</h3> <p class="first">Lorem ipsum dolor sit….</p> <p class="quote">Nullam tortor orci…..</p> Curabitur ligula tortor, ullamcorper…. </body>
And here’s my page viewed in a browser:
Because we have p selector defined in our stylesheet file, you see above we have some formatting applied already. Let’s add additional selectors to the stylesheet to make Title page information differently looking. So, let’s add some different formatting for book title, author, publisher and date of publication. Here’s just some basic CSS added to my epub.css file:
p.booktitle { text-indent:0em; text-align:center; margin-top:5em; font-weight:bold; font-size:150%; } p.bookauthor { text-indent:0em; text-align:center; margin-top:1em; font-weight:bold; font-size:130%; } p.bookpublisher { text-indent:0em; text-align:center; margin-top:3em; font-weight:bold; font-size:100%; } p.bookpublished { text-indent:0em; text-align:center; margin-top:1em; font-weight:bold; font-size:100%; }
For each selector I wanted no indentation so I added “text-indent:0em”. Also, everything is centered and bold. Font size is different, with Book Title being the biggest one, 150%em. Lastly, I added different top margins to visibly separate each line. Afterwards, I updated the class details on my newly added paragraphs in html file.
<body> <p class="booktitle">My Book's Title</p> <p class="bookauthor">Vitalie Ciobanu</p> <p class="bookpublisher">Lorem Ipsum Publishing. All rights reserved.</p> <p class="bookpublished">Madagascar 2018</p> <h2>Lorem Ipsum</h2> <h3>What is Lorem Ipsum?</h3> <p class="first">Lorem ipsum dolor sit….</p> <p class="quote">Nullam tortor orci…..</p> Curabitur ligula tortor, ullamcorper…. </body>
To successfully create Visio diagrams from Excel, Visio Pro for Office 365 is required. Here you can see the prices or download trial.
Process Step ID | Process Step Description | Next Step ID | Connector Label | Shape Type | Function | Phase |
P01 | Start | P02 | Start | Project Management | Planning | |
P02 | Gather requirements | P03 | Document | Project Management | Planning | |
P03 | Develop specifications | P04 | Process | Software Design | Design | |
P04 | Develop internal design | P05 | Process | Software Design | Design | |
P05 | Develop external design | P06 | Process | Software Design | Design | |
P06 | Change required? | P05,P07 | Yes,No | Decision | Software Design | Design |
P07 | Define Development team | P08 | Subprocess | Software Development | Coding | |
P08 | Application development | P09 | Process | Software Development | Coding | |
P09 | User Acceptance Testing | P10 | Process | Software Development | Coding | |
P10 | Quality Assurance | P11 | Process | Software Development | Coding | |
P11 | Defects | P08,P12 | Yes,No | Decision | Software Development | Coding |
P12 | Release to production | P13 | Subprocess | Release Management | Release | |
P13 | Stop | End | Project Management | Release |
Make sure that you have more than one value in Next Step ID, you should have similar number of values/labels in Connector Label column and that those values match its corresponding step.
For example, P06 Step ID is a decision point. If changes are required (Yes), process goes back to P05 Step ID. If no changes are required (No), process proceeds to P07 Step ID.
Lastly, ensure your last process step has nothing in Next Step ID field, because it’s the last one, there is nothing else afterwards… process ends here. Save your Excel file.
Just in case you started it wrongly or you want to get Excel template again, click Excel data template. Select your local Unit and click Create.
Short note here: you probably noticed your Excel Table has blue and green headers. Blue headers are required for these mappings and building your final diagram. Whether green columns are nice to have. All those columns may have valuable info for the diagram, but I think Microsoft still has ways for improvement this specific side, especially Alt Description, because it may contain too much text. Add something to this column and you will see what I’m referring to.
One nice thing about having this Excel file linked to Visio is that any updates you make to the process in Excel, you can refresh Visio diagram to update it with those changes. Just select your Visio diagram and from Data tab, in Create from Data group select Refresh.
For reading official Microsoft article about this, please take a look at “Create a Data Visualizer diagram” post. It contains more valuable info, including a description about each Excel columns that interact with Visio flowchart components.
Similarly, here’s a video made by Microsoft.
July 20, 2018: Microsoft just posted another, shorter, video on YouTube marketing same thing.
Path should change automatically to your Custom Office Templates directory.
Give your template a name. For example Blog, to keep it simple. At this point, you can close this document.
Make sure there is a space before /t switch and there is no space between the /t switch and template path. Click Next.
Optionally, it’s more a nice to have actually, you can personalize your shortcut with a custom icon so that you can quickly differentiate it from other Word files and shortcuts.
If you do not have an icon to use, click Browse and in File name box type: %SystemRoot%\System32\SHELL32.dll
Here you have quite a few old but good icons that you can choose from. Select one icon and click OK twice.