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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
pstp
Frequent Visitor

Linking dates from two sources

I am trying to link dates for data from SQL and Excel. In my report, I have a visualization (line graph) which has an axis based on calendar week. Both data from SQL and Excel have this measure/column. Is there a way to link the two so both data can be displayed on the same visualization along the same timeline? Thanks!

2 REPLIES 2
v-lili6-msft
Community Support
Community Support

hi  @pstp 

You could just create two relationship:

1. between calendar date table and SQL table 

2. between calendar date table and Excel table 

like this:

8.JPG

then create visual or measure, just use the date field from this dim date table.

 

https://radacad.com/do-you-need-a-date-dimension

 

Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
parry2k
Super User
Super User

@pstp since you already have a date dimension in your model, set relationship from this date dimension with your sql and excel data source and in visual, use columns from this date dimension and measure/columns from respective sql and excel table. seems like you have all the pieces in place and it should work until I'm missing something.

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.