Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register 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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
81 | |
79 | |
59 | |
35 | |
34 |
User | Count |
---|---|
100 | |
62 | |
56 | |
47 | |
41 |