This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hi,
I have a master Date table, and I'm trying to link it to a number of other tables, all with Year and Month. The Year and Month columns in my other tables are stored as Text, which I think might be part of the problem, but I can't seem to change this without getting an error... ??
MASTER DATE TABLE
OTHER TABLES
Is anyone able to help?
Thank you
Sonia
Solved! Go to Solution.
Hi,
In the Other Table, generate a genuine date from the Month and Year by using this formula
=1*("1/"&Table2[Month]&"/"&Table2[Year])
Format this new column as Date and give it a meaningful heading. Now create a relatioship from the Date column (that you just created with the formula above) of the Other Table to the Date column of your caalendar table.
Hope this helps.
Hi,
In the Other Table, generate a genuine date from the Month and Year by using this formula
=1*("1/"&Table2[Month]&"/"&Table2[Year])
Format this new column as Date and give it a meaningful heading. Now create a relatioship from the Date column (that you just created with the formula above) of the Other Table to the Date column of your caalendar table.
Hope this helps.
You are welcome.
I've tried this same formula in a different table, and now I'm getting the below error message.
Any ideas why?
Thanks again for your help
Sonia
Hi,
The year and/or month column has atleast one blank cell. Try this
=IFERROR(your formula,DATE(1900,1,1))
Does this work?
Hi Rocky,
The reason I have the time stamp is because the main table it's linked to is a list of Facebook posts, which are time stamped.
This table is linked to the main Date Table but I need the others linked too.
Any suggestions?
Also, how do I convert the dates in my other tables from text?
can you share the screenshot of the error?
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 25 | |
| 23 | |
| 19 | |
| 17 | |
| 14 |
| User | Count |
|---|---|
| 25 | |
| 23 | |
| 20 | |
| 20 | |
| 19 |