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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply

Replicate rowset for each unique value in a table

Olá, pessoal! Estou com um problema aqui e não sei qual a melhor solução. Tenho duas tabelas simples:

 

Uma, com apenas uma coluna, trazendo uma lista de 1736 nomes.

A outra tabela tem datas e códigos de uma campanha de marketing.

 

O que eu quero é que, para cada data e código, essa lista de 1736 nomes seja replicada. Por exemplo: 

 

Na data 01/01/21, código 1, eu terei 1736 nomes. Na data 02/01/21, código 2, eu terei novamente esses 1736 nomes.

 

----

 

Hello guys! I have a problem here and I don't know what the best solution is. I have two simple tables:



One, with only one column, with a list of 1736 names.

The other table has dates and codes for a marketing campaign.



What I want is that, for each date and code, that list of 1736 names be replicated. For example:



On 01/01/21, code 1, I will have 1736 names. On 02/01/21, code 2, I will have those 1736 names again.

https://i.imgur.com/W2RlaDR.png

 

https://imgur.com/W2RlaDR

1 ACCEPTED SOLUTION
smpa01
Super User
Super User

@LeandroCampacciplease try the attached pbix

https://drive.google.com/file/d/1h_-bY5W-4-GcyCkILOrcOl6wqBFCzCZT/view?usp=sharing

 

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs

View solution in original post

2 REPLIES 2

Thanks @smpa01. Exactly that I need.

 

Thanks for the solution, it will certainly help me with other projects.

smpa01
Super User
Super User

@LeandroCampacciplease try the attached pbix

https://drive.google.com/file/d/1h_-bY5W-4-GcyCkILOrcOl6wqBFCzCZT/view?usp=sharing

 

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.