Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi,
This I suspect is very simple but for the life of me I can't find it. I have imported a table of data into my PowerBi model. One of the columns is a date field and in order to be able to link it to another table, I need to set the date field as a key. Ths should (I hope) allow me to search the new table for data based on the date in the main date table I have.
Thanks,
Solved! Go to Solution.
Hi @ghammond09 ,
If you want to link one table to another, please consider create relationship between the two tables.
For example:
Output:
For more details, please refer to:
Create and manage relationships in Power BI Desktop
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @ghammond09 ,
If you want to link one table to another, please consider create relationship between the two tables.
For example:
Output:
For more details, please refer to:
Create and manage relationships in Power BI Desktop
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I have a master Date table. Works fine with other tables I have.
The new table is not sorting as I suspect I need a key field in it. If so, how do I tag a column as a key field?
Thanks.
@ghammond09 , Not very clear. You can create a common date table and join with both the tables
key can be created as
key = year([Date])*10000 + Month([Date])*100 + Day([Date])
example
Addcolumns(calendar(date(2020,01,01), date(2021,12,31) ), "Month no" , month([date])
, "Year", year([date])
, "Month Year", format([date],"mmm-yyyy")
, "Month year sort", year([date])*100 + month([date])
, "Month",FORMAT([Date],"mmmm")
, "Month sort", month([DAte])
)
To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 42 | |
| 37 | |
| 34 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 62 | |
| 31 | |
| 26 | |
| 25 |