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
EVEAdmin
Helper V
Helper V

Create New Table

Hi all

I would like to create a new table with 2 columns, where:

  1. column one contains distinct values from a column in another table
  2. column two is manually filled

Is that possible ? Then, how?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

"type" data where? Powerbi is not a place where you enter data, it's not excel.

You should prepare data in advance. 
It's better if you explain your requirement.

View solution in original post

8 REPLIES 8
ibarrau
Super User
Super User

Hi, if you have to manually add data this won't be automatically. You can do several things:

1- Create a table visualization with the first column and export that data. Then open de csv file, make it a table and add the second column.

2- Create a new dax table like DISTINCT(Table[Column1]) or ALL(Table[Column1]). Go to view data right click and copy table to an excel file where you can continue with the second column.

3- Similar to the number 2, you may be able to paste the copy of the data in "Enter Data" option on power bi to add directly to power bi instead of going through excel.

 

Regards,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

@ibarrau thank you

That will make the process static, whereas I need it to be dynamic. 

Anonymous
Not applicable

Define "manually filled"?
You can use a combination of ADDCOLUMNS, SELECTCOLUMNS and DISTINCT

 

something like

ADDCOLUMNS(SELECTCOLUMNS(DISTINCT(yourtable[yourcolumn])); "new column"; new values)

@Anonymous thank you,

 

you're right on asking more details on "manually filled". I need to be able to type values in the 2nd column.

So 1 column is the result of a DAX formula, the 2nd column is where I type data. Is that possible?

Anonymous
Not applicable

"type" data where? Powerbi is not a place where you enter data, it's not excel.

You should prepare data in advance. 
It's better if you explain your requirement.

well, I tried to do something that, one day, will become available 😁

Meantime, I will have to either manage the situation on each SQL server (preferred as it is dynamic) or use an Excel sheet.

Anonymous
Not applicable

I don't think it will become available as PBI is an analytical solution, so you don't typically enter data in these tools. What you can do is to enter "parameters" (using the function available in PBI) which can be used for what-if scenarios.

But again: what is your requirement? If you HAVE TO *enter* data make reports, you're not "thinking it" correctly.

@Anonymous thank you for your help.

 

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.