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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Create table from 2 column and 2 table

Dear friends

how can i create table that combine "Date" from table 1 and "Value" from table 2 and let "Date" duplicate its selfves each row by each "Value"

Table1

Date
01-01-21
02-01-21
03-01-21
04-01-21

 

Table2

A

B

C
D

 

What i expected

DateValue
01-01-21A
01-01-21B
01-01-21C
01-01-21D
02-01-21A
02-01-21B
02-01-21C
02-01-21D
03-01-21A
03-01-21B
03-01-21C
03-01-21D
04-01-21A
04-01-21B
04-01-21C
04-01-21D

 

thank you in advance for any suggestions

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , why only 2 dates are repeating. Noy 4.

 

Option in Dax is crossjoin

 

new tbale  = Crossjoin(Table1, Table2)

 

https://www.sqlbi.com/articles/from-sql-to-dax-joining-tables/

or

https://radacad.com/append-vs-merge-in-power-bi-and-power-query

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

5 REPLIES 5
amitchandak
Super User
Super User

@Anonymous , why only 2 dates are repeating. Noy 4.

 

Option in Dax is crossjoin

 

new tbale  = Crossjoin(Table1, Table2)

 

https://www.sqlbi.com/articles/from-sql-to-dax-joining-tables/

or

https://radacad.com/append-vs-merge-in-power-bi-and-power-query

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak sorry for misleading, i just need to shown as example , but all i need to repeat all date

@Anonymous , Try crossjoin, I given example in last update

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak it cant , Table 1 are Dax table and table1 and table2 are not relationship

@Anonymous , crossjoin mean table with no relation

 

refer: https://docs.microsoft.com/en-us/dax/crossjoin-function-dax

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 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.