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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Thomas_R_H
New Member

Unique Static GUID

Hi all 

I have a problem with the  "Text.NewGuid()" that generates the same GUID for each row my table. 

So i read through this post: Solved: Problem with M function Text.NewGUID() - Microsoft Fabric Community and got this: 

Table.TransformColumnTypes(Table.AddColumn(#"Filtered rows", "GUID", each try error Text.NewGuid() otherwise Text.NewGuid()), {{"GUID", type text}})
My question is will this keep the generated GUIDS static? 
It is used for a dataflow in the Power Platform and i have to tick the box "Delete rows that no longer exists in the query output", which basically means that they have to be static to be able to delete the correct rows that does not exist any more? 

If not, is there some one that can help with a work around? 


Br 🙂 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

GUIDs will not be kept static. If you need static GUIDs then you need to use an external reference table that correlates your table's primary key with the external GUID.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

GUIDs will not be kept static. If you need static GUIDs then you need to use an external reference table that correlates your table's primary key with the external GUID.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.