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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Create a new Table or Column Base on lookup Value

Dear, Beloved community 

I have 2 tables: 1 have only 20 value (Fact) and the other have many value because it a main table(Dim). When i connect the F table to Dim for lookup value it list all the name in Dim table even though the key in Fact table does not have the value.

Below is an example: The Fact table is am gonna use as a slicer but only have ID which its name stored in Dim table but the dim have many value when i connect they 2 table and use the Name column in slicer it just show all the value in Dim which i want is a reference to show the name that only exist in Fact 

 

Fact Table

Key_ID
1
2
3

Dim_Table

Key_IDName
1Key
2Lock
3Door
4Carpet
5Shoes
6Cabinet
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

Please try below steps:

1. my table

Fact_Table:

vbinbinyumsft_0-1661311400013.png

Dim_Table:

vbinbinyumsft_1-1661311423332.png

Model:

vbinbinyumsft_2-1661311446107.png

2. add a new column in Fact_Table

Name_From_Dim = LOOKUPVALUE(Dim_Table[Name],Dim_Table[Key_ID],Fact_Table[Key_ID])

vbinbinyumsft_3-1661311527315.png

3. add a slicer and table visual

Animation4.gif

Please refer attached .pbix file.

 

Best regards,
Community Support Team_ Binbin Yu
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
Anonymous
Not applicable

Hi @Anonymous ,

Please try below steps:

1. my table

Fact_Table:

vbinbinyumsft_0-1661311400013.png

Dim_Table:

vbinbinyumsft_1-1661311423332.png

Model:

vbinbinyumsft_2-1661311446107.png

2. add a new column in Fact_Table

Name_From_Dim = LOOKUPVALUE(Dim_Table[Name],Dim_Table[Key_ID],Fact_Table[Key_ID])

vbinbinyumsft_3-1661311527315.png

3. add a slicer and table visual

Animation4.gif

Please refer attached .pbix file.

 

Best regards,
Community Support Team_ Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Jihwan_Kim
Super User
Super User

Hi,

I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.

One of ways to create a slicer that only appears in the fact table is creating a new column in the fact table.

 

 Picture1.png


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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