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
RahulKumarBIT
Regular Visitor

Creating a new table using date table and items from other table

Hi

I have a date table. I have another table having two columns - ID and category for each id. I want to create a new table which will have 2 columns - Date series from date table and ID. Following are the issues i am trying to resolve:

1) How to create the new table bringing in date series and id from the two other tables.

2) Date Series in the 1st column will repeat for each id

 

I have shown below a sample of two tables along with the desired output table:

1) 1st Input - Date Table:

EOM Dates
01/31/2023
02/28/2023

2) 2nd Input - ID Table:

ID
501
502

3) Output Table

EOM DatesID
01/31/2023501
02/28/2023501
01/31/2023502
02/28/2023502
1 ACCEPTED SOLUTION
some_bih
Super User
Super User

Hi @RahulKumarBIT  after you imported your data, new table should be:

Output Table =
    CROSSJOIN('1st Input - Date Table',
    '2nd Input - ID Table'
)
If this helps please kudo.
If this solves your problem please accept it as a solution.
some_bih_0-1686083886989.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






View solution in original post

2 REPLIES 2
RahulKumarBIT
Regular Visitor

Thanks for the help @some_bih 

some_bih
Super User
Super User

Hi @RahulKumarBIT  after you imported your data, new table should be:

Output Table =
    CROSSJOIN('1st Input - Date Table',
    '2nd Input - ID Table'
)
If this helps please kudo.
If this solves your problem please accept it as a solution.
some_bih_0-1686083886989.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






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.