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, but I would still like this ability. Currently, I have to re-create the report from scratch.
7 Comments
- ThingBreakerFrequent VisitorUpdating 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! - earlenereidFrequent VisitorI have added my vote to this post. I agree that the functionality to switch from Import mode to DirectQuery is a must have! Having to create reports from scratch is crazy. Especially since you can't do a copy/paste from one report to another!
- george_qiao3New MemberOne of the feature I prefer Tableau over Power BI is the ability to switch between import (Tableau extracts) and Direct Query (Live). This feature is essential for rapid development (direct query over a subset of data for rapid iteration and then change to import for performance or remains direct query for large data set).
- apeterson5New MemberAgreed, this should be an option. During development, or during subsequent user activity, it is not always apparent if the data set should be live, or have a scheduled refresh.
- mickgroupNew MemberI also like to switch from direct query to snapshot and from snapshot data to direct query in the powerbi.com website. The reason for this is sometimes, the gateway is down or under going maintenance. During this time the dashboard will not work. It is good if we can preserve a snapshot of the data so the dashboard will continue to work even the gateway is down. And switch it back to direct query when the gateway is up again.
- fbcideas_migusrNew Member
At the very least, it would be good to have a query syntax/parameter to be able to set a query to be direct or loaded.
- fbcideas_migusrNew MemberStatus added:Needs Votes
Recent ideas
Allow the target pipeline reference in Invoke Pipeline / ExecutePipeline to be set dynamically
Problem Today, the Invoke Pipeline activity (and legacy ExecutePipeline) requires picking the target pipeline statically at design time — a fixed Workspace/Pipeline selection in the UI, which serial...JONATHANHAUN2 hours agoNew MemberNew4Views0likes0CommentsReset Bookmark Navigator Selection to the Default Published View on Browser Refresh
In Power BI Service, when a user selects a bookmark through a Bookmark Navigator, the bookmark identifier is appended to the report URL. If the user refreshes the browser page, the report reloads in ...vivek123443 hours agoMicrosoft EmployeeNew5Views0likes0CommentsSeparate Interactive and Background Compute Allocation to Prevent Throttling of Live Reports
Problem Statement When Fabric capacity utilization reaches or exceeds 100% in the last one-hour window, end users experience significant disruptions when accessing Power BI Fabric live reports. This...TilakArani3 hours agoNew MemberNew4Views0likes0CommentsAccessibility issue in the Share dialog of embedded Power BI reports
Accessibility issue in the Share dialog of embedded Power BI reports I would like to share an accessibility finding identified while testing an embedded Power BI report published as part of the cont...ugartema4 hours agoAdvocate INew91Views13likes1Comment- fbcideas_migusr6 hours agoNew MemberUnder Review384Views12likes4Comments