Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Baqa
Frequent Visitor

Can't save dataflow "One or more tables references a dynamic data source

The below query working fine 
but when I try to save and Close the dataflow it throughs an error

Can't save dataflow "One or more tables references a dynamic data source



let
    Source = URLTable,
    FirstURL = Source{0}[URL], // Change 1 to the index of the URL you want to use
    // Function to handle retry with exponential backoff
    RetryFunction = (URL) =>
        let
            // Define the number of retry attempts
            maxAttempts = 5,
            // Initial wait time in milliseconds
            initialWait = 1000,
            // Function to make the actual request
            MakeRequest = (retryCount, waitTime) =>
                let
                    // Attempt to fetch data
                    result = try GoogleSheets.Contents(URL)
                             otherwise null,
                    // Handle retry logic
                    nextWait = waitTime * 2
                in
                    if result <> null or retryCount >= maxAttempts then
                        result
                    else
                        MakeRequest(retryCount + 1, nextWait)
        in
            MakeRequest(1, initialWait),

    // Invoke the retry function with the FirstURL
    Tb = RetryFunction(FirstURL),

    // Navigate and process data within the dynamically fetched table (Tb)
    Navigation = Tb{[name = "Members", ItemKind = "Table"]}[Data],
    PromotedHeaders = Table.PromoteHeaders(Navigation, [PromoteAllScalars = true]),
    ChangedColumnType = Table.TransformColumnTypes(PromotedHeaders, {
        {"Membership Number", type text},
        {"Membership ID", Int64.Type},
        {"Membership Category", Int64.Type},
        {"Category Name", type text},
        {"Member Status", type text}
    })
in
    ChangedColumnType
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Baqa ,

According to my search, dataflow does not work with dynamic URLs. I see that there seems to be a step in your M function that has a URL selection step, which may be the problem.
You can refer to this post's solution:
Solved: Error - "One or more table references a dynamic Da... - Microsoft Fabric Community

You can also refer to these posts:
Solved: API Paginated Result 'One or more table references... - Microsoft Fabric Community
Solved: sql.database , Can't save dataflow One or more ta... - Microsoft Fabric Community

Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Baqa ,

According to my search, dataflow does not work with dynamic URLs. I see that there seems to be a step in your M function that has a URL selection step, which may be the problem.
You can refer to this post's solution:
Solved: Error - "One or more table references a dynamic Da... - Microsoft Fabric Community

You can also refer to these posts:
Solved: API Paginated Result 'One or more table references... - Microsoft Fabric Community
Solved: sql.database , Can't save dataflow One or more ta... - Microsoft Fabric Community

Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors