Fellow Power BI'ers,
Our users have a requirement for a lot of ad hoc type reporting. This will be of the type ...
Retrieve Sales data where FIELD_A = 'ABC' AND FIELD_B = 'XYZ'
There is no (or usually none) relationship between FIELD_A and FIELD_B. Results are usually mutuall exclusive.
It's like ... give me all sales for Persons over 50 years of age AND for Persons who ride a skateboard (Usually mutually exclusive).
We can get the users to write measures for each condition which look like this (need to wrap a MIN() around the fields as we source from an Analysis Services database (Tabular) with a live connection and don't have access to data fields that aren't measures) ...
M_Incl_10 = IF(LEFT(MIN(Trans[Promo]),3) = "G81" || LEFT(MIN(Trans[CtrlID]),2) = "F9" , 1, 0)
Which mostly works, however again, since we source from SSAS, the data isn't always accurate (not sure why but it depends on what fields we choose in the visualisation).
Yes, we could write a bunch of measures in the Tabular Model, however this requires interaction from the BI team as the users don't have access to the model itself (and nor do we want to give it),
As such, is there any other way to achieve this goal in Power BI against a SSAS Tabular Model live connection where we could empower the users to perform these ad hoc queries themselves.
Any help very much appreciated.
I'm wondering if you already have looked at the feature called "Cross Highlight", it has been released with Power BI Desktop in February, and it's not a feature that one can turn on and off, but it's more like a "behavior".
You will find a description in the video for the February 2018 release:
This feature may not supported by all custom visuals until now.
At first glance, it certainly looks promising.
I'll check it and and get back to you. Thanks for the quick reply.
Thanks again for your reply.
Mmmm, not quite. Still suffers the same issues as the previous methods I've tried (though will be good for another couple of scenarios we have), It still depends on what fields you choose in the visualisation (usually just a table) as to results (records) are actually shown.
You may try to use dynamic row level security with Analysis services tabular model,
So the user doesn't have to write a measure to filter the data.
Thanks for replying.
Unfortunately, the filtering that needs to happen is quite Ad Hoc so I don't think implementing RLS will be my answer as this will start to affect other reports that they should be able to run.
I'll keep looking for an answer but perhaps PowerBI is not the answer for this one.
Check out the News & Announcements to learn more.
Microsoft received the highest score of any vendor in both the strategy and current offering categories.
Mark your calendars and join us for our next Power BI Dev Camp!
Check out our new Discover Your Career Path blog post series and get all the details.