Anonymous
10 years agoNot applicable
Status:
Needs Votes
Switch from load data to direct query
I would like ability to switch from loading data to direct query. I can switch from direct query to load, but not back. If I add features that aren't supported, I understand I may need to fix them, b...
ThingBreaker
6 years agoFrequent Visitor
Updating Queries to use DirectQuery (Wildly unsupported and a very Bad Idea™) I stuck this in a post that's a little easier to read. But I'm leaving it here for when my blog inevitably dies along with me. http://blog.teknikcs.ca/2017/03/25/converting-powerbi-desktop-reports-from-import-to-directquery/ Updating Queries 1. Attach a debugger to the PowerBI desktop application. 2. Replace all instances of the following bytes: 44 69 72 65 63 74 51 75 65 72 79 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 14 with 44 69 72 65 63 74 51 75 65 72 79 01 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 14 Updating Relationships: There's two ways of going about this: 1. Be smart and write a little asm patch that replaces any calls to read the memory location to read back from your own location. 2. Be lazy like me and let pbi desktop reinsert the overwritten IgnoreCase setting (reason being that you can't just 'add space' to the memory of a loaded application for our new tag). Since I am inherently lazy this is the second way. Search the memory for the string below and replace it with the one after INCLUDING WHITESPACE (probably best to just edit in memory, whitespace out the rest of the unreplaced IgnoreCase option (hex 20)) PreferOrdinalStringEquality="true"> PreferOrdinalStringEquality="true" DirectQueryMode="DirectQuery" /> Now after saving and reloading (on a copy of the report obviously) PBI should ask to revalidate the queries and you'll need to remove unsupported functions like calculate and datetime stuff. I personally lost my computed columns and measures but everything else worked. If you search memory again PBI should have reinserted the IgnoreCase option in the relationships after the direct query option. If it didn't.... well.... like I said. Bad Idea!
Recent ideas
Enforcing OneLake Security on external semantic model API calls without adding security risks
Problem External applications cannot query Fabric semantic models on a user’s behalf - with OneLake RLS security rules enforced - unless the Fabric API is exposed to any and every client an authoriz...sean_cochran27 minutes agoResolver INew17Views0likes0CommentsAllow ownership transfer (“Take over”) for Activator items
Activator rules run under the identity of the item’s creator. When that person leaves the organization and their account is disabled, all rules stop working silently. Unlike other Fabric items, there...ndelcastillo57 minutes agoRegular VisitorNew20Views1like0CommentsRestore "no-reply" option for Power BI Subscriptions
Please add a setting in the Power BI Subscription pane to choose the sender identity. With the recent update the platform forces emails to route through the subscription owner's personal Exchange On...LenaFid3 hours agoRegular VisitorNew253Views42likes10CommentsFabric Desktop: A Local Development Experience for Microsoft Fabric
One of the biggest challenges in Microsoft Fabric today is the one branch per workspace limitation, which makes it difficult to work on multiple feature branches simultaneously without creating separ...raym853 hours agoAdvocate INew1.4KViews15likes2Comments