Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hello Community,
I need help in creating a column with default value. I have a dataset with 2 columns and i want to create 3rd column with default value like(Same value for all records).
Dataset :
ID Name
1 Arjun
2 Deep
Output:
ID Name Age
1 Arjun 27
2 Deep 27
Thanks,
Paruchuri
Solved! Go to Solution.
Hi @Anonymous
will new column with constant value help?
Context menu "new column" ->
Column = 27
or it's too simple?
Best regs
Fine, @Anonymous,
try this:
Column2 = "https://www.google.com"
double quotes is important for text value
best regs
Hi @Anonymous
will new column with constant value help?
Context menu "new column" ->
Column = 27
or it's too simple?
Best regs
Thanks It is working. I am trying to create one more column with default value 'https://www.google.com' to all records but getting error.
The syntax for ':' is incorrect. (DAX(https://www.google.com)).
Fine, @Anonymous,
try this:
Column2 = "https://www.google.com"
double quotes is important for text value
best regs
| User | Count |
|---|---|
| 23 | |
| 20 | |
| 18 | |
| 17 | |
| 10 |
| User | Count |
|---|---|
| 53 | |
| 52 | |
| 40 | |
| 37 | |
| 32 |