Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 150 | |
| 126 | |
| 109 | |
| 79 | |
| 54 |