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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Syndicate_Admin
Administrator
Administrator

Table field with more than one record

Hello

Is it possible to create a table where there is a field where you can put two records?

Basically, I want what you see in capture since I want to create a filter later.

For example, zone 3 ALMERIA belongs to delegacion valencia and rep1019. In the filter I want both valence and 1019 separately and that the areas that belong to them appear.

apenaranda_0-1680680533689.png

Thank you.

1 ACCEPTED SOLUTION
joaoribeiro
Impactful Individual
Impactful Individual

Hi @Syndicate_Admin ,

 

In Power Query, you can create a table to relate zone to each delegacion. For that, you can create a "reference" to the original table, and then follow the steps below:

 

1. Create a reference:

joaoribeiro_0-1680685933544.png

 

2. Split Columns By Delimiter (in you case I believe its comma):

joaoribeiro_3-1680686065148.png

 

 

joaoribeiro_1-1680686029523.png

 

joaoribeiro_2-1680686043263.png

 

3. Select all columns that are not the "splitted" delegaciones and select tranform > Unpivot Columns > Unpivot Other Columns:

joaoribeiro_8-1680686385310.png

 

 

joaoribeiro_6-1680686180215.png

 

4. You can TRIM the text to remove leading spaces:

joaoribeiro_7-1680686230028.png

 

5. Remove the 'Attribute' column, and then you have all delegaciones in rows to use for filtering. For that, you just need to create a relationship to your original table (consider using bridge tables to avoid many-to-many relationships).

 

Hope this answer solves your problem!
If you need any additional help please @ me in your reply.
If my reply provided you with a solution, please consider marking it as a solution ✔️or giving it a kudoe 👍

Thanks!
Best regards,
Joao Ribeiro

View solution in original post

4 REPLIES 4
Syndicate_Admin
Administrator
Administrator

There @apenaranda ,

Please check my answer to your topic in this link: https://community.powerbi.com/t5/Desktop/Table-field-with-more-than-one-record/m-p/3173214#M1070702

Hope this answer solves your problem!
If you need any additional help please @ me in your reply.
If my reply provided you with a solution, please consider marking it as a solution ✔️or giving it a kudoe 👍

Thanks
Best regards,
Joao Ribeiro

joaoribeiro
Impactful Individual
Impactful Individual

Hi @Syndicate_Admin ,

 

In Power Query, you can create a table to relate zone to each delegacion. For that, you can create a "reference" to the original table, and then follow the steps below:

 

1. Create a reference:

joaoribeiro_0-1680685933544.png

 

2. Split Columns By Delimiter (in you case I believe its comma):

joaoribeiro_3-1680686065148.png

 

 

joaoribeiro_1-1680686029523.png

 

joaoribeiro_2-1680686043263.png

 

3. Select all columns that are not the "splitted" delegaciones and select tranform > Unpivot Columns > Unpivot Other Columns:

joaoribeiro_8-1680686385310.png

 

 

joaoribeiro_6-1680686180215.png

 

4. You can TRIM the text to remove leading spaces:

joaoribeiro_7-1680686230028.png

 

5. Remove the 'Attribute' column, and then you have all delegaciones in rows to use for filtering. For that, you just need to create a relationship to your original table (consider using bridge tables to avoid many-to-many relationships).

 

Hope this answer solves your problem!
If you need any additional help please @ me in your reply.
If my reply provided you with a solution, please consider marking it as a solution ✔️or giving it a kudoe 👍

Thanks!
Best regards,
Joao Ribeiro

It worked perfectly. Thank you.

Hi @apenaranda would you be so kind as to mark my answer as a solution as well? As Syndicate Admin only replicated it here in Spanish. Thanks a lot!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.