Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi, using the calendar table below, how can I create 2 new individual tables for:
- Start_date_table
- End_date_table
| Client | Start_date | End_date |
| 1 | 01/04/2024 | 22/04/2024 |
| 2 | 02/06/2024 | 28/09/2024 |
| 3 | 11/03/2024 | 11/04/2024 |
| 4 | 14/04/2024 | 20/09/2024 |
| 5 | 18/05/2025 | 20/06/2024 |
| 6 | 22/04/2024 | 21/08/2024 |
Thanks
Solved! Go to Solution.
Hi @RichOB ,
You can create those two tables pretty easily using DAX. If you're working in Power BI, just go to the Modeling tab and use "New Table" to define them like this:
Start_date_table =
SELECTCOLUMNS(
CalendarTable,
"Client", CalendarTable[Client],
"Start_date", CalendarTable[Start_date]
)
End_date_table =
SELECTCOLUMNS(
CalendarTable,
"Client", CalendarTable[Client],
"End_date", CalendarTable[End_date]
)This will give you two separate tables — one with just the start dates and one with the end dates, both keeping the Client column for reference.
Let me know if you're trying to do something more specific with these tables.
If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, I would be grateful for a 'Kudos' if you found my response helpful.
translation and formatting supported by AI
Hi @RichOB - Please find the attached pbix using calculated table or in power query editor you can create as below:
Right-click your CalendarTable and choose Reference (not Duplicate).
For Start_date_table:
Keep only the Client and Start_date columns.
Rename table to Start_date_table.
Do the same for End_date_table, keeping Client and End_date.
Hope this helps.
Proud to be a Super User! | |
Hi @RichOB ,
You can create those two tables pretty easily using DAX. If you're working in Power BI, just go to the Modeling tab and use "New Table" to define them like this:
Start_date_table =
SELECTCOLUMNS(
CalendarTable,
"Client", CalendarTable[Client],
"Start_date", CalendarTable[Start_date]
)
End_date_table =
SELECTCOLUMNS(
CalendarTable,
"Client", CalendarTable[Client],
"End_date", CalendarTable[End_date]
)This will give you two separate tables — one with just the start dates and one with the end dates, both keeping the Client column for reference.
Let me know if you're trying to do something more specific with these tables.
If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, I would be grateful for a 'Kudos' if you found my response helpful.
translation and formatting supported by AI
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 50 | |
| 44 | |
| 42 | |
| 19 | |
| 19 |
| User | Count |
|---|---|
| 70 | |
| 68 | |
| 33 | |
| 32 | |
| 32 |