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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Line chart with two sets of date values? Currently only one appearing

I'm trying to achieve the following. Two cumulative measures on the same graph. 

kashmachine_0-1572360014288.png



I can get each graph displaying individually as per the below.

kashmachine_1-1572360014296.jpeg



However when attempting to build based on the same graph, I get the following. It only plots one set of values on the visual. I’ve observed that the line drawn depends on which date is placed which on the ‘Shared Axis’. If I place Demand Date above Demand ILS Date then it will plot the respective Demand ILS Date values.

kashmachine_2-1572360014303.jpeg



Anyone have any ideas of where I'm going wrong.

Other notes:

Each date has it's own separate date dimension

6 REPLIES 6
jthomson
Solution Sage
Solution Sage

Probably instantly fixed by creating a date table and relating your two date fields to it

Anonymous
Not applicable

I already have multiple date dimensions so each of Demand Date and ILS Date have their own date table. But that then makes plotting both on the same graph an issue unless someone can correct me

I would look at using the same date table and using USERELATIONSHIP() in the measure where you want to use the inactive relationship.

Here is a blog post covering the topic: https://carldesouza.com/power-bi-dax-userelationship-multiple-dates/

Anonymous
Not applicable

Hi Adam,

I just wanted to clarify as I am confused by this.

As per 

https://docs.microsoft.com/en-us/power-bi/guidance/star-schema#role-playing-dimensions

I created multiple date dimensions so I have a date dimension for 'Demand Date' and 'ILS Date' but I can't plot them on the same graph.

The link you reference includes both solutions and the benefit they mention for having separate tables is that you don't need to use the USERELATIONSHIP() functionality to build the various measures so it simplifies the development experience.

One of the drawbacks of the multiple tables solution is that you can't plot measures that are based on different dates using the same date axis, if you want to do this you need to have a single common date table and activate the correct relationship depending on the measure using USERELATIONSHIP().

Anonymous
Not applicable

Thank you very much,.

Looks like I may need to rebuild my data model to use a single date table. Seems like the limitations about not being able to have two axis on the date is too serious for our requirements

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.