How to improvise What If Parameters in Power BI Live Connection models
In my last blog post, I explained a flexible technique you can use to build histograms in Power BI using measures and What If parameters. But one issue with that approach is that it assumes you have the ability to add a new table to your model. Fortunately, for many users this is no longer an issue, thanks to the recent release of DirectQuery over Azure Analysis Services models as a preview feature for Power BI Desktop. However if your reporting data is stored on premises, whether in SQL Server Analysis Services or Power BI Report Server, it may be a while until you can make use of this feature. In this post, I'll take you through a technique that I've used to build a histogram visual even when you don't have the ability to alter the data model used by your report.