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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
harshinij
New Member

Chart displaying incorrect values

Hi,

 

I have three different data sources that all show data over a 30 day range. However, when I try to do any stacked chart with these values, only one shows correctly with the variation by day. The other two just show the same value across all days. The one showing correctly is the value from the data source that I've chosen the "axis" value from. How can I show these three values on the same chart since the date range is a valid axis for all sources?

 

Thanks!

1 REPLY 1
TomMartens
Super User
Super User

Hey,

 

not sure what you actually mean by 3 different data sources, I translate this you have 3 tables in your data model.

 

The behavior you encounter is due to the fact these tables are not related even all have a date column.

For this reason the values of the two table where the date column is not used as axis show a constant value.

 

I recommend to create a separate Calendar table using the DAX function CALENDAR(...) and then create a relationship between all your tables.

 

Here you'll find a little pbix file that has two tables and a separate calendar table.

 

Depending on the structure of your table you also may consider to Merge or Append the three tables into a single one from with the Query Editor

 

Hopefully this gets you started

 

Regards

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.