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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
aulla
Frequent Visitor

Display Two Different Dates from the same point on the X axis.

Hi, me again.

 

I want to plot two lines that start from different dates in POWER BI.

 

I have products that have a differents date of creation and i have to display the product since it launch on a line chart as X=0, so that my users get an understanding of how the respective product have fallen in delincuency product launch.

 

This is what i currently have:

aulla_0-1727447619789.png

 

This just a running total of the percentage of clients that fell into delincuency, but notice that both of these linnes start at different dates, they should star at point 0, measured by the numbers of weeks since the product launched. Sometihng like:

 

aulla_1-1727447770308.png

Imagine that in the X axis we have numbers from 0 to whatever and that both start from 0, i just picked the two closest that i had.

 

I'll leave a mockup file attached, product of previous help: https://drive.google.com/file/d/1uems6jCzxqkJHNdtcnXxxHxBo222XPB1/view?usp=drive_link

 

 

1 ACCEPTED SOLUTION
aulla
Frequent Visitor

Hello Guys,

 

I just realized that this problem could be done by simply calculating the date differencente and creating a table of values from 0 to whatever the max difference is between dates. This table i can use it as if it was a "datetable" and then redo my running total based on it.

aulla_1-1727730062952.png

 

En result:

 

aulla_0-1727728296068.png

 

View solution in original post

3 REPLIES 3
aulla
Frequent Visitor

Hello Guys,

 

I just realized that this problem could be done by simply calculating the date differencente and creating a table of values from 0 to whatever the max difference is between dates. This table i can use it as if it was a "datetable" and then redo my running total based on it.

aulla_1-1727730062952.png

 

En result:

 

aulla_0-1727728296068.png

 

lbendlin
Super User
Super User

What should the granularity of your x axis be? Days?  What's the relevance of the products?

Hi @lbendlin ,

 

Should be weeks or months since creation date. The products have no relevance, in my case what i use to differenciate are the weeks or months these products were created. 

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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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