View blogs by industry experts on topics such as SSAS, SSIS, SSRS, Power BI, Performance Tuning, Azure, Big Data and much more! You can also sign up to post your own business intelligence blog.
Power BI Publish to Web for Anonymous Access is Here
Earlier this week on Wednesday the Microsoft Power BI made an incredibly exciting announcement and released Power BI “publish to web” as a preview feature. This is HUUUUGE news! This was probably the top requested feature and its finally here thanks to the hard work and dedication of the Microsoft Power BI team!
Read Getting Started with R Visuals in Power BI
Power BI “publish to web” allows you to easily expose a Power BI report to the world through an iframe that can be embedded wherever you like.
To publish your Power BI report to the web, log into your Power BI site.
Find the report that you want to share and click File in the top left.
You’ll see a message pop up box similar to below. Click the yellow button to create the embed code.
This is where you’ll see a very important warning!
WARNING: Reports that you expose through the “publish to web” feature will be visible to everyone on the internet! This means NO AUTHENTICATION is required to view the report that is embedded in your application.
Once you do that, you’ll receive an embed code that you can then use to expose your Power BI report within your blog as seen below!
As you can see the report maintains all the interactivity features of Power BI. And as your Power BI report updates and changes, those changes will be reflected in your embedded Power BI reports!
Read the Power BI “publish to web” announcement here.
Let me know what you think of this feature or if you have any questions. Leave a comment down below.
If you ever created any calculations in your cube or in an MDX query that uses division, you've probably run into the issue of dividing by zero (0) or NULL. Dividing by 0 or NULL will show the ugly -1.#INF when browsing your cube from Excel. But being the good developer you are, you don't want your end users to see that. So in order to gracefully handle dividing by 0 or NULL, we can do the following to prevent -1.#INF from exposing its ugly face to your company's executives:
MEMBER [Measures].[NullValuePerUnit] AS Null
MEMBER [MEMBER_NAME] AS
iif([Measures].[Production]=0 OR ISEMPTY([Measures].[Production]),[Measures].[NullValuePerUnit],
[Measures].[Usage] * 1000.0/[Measures].[Production])
By using an IIF statement, we can show NULL if our calculation attempts to divide by zero or NULL, which looks a lot better than showing -1.#INF in a spreadsheet or NaN on your report.
Other posts by DustinRyan