general comment
1123 TopicsPower Query very slow when combining hard credit and soft credit data from Fabric Warehouse
I’m working in Power BI Desktop with data coming from a Microsoft Fabric Warehouse. I have two related tables: B_Gifts - contains Gift ID, constituent ID, gift amount, gift date, etc. B_Gift_Soft_Credits - contains Gift ID, soft-credit constituent ID and soft-credit amount. The business requirement is to create one set of giving records where a constituent can receive either hard credit or soft credit for a gift. If the same constituent receives both hard and soft credit for the same Gift ID, I need to count the gift only once, using the maximum credited amount. My current Power Query approach is: Hard-credit query → create Credited Constituent ID and Credited Amount Soft-credit query → join back to Gifts by Gift ID → apply the same gift filters/fiscal-year logic → create Credited Constituent ID and Credited Amount Append both queries Group by: Gift ID + Credited Constituent ID + Fiscal Year and calculate: MAX(Credited Amount) The problem is performance. The hard-credit query is around 49,000 rows and the soft-credit query around 43,000 rows. The final Append/Group By can run for a very long time or fail to complete. I also tested the logic on one constituent only. The visible result was only a few hard-credit and soft-credit rows, but Apply Changes still spent a long time waiting on the Fabric Warehouse connection. I confirmed that my Fabric credentials are valid and I am signed in correctly. My questions are: Is this better handled in Power Query, DAX, or Fabric SQL? Could referenced queries or lost query folding be causing Power BI to reprocess much more data than the filtered rows suggest? Would you recommend creating the hard/soft-credit union directly from the two source tables instead of referencing existing queries? What is the best way to diagnose which Power Query step is causing the delay? I’m trying to keep the business logic reusable because the result will feed both annual and monthly donor-giving tables.29Views0likes3CommentsPower Query Editor - Using the 'Go to column' search feature
Power BI Desktop: Version: 2.158.1304.0 Problem: Power Query Editor - Using the 'Go to column' search feature, the PBI screen focus and desired column is not highlighted. The app focus does not move to the search filtered column, if you filter the column names and select the column from the 'Go to column' dialog. Background context: Desired column selection in dataset: 'Discount'. The column exists in the field set. Using the same 'Applied step'. Open the 'Go to column' dialog. Type the column name into the Search text box to filter the list and select the column from the results. The screen focus does not change. Discount column is NOT highlighted and not in focus. Reopen the 'Go to column' dialog and do NOT filter using the 'Search' text box. If I manually scroll through the list of columns and select the column using the dialog vertical scrollbar, then press the 'OK' button, the expected column focus functionality is achieved.52Views0likes4CommentsHow can i Join (create relationship) multiple tables in Power BI
Dear Team, I am reaching out to you to requested your support in linking (Join) these three tables. In fact, I would like to link (join) these three tables in order to carry out the following analyses: - Number of projects recorded per cluster - Number of projects reported per cluster - Number of projects recorded by Admin1 - Number of organisations (T_Organisation) recorded by Admin1 - Comparison of recorded projects and reported projects by cluster - Comparison of recorded projects and reported projects by Admin1 Note: The Cluster column in the tables (T_Project and T_Reporting) is a multi respons column with values separated by commas. Please see the snapshot below and enclosed the Excel file as an example.Solved91Views1like2CommentsPower BI sales dashboard for a small WooCommerce store -Import or DirectQuery?
Hi everyone, I run a small UK laptop store called Techyest and I'm trying to build a simple sales dashboard in Power BI connected to our WooCommerce data via a MySQL export. I want to track daily orders, revenue by product category and stock levels, but I'm not sure whether to use Import mode with scheduled refresh or DirectQuery since our data updates throughout the day. For an ecommerce store with a hundred orders a month, what would you recommend? Any tips on setting this up simply without needing a full data warehouse would be really appreciated!Solved73Views2likes6Comments- 114Views2likes9Comments
Total hours as time from date time xl ; [h]:mm:ss
Hi, I have been trying to get the total hours from a date time duration, the only was i have forund is to convert to text, just wondered if anyone hade any ideas or suggestions about doing thiis, I have no real reason, was just messing; let adatetime = #datetime(2020, 1, 1, 13, 30, 00), bdatetime = #datetime(2020, 1, 3, 14, 45, 00), diff = bdatetime - adatetime, ddays = Duration.Days(diff) * 24, hhours = Duration.Hours(diff), thours = ddays + hhours, tmins = Duration.Minutes(diff), tsecs = Duration.Seconds(diff), aslist = {thours, tmins, tsecs}, totext = List.Transform(aslist, (x) => Text.PadStart(Text.From(x), 2, "0")) in totext{0} & ":" & totext{1} & ":" & totext{2} RichadSolved77Views4likes6Comments- 55Views0likes1Comment
pasting code
I have just asked a question, and used the code tags, as you would for 'forum', but on viewing it does not look very copy / paste friendly, which was the point of sharing, is there a better way or is there a way to view the entire code as it would appear in a formatter, not much point iin formatting before posting if it's just going to be converted to a single long line RichardSolved83Views2likes3CommentsPower BI semantic model refresh fails in Service, but Gen1 dataflow and Desktop refresh successfully
Hi everyone, my semantic model refresh fails in Power BI Service with this error: DataFormat.Error: The input couldn't be recognized as a valid Excel document. Microsoft.Data.Mashup.ErrorCode = 10311. The exception was raised by the IDbCommand interface. However: The Gen1 dataflow refreshes successfully. The model also refreshes successfully in Power BI Desktop. I’ve reviewed the Power Query queries and couldn’t find any problems. The failure appears to happen only when refreshing the semantic model in Power BI Service. What could cause this difference, and how can I identify the specific query or source triggering the error? Error details: Cluster: WABI-SOUTH-EAST-ASIA-redirect.analysis.windows.net Activity ID: 76273612-20ed-4ca2-988e-4f593db29fa5 Request ID: 42e32479-4c91-40cf-b83c-e1ebd9591dc4 Time: 2026-09-15 20:18:51 UTC Any help would be appreciated.Solved511Views2likes14Comments