Text.NewGuid Function in Power Query

The Text.NewGuid function returns a random globally unique identifier (GUID) value as a text value. It creates a new GUID every time it refreshed.

Syntax

Text.NewGuid() as text

Example: Create a GUID.

Power Query M

let
  source = Text.NewGuid()
in
  source   

The random generated value is like “e8261a4c-c97a-496c-a059-79abc874288e”.