User Profile
hamzashafiq
Kudo Collector
Joined 4 years ago
User Widgets
Contributions
Incremental Refresh is not working
Dear Experts, I've configured the incremental refresh on one of the datasets, but it's continously failing (gives below error). I set the incremental refresh to only refresh the data for last 7 days but it looks like it's still trying to refresh the complete data. My dataset has three tables and have approx 50million rows that's why I'm trying to refresh only last 7 days rows (that are approx. 230K). I also tried to run the query on the source table with last 7 days filter and that query completed with 1 sec. Don't know power BI still trying to refresh complete data and after 1 hour it says memory exceed error. Need your guidance please. pilot_quantum_parts_inventory_v1 has failed to refresh. Failure details: The last refresh attempt failed because of an internal service error. This is usually a transient issue. If you try again later and still see this message, contact support. Resource Governing: This operation was canceled because there wasn't enough memory to finish running it. Either reduce the memory footprint of your dataset by doing things such as limiting the amount of imported data, or if using Power BI Premium, increase the memory of the Premium capacity where this dataset is hosted. More details: consumed memory 24806 MB, memory limit 24806 MB, database size before command execution 793 MB. See https://go.microsoft.com/fwlink/?linkid=2159753 to learn more. Next refresh for pilot_quantum_parts_inventory_v1 is scheduled for July 28, 2023 7:00 UTC.520Views0likes1CommentRe: Insert 12 Rows for each ID in Power Query
Hi Ahmedx I tried your solution and it's working thank you. Now let's see how the actual data looks like. Data ID Group Year Month Transaction Amount 1 History Start Jan-23 10 1 Sales Feb-23 20 1 Sales Mar-23 30 1 Sales May-23 40 2 History Start Mar-23 10 2 Sales Apr-23 20 2 Sales May-23 30 2 Sales Jul-23 40 In the data you see for each ID (1 and 2) one of the month is missing (ID 1 miss April and ID 2 miss June), we need to insert only that row which is missing, the insertion should start from the date where Group = "History Start" and end at Max date of "Year Month" for each ID. Below is the required output. Output ID Group Year Month Transaction Amount 1 History Start Jan-23 10 1 Sales Feb-23 20 1 Sales Mar-23 30 1 Sales Apr-23 0 1 Sales May-23 40 2 History Start Mar-23 10 2 Sales Apr-23 20 2 Sales May-23 30 2 Sales Jun-23 0 2 Sales Jul-23 404.3KViews0likes2CommentsRe: Calculate Value on Max Date of Previous Month
Data: ID Transaction Date Quantity 1 1-Jan 10 1 2-Jan 15 1 1-Mar 17 1 2-Mar 18 Required Output ID Month Year Quantity in Max Date of Month Previous Month Quantity in Max Date of Previous Month 1 Jan-23 15 1 Mar-23 18 Jan-23 153.6KViews0likes0CommentsCalculate Value on Max Date of Previous Month
Hey Guys, I want to calculate the "Quantity in Max Date of Previous Month" . The problem is that the previous month is not always the previous, like in this case the previous month of March in January. How can I have the desired output? Data: ID Transaction Date Quantity 1 1-Jan 10 1 2-Jan 15 1 1-Mar 17 1 2-Mar 18 Required Output ID Month Year Quantity in Max Date of Month Previous Month Quantity in Max Date of Previous Month 1 Jan-23 15 1 Mar-23 18 Jan-23 153.6KViews0likes4CommentsInsert 12 Rows for each ID in Power Query
Hey Guys, I have a dataset, I want to insert 12 rows for each ID in the table using Power Query and insert blank in other records except ID. How can I do that? Data: ID Month Year Sales 1 May-22 20 2 Jun-22 23 3 Jul-22 50 4 Aug-22 100 Required Table: ID Month Year Sales 1 Jan-22 0 1 Feb-22 0 1 Mar-22 0 1 Apr-22 0 1 May-22 20 1 Jun-22 0 1 Jul-22 0 1 Aug-22 0 1 Sep-22 0 1 Oct-22 0 1 Nov-22 0 1 Dec-22 0 2 Jan-22 0 2 Feb-22 0 2 Mar-22 0 2 Apr-22 0 2 May-22 0 2 Jun-22 23 2 Jul-22 0 2 Aug-22 0 2 Sep-22 0 2 Oct-22 0 2 Nov-22 0 2 Dec-22 0Solved4.4KViews0likes7CommentsSame Week Numbers in Two Months
Hi All, I have created a Week Number column using the following DAX Week Num= WEEKNUM('DateTable'[Date],2) to calculate the 4 week running average. The problem is that the Week 6 is coming in both Januray and February causing issues in my rolling average calculation. Is there any way we can make the week number unique?Solved2KViews0likes2Comments
Data Privacy
Microsoft Fabric Community and Privacy
To learn more about how we manage your data, please review the Microsoft Fabric Community Data Privacy guide.