cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lavmads
Helper III
Helper III

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

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

Best regards,

Lisa 

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
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.