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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
jja
Helper III
Helper III

Help create relationships on model

Hi

I have folowing tables:

model.png

What i want to do is on table new_components create a column and return linked Treatment value from related data tables.

 

new_treatment,new_ducttreatment and new_constructiontreatment is a raw tables from dataverse where it contains same tipas Value. table concat_treatment is a concatanated table of those 3 earlier mentioned tables so here Tipas is not unique - it has all Tipas and it's related values from those 3 combined tables. table cust_type is just a DISTICT(Tipas) from concat_treatment table.

in table new_components regarding Padengimas i have it in either 3 Separate columns(based on different Tipas) or i have created a calculated column and Concatenated values from these columns. 

in short i want to relate from table new_components columns Padengimas and Tipas and return related Treatment value.

Can you please help to achieve it?

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @jja ,

"in table new_components regarding Padengimas i have it in either 3 Separate columns(based on different Tipas)" is not very clear, but are you referring to three different [Tipas] in the new_components.

 

You might consider using Power Query – select [Tipas] column - Unpivot Column – to turn it into a column.

vyangliumsft_0-1712636860453.png

vyangliumsft_1-1712636860454.png

According to your description, table concat_treatment is a concatanated table of those 3 earlier mentioned tables, so you can use concat_treatment as a bridge table to connect the rest of the tables to this table via [Tipas].

vyangliumsft_2-1712636879374.png

vyangliumsft_3-1712636879378.png

 

Best Regards,

Liu Yang

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

1 REPLY 1
Anonymous
Not applicable

Hi  @jja ,

"in table new_components regarding Padengimas i have it in either 3 Separate columns(based on different Tipas)" is not very clear, but are you referring to three different [Tipas] in the new_components.

 

You might consider using Power Query – select [Tipas] column - Unpivot Column – to turn it into a column.

vyangliumsft_0-1712636860453.png

vyangliumsft_1-1712636860454.png

According to your description, table concat_treatment is a concatanated table of those 3 earlier mentioned tables, so you can use concat_treatment as a bridge table to connect the rest of the tables to this table via [Tipas].

vyangliumsft_2-1712636879374.png

vyangliumsft_3-1712636879378.png

 

Best Regards,

Liu Yang

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

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.