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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Alvanor
New Member

Creating a Simple Month-Over-Month Line Graph (Relationship Issue?)

I am attempting to make a simple line graph that shows total monthly sales month-over-month, just as the example image below depicts. I have two imported excel data-sets; one is the sales log, the other is the calendar. I created a relationship between the calendar and the Timestamp column of the sales log and have ensured that they are the same data type and format.

Alvanor_0-1672324547049.png

Alvanor_2-1672324839704.png

However everytime I go to make the chart from the visualizations tools the chart appears blank, see image below:

Alvanor_1-1672324807570.png

I am so confused as to what I could be doing wrong as I have done this with previous data sets before with little trouble. 

 

Any help or insights anyone can provide would be greatly appreciated!

 

 

1 ACCEPTED SOLUTION

@Alvanor 

I suggest you change the datatype in Power Query.

Right click on timestamp column --> Change Type --> Date

 

Refresh the dataset and please check again

View solution in original post

8 REPLIES 8
themistoklis
Community Champion
Community Champion

@Alvanor 

 

How do you connect the 2 tables?

It seems that cou link date from Calendar table with timestamp from Sales table.

 

If this is the case then you need to make sure that both fields are dates or timestamps

Hey there, well as I mentioned I already created the relationship between the two and ensured that they are both the same data type and format. Are you saying there is something else I need to do?

@Alvanor 

 

If this is the case then i suggest you do the following:

1st try creating the same graph but instead of using date from calendar table use the timestamp from sales table.

If the graph is displayed then there may be a problem with the relationship between the 2 tables

I tried that as well, and it did show a problem with the relationship between the two table, but the problem is, what could that problem be when the format and data type are the same?

@Alvanor 

 

are you certain that the timestamp field doesnt contain time as well ... and it has only dates?

The timestamp column in the original format does include the time as well - however I switched it to only Date in the Data field. Could that be the issue?

@Alvanor 

I suggest you change the datatype in Power Query.

Right click on timestamp column --> Change Type --> Date

 

Refresh the dataset and please check again

Yup thats what worked, the change had to be made in the Power Querey - Thank you so much!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors