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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
nok
Helper III
Helper III

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.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors