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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Create a Panel Data table from two different tables

Hi all, 

 

I have a table in which there are mapped different categories as follows:

mariete_c_1-1633337874450.png

 

I would like to create a new table (not a measure) that includes a date variable as follows:

 

mariete_c_2-1633337992294.png

Any idea how? I am fairly new to the app and definitely will appreciate any help.

 

Regards and thank you for your comments in advance!

Mario

 

 

2 ACCEPTED SOLUTIONS
DataInsights
Super User
Super User

@Anonymous,

 

Try this solution.

 

1. Create a table with years:

 

DataInsights_0-1633527573607.png

 

2. Create a calculated table:

 

Table3 = CROSSJOIN ( VALUES ( Table1[Category] ), VALUES ( Table2[Year] ) )

 

Result:

 

DataInsights_1-1633527631403.png

 





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

Proud to be a Super User!




View solution in original post

v-chenwuz-msft
Community Support
Community Support

Hi @Anonymous 

 

I'm a bit confused as to why ID 1 has become 2017?

If you want to just add a date to the table you could consider using CROSSJOIN()

Let's say you have a date table as the following:

vchenwuzmsft_0-1633569514098.png

and then another table like this

vchenwuzmsft_1-1633569514100.png

When a new table is created using CROSSJOIN()

New Table = CROSSJOIN('Table','Date table')

Result.

vchenwuzmsft_2-1633569514103.png

Best Regards

Community Support Team _ chenwu zhu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-chenwuz-msft
Community Support
Community Support

Hi @Anonymous 

 

I'm a bit confused as to why ID 1 has become 2017?

If you want to just add a date to the table you could consider using CROSSJOIN()

Let's say you have a date table as the following:

vchenwuzmsft_0-1633569514098.png

and then another table like this

vchenwuzmsft_1-1633569514100.png

When a new table is created using CROSSJOIN()

New Table = CROSSJOIN('Table','Date table')

Result.

vchenwuzmsft_2-1633569514103.png

Best Regards

Community Support Team _ chenwu zhu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

DataInsights
Super User
Super User

@Anonymous,

 

Try this solution.

 

1. Create a table with years:

 

DataInsights_0-1633527573607.png

 

2. Create a calculated table:

 

Table3 = CROSSJOIN ( VALUES ( Table1[Category] ), VALUES ( Table2[Year] ) )

 

Result:

 

DataInsights_1-1633527631403.png

 





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

Proud to be a Super User!




Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

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

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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