Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 |
---|---|
76 | |
75 | |
46 | |
31 | |
27 |
User | Count |
---|---|
99 | |
91 | |
51 | |
49 | |
46 |