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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Date Table and Multiple Systems

Hi 

 

How does one incorporate into a model a date table with multiple companies (systemid) that have different fiscal month months and/or years given the date table needs to have unique date column?

 

dim time2.png

10 REPLIES 10
v-kelly-msft
Community Support
Community Support

Hi @Anonymous ,

 

What is your model like?Can you provide some sample data with expected output?

 

Best Regards,
Kelly

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

Anonymous
Not applicable

Hi Kelly

 

Sorry I dont have a file, it is more of a generic question.

 

The FACT table would have a column for systemID and dateID (linking to DIM Date/Calendar table). The problem is the date table has to have a unique date, but that date could belong to different financial years for the two different systemid's..

@amitchandak 

Anonymous
Not applicable

@v-kelly-msft 
@amitchandak 

could you perhaps assist?

You need to add columns to the date table specifying the fiscal month and fiscal year using SWITCH expressions determining the values for the range of dates within the fiscal periods. Make sense?





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Anonymous
Not applicable

Hi Paul

 

Thank you for your prompt response.

 

Would you mind expanding please? Perhaps add something to the PBIX file if you dont mind.

Sorry, what PBIX file?





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Anonymous
Not applicable

I may need your email address to share the link succesfully with you.

 

Alternative, how can I share it here?

Anonymous
Not applicable

Can you make the link downloadable? It is requesting a sign-in





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Anonymous
Not applicable

https://drive.google.com/uc?id=1hdof4HSyGYs2qMuSkcNXlkSjAw4sfjyl&export=download

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!

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.

Top Solution Authors
Top Kudoed Authors