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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
nok
Advocate II
Advocate II

Repeat each date from a Calendar table for each different ID

Hello!

I have a Calendar table that shows a row for each day from 1/1/2023 to today's date like that:

Date
1/1/2023
2/1/2023
3/1/2023
...
2/9/2024

 

I want to modify this table to repeat each date for each different Category coming from another table called "Ref_Category, which looks like this:

CategoryName
Paper
Pen
Pencil

 

The expected end result of my new "Calendar" table would be something like this:

DateCategoryName
1/1/2023   Paper
2/1/2023Paper
3/1/2023Paper
...Paper
2/9/2024Paper
1/1/2023Pen
2/1/2023Pen
3/1/2023Pen
...Pen
2/9/2024Pen
1/1/2023Pencil
2/1/2023Pencil
3/1/2023Pencil
...Pencil
2/9/2024Pencil

 

Is it possible to do this?

1 ACCEPTED SOLUTION
SamWiseOwl
Super User
Super User

Hi @nok 

Do you want this as a new table in the Data Model or a table visual in the front end?

A visual would look like this:

SamWiseOwl_0-1725285960788.png

Put the Date column and the Category column in the visual.

 

The actual Data Table would use Cross Join to combine the two tables. On the Modeling tab choose New Table.

SelectColumns lets you choose which columns to include in the cross join:

SamWiseOwl_1-1725286141635.png

 

 

 


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

View solution in original post

1 REPLY 1
SamWiseOwl
Super User
Super User

Hi @nok 

Do you want this as a new table in the Data Model or a table visual in the front end?

A visual would look like this:

SamWiseOwl_0-1725285960788.png

Put the Date column and the Category column in the visual.

 

The actual Data Table would use Cross Join to combine the two tables. On the Modeling tab choose New Table.

SelectColumns lets you choose which columns to include in the cross join:

SamWiseOwl_1-1725286141635.png

 

 

 


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

Top Solution Authors
Top Kudoed Authors