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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

How to overlay averages from different line charts

I have two data sets that look like the following:

 

DatasetDataset

 

I was able to produce a daily average line chart for each data set, like the following:

 

VisualsVisuals

 

Now I am trying to overlay/combine both charts.

 

So I created a calendar like the following to connect the dates

 

New Date tableNew Date table

 

dates connecteddates connected

 

However the application of the Average fails on the chart with the calculated dates in the X-Axis.

We can see that from the straight line.

 

Average failsAverage fails

 

Can you please help?

(I checked this solution  but it didn't work for me)

 

@Ashish_Mathur 

@amitchandak 

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

You should ideally append your 2 tables into a single one because they have the same structure.  The relationship with the Calendar table should be Single and Many to One.  Please also ensure that the relationships are between the correct columns.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hello, Ashish

Thanks for your reply.

I ended up choosing to append the tables, but only after I added a column to each to identify region.

I'm still curious about how to make it work by creating a new date table, though. Do you have a reference from which I can better understand the dynamics of single and many to one relationships compared to, let's say, both and one-to-one?

Thank you

Ashish_Mathur
Super User
Super User

Hi,

You should ideally append your 2 tables into a single one because they have the same structure.  The relationship with the Calendar table should be Single and Many to One.  Please also ensure that the relationships are between the correct columns.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Ashish,

I am having problems refreshing the report after creating a new table by appending the tables.

Any suggestions? 

 

refresh fail after appendrefresh fail after append

 

 

Look at the third item in the refresh window of your image.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.