general comment
1112 TopicsUse integers or not? (conflicting documentation)
Hey guys I am a bit confused whether or not I should use as much integers as possible. The official Microsoft documentation suggests it as a best practice (https://docs.microsoft.com/en-us/power-bi/power-bi-reports-performance), however Chapter 17 in the Defintive Guide to DAX suggests it shouldn't make a difference: "It does not matter whether a column uses a string, as 64-bit integer, or a floating point to represent a value. All these data types can be hash encoded, providing the same performance in terms of speed of scanning and storage space". Am I missing something, or is this conflicting information? And if so, which one would be correct? Thanks in advance.Solved4.8KViews0likes6CommentsMySQL Connector - Direct Query
Hi Team, From Power BI, I'm using the MySQL connector to connect to the MySQL database. However, I do not see an option to choose the data connectivity mode as DirectQuery. The connector is automatically using Import mode. When I checked the Microsoft documentation, it appears that the MySQL connector is supported only in Import mode. Could you please confirm whether this is expected behavior? Is it true that Power BI does not support DirectQuery connectivity with MySQL using the native MySQL connector? Thanks in advance!Solved177Views0likes5CommentsInserting a list of value into a Snowflake query
Hi, I currently have a list of values which dynamically change either in value or length of list. E.g. Kjn23409u Nskjnfwo123 Slmdfwo10239 I then have another query which filters an extremely large database (Over 10 million rows) based on the above list of values. SELECT * FROM X_Database WHERE ITEM_ID in (‘Kjn23409u’,’ Nskjnfwo123’,’ Slmdfwo10239’) I currently have to update the list of values in the SQL whenever the original list updates, however I would like to have this done automatically using power query. My question is it possible to place the first list of values generated from a query from an excel file into the snowflake sql query using the advance editor. E.g. Create a variable which reference another query (that is a list of value) and then place the variable in to the sql query. Current Query let Source = Value.NativeQuery(Snowflake.Databases("Warehouse","Warehouse"){[Name="Database"]}[Data], " SELECT * FROM X_Database WHERE ITEM_ID in (‘Kjn23409u’,’ Nskjnfwo123’,’ Slmdfwo10239’)” , null, [EnableFolding=true]), in #"Table" Idea Let VAR Item_id_list = query1 Source = Value.NativeQuery(Snowflake.Databases("Warehouse","Warehouse"){[Name="Database"]}[Data], " SELECT * FROM X_Database WHERE ITEM_ID in Item_id_list" null, [EnableFolding=true]), in #"Table" Thank you in advance1.9KViews0likes2CommentsHigh volume Dataverse dataflow times out avoid NESTED FROMs and/or JOINs best approach to resolve?
Background We have a Gen1 Dataverse dataflow that calculates aggregate totals per record (yearly, prior-year, lifetime, and household rollups) and writes them to two output entities, Merge Account and Merge Contact. Each output entity is built from a chain of ~11 Table.NestedJoin (JoinKind.FullOuter) joins over ~12 upstream aggregate queries. The problem The dataflow refreshes without issue on smaller environments but times out on high-volume ones with: Microsoft SQL: "The updated two minutes (2) timeout period elapsed prior to completion of the operation. Please avoid using SELECT *, or NESTED FROMs and/or JOINs to execute the query with default five minutes (5) timeout." ErrorCode = 10478; Number = 40000 (Some environments show error 40197 instead.) It stops on the Merge step. What we've implemented so far We've built a monitoring solution: a cloud flow that detects dataflow refresh failures and logs the details (dataflow name, ID, and error message) into a custom Refresh Audit table, surfaced in a model-driven app so the team has visibility into failures. We've analyzed the failure across multiple environments and confirmed it correlates with data volume — the same dataflow completes on smaller datasets and times out on larger ones, with the filtered row volume and per-record density appearing to be the main drivers. We've identified that the full-outer joins don't appear to fold, so a large nested query is sent to the Dataverse TDS endpoint and hits the query timeout — i.e. it's a timeout, not a data/row error. Approaches we're evaluating — would these be effective? Increasing the query/command timeout for a Gen1 Dataverse dataflow — is that configurable, and where? Using Table.Buffer on the join inputs to force local evaluation and avoid pushing the nested query to the TDS endpoint — would this reliably help, or just shift the bottleneck? Staging the upstream queries into computed/staged entities (or a separate staging dataflow) — is this the recommended pattern, and does it need enhanced compute / premium? For very large datasets (1M+ rows), pushing the aggregation source-side (FetchXML aggregate / SQL view) — is this the more reliable long-term approach? Is there a supported way to get per-step timing / query diagnostics for a dataflow refresh, to pinpoint the heaviest step and enrich our monitoring? Any guidance on which of these works best for high-volume Dataverse dataflows with heavy full-outer join chains would be much appreciated. Thanks!Solved347Views0likes5CommentsAccess.Database and Web.Contents on Macs
Hi, Any expert on Power Query for macOS there ? 😉 I have an Access database in my Dropbox pro folder and I would like to to be able to work on it on my Mac when I am at home. So to connect the Access database to PQ without a local path, I can manage through Web.Contents() I can also manage to have it on another PC since this is not locally dependent on my PC at work However, I hav tried to use Web.Contents() in my Mac, I do see the file but I cannot drill down to the table as I cannot use the module Access.Database Any help, lead or workaround would be greatly appreciatedSolved12KViews0likes3CommentsQuickly Filter Out Salesforce Object Fields
I have recently connected to Salesforce Object, however my opportunity or account object consist alot of fields. Is there a way to quickly filter out the object fields without writing any advance editior syntax ? The current way that I am doing is by manually removing the object one by one and it is very time consuming.Solved3.8KViews0likes7CommentsHow do you currently audit a messy Power BI semantic model?
I'm exploring a tool idea to automatically scan a Power BI/Fabric workspace for duplicate/conflicting measures, undocumented DAX, and unused reports — instead of doing it by hand. Before I build much more, I wanted to ask people who actually deal with this: what does your current cleanup/audit process look like? Is it mostly manual? Any tools you already use for this? Genuinely trying to learn here, not pitching anything yet.Solved266Views0likes5CommentsCan't connect to Salesforce Reports
I've been able to connect to our Salesforce objects forever now without issue. I've now encountered a situation where I need to instead connect to reports and it just isn't working. Whenever I try to connect it just sits here and spins and never moves forward: Has anybody ever experienced this? I can't think of what the issue could be.2.1KViews0likes5Comments