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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

powerBI slow loading data

Dear all,

I am using Power BI and have loaded data from Teams via a link, with the data being stored on SharePoint.

I used the following code to calculate 3 new columns, which took approximately 3 hours to generate the values. Afterward, I tried to apply the changes for this table, including the 3 new calculated columns. It has now been 2 days that this table, along with other tables, is still loading. While I can see that the other tables have completed, this one with the calculated columns is still taking 2 days to load.

Could you please advise on how I can optimize the latency of the data loading process?

Thank you in advance for your assistance

 

 


= let
FilteredUtilisateurs = Table.SelectRows(Utilisateurs,
each [#"lettre"] = "P"
),

AddCustomColumn = Table.AddColumn(#"Type modifié2", "PARTENAIRE", each
let
codeOrg = [#"Code"],
MatchingRows = Table.SelectRows(FilteredUtilisateurs,
each Text.Contains([#"USERS."], codeOrg)
),
CountRows = Table.RowCount(MatchingRows)
in
if CountRows > 0 then CountRows else "NO"
)
in
AddCustomColumn

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

Could you please provide sample data or pbix file(does not include sensitive data)? You can also try using Table.Buffer to improve performance.

let

    FilteredUtilisateurs = Table.Buffer(Table.SelectRows(Utilisateurs, each [#"lettre"] = "P")),
    
    MatchingDictionary = List.Buffer(List.Transform(FilteredUtilisateurs, each [#"USERS."])),
  
    AddCustomColumn = Table.AddColumn(#"Type modifié2", "PARTENAIRE", each
        let
            codeOrg = [#"Code"],
            MatchingRows = List.Select(MatchingDictionary, each Text.Contains(_, codeOrg)),
            CountRows = List.Count(MatchingRows)
        in
            if CountRows > 0 then CountRows else "NO"
    )
in
    AddCustomColumn

 

 

 

——————————————————————————————————————————————————

If my answer helps you solve the problem, please accept my answer as a solution and let it be seen by more people in need.

 

Best regards,

Mengmeng Li

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous ,

 

Could you please provide sample data or pbix file(does not include sensitive data)? You can also try using Table.Buffer to improve performance.

let

    FilteredUtilisateurs = Table.Buffer(Table.SelectRows(Utilisateurs, each [#"lettre"] = "P")),
    
    MatchingDictionary = List.Buffer(List.Transform(FilteredUtilisateurs, each [#"USERS."])),
  
    AddCustomColumn = Table.AddColumn(#"Type modifié2", "PARTENAIRE", each
        let
            codeOrg = [#"Code"],
            MatchingRows = List.Select(MatchingDictionary, each Text.Contains(_, codeOrg)),
            CountRows = List.Count(MatchingRows)
        in
            if CountRows > 0 then CountRows else "NO"
    )
in
    AddCustomColumn

 

 

 

——————————————————————————————————————————————————

If my answer helps you solve the problem, please accept my answer as a solution and let it be seen by more people in need.

 

Best regards,

Mengmeng Li

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.