cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

How do I assign a numeric value to a non-numeric value and then connecting it to another table?

Hi. 


Can somebody please help me with this (I dont want to post the real data): 

 

I have this table A:

 

ID:                                Name: 

2                                  Apple

3                                  Banana 

7                                  Grape

22                                Orange

 

Then I have table B:

Category:

2

3

7

22

 

I would like to convert the numbers in table B "category" into the names from table A. So table B would like this instead:

 

Category:

Apple

Banana 

Grape

Orange

 

Best regards,

Lisa

3 REPLIES 3
ribisht17
Super User
Super User

Anonymous
Not applicable

But it does not let me select different type of data? I need the numbers to be replaced with text. 

Best regards,

Lisa 

Anonymous
Not applicable

Let me try to explain again: 


Main table

Category: 

1

3

5

7

22

18

 

Table A: 

Item-no:                Name: 

1                            Apple

3                            Orange

5                            Strawberry

7                            Lemon

22                          Mango

18                          Banana

 

I would like to merge these tables, so the values in "category" in the main table gets replaced with "name" from Table A. The values are the same in "category" (1, 3, 5 etc.) and in table A under "item-number"(1,3, 5 etc). I would like to see the name for that item-no. in the main table instead of numbers. 

 

I am still a newbie in Power BI, so please give me a dummie explanation 🙂

 

Best regards, 

Lisa

 

 

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors