Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Add data column

Hi,

 

I have a data table that has been copied into Power BI.  I would like to add a data column (not from a forumula) that I just type the values in.  But I don't see anyway to do that.

 

When I click enter data it always wants to create a new table which is NOT what I want to do.  I just want to add a new column that I can type whatever data I want in.

 

Thanks,

1 ACCEPTED SOLUTION
v-yulgu-msft
Employee
Employee

Hi @Anonymous,

 

As you said, it is not supported to add a column via typing any value you want.

 

To work around this requirement, you could

  1. insert an index column to source table in Query Editor mode.
  2. create a new table by clicking enter data, one column should list values like 1,2,3, etc, another column should display those values you want to add.
  3. create a one to one relationship between these two tables based on index column (1,2,3,etc).
  4. In source table, create a calculated column using formula like Column=Related(NewTable[Column2])

 

Alternativele, repeate above step1 and step2, then, create a new column in source table using formula like: Column=LOOKUPVALUE(NewTable[Column2],NewTable[Column1],SourceTable[Index])

 

Best regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yulgu-msft
Employee
Employee

Hi @Anonymous,

 

As you said, it is not supported to add a column via typing any value you want.

 

To work around this requirement, you could

  1. insert an index column to source table in Query Editor mode.
  2. create a new table by clicking enter data, one column should list values like 1,2,3, etc, another column should display those values you want to add.
  3. create a one to one relationship between these two tables based on index column (1,2,3,etc).
  4. In source table, create a calculated column using formula like Column=Related(NewTable[Column2])

 

Alternativele, repeate above step1 and step2, then, create a new column in source table using formula like: Column=LOOKUPVALUE(NewTable[Column2],NewTable[Column1],SourceTable[Index])

 

Best regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Wow that is a HUGE flaw.  I hope they fix this soon.  Something so easy to do in excel should be possible here as well.

 

Thanks for the answer.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.