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

See when key Fabric features will launch and what’s already live, all in one place and always up to date. Explore the new Fabric roadmap

Reply
lucie_raboch
Helper II
Helper II

Line chart with two different dates

Hi all,

I have the following data sets:

 

Date - date format

CP_Date - date format

Name - string

Metric - integer number

 

And using Date, Name and Metric I have created the below Line chart, nothing special.

 

lucie_raboch_0-1718699780638.png

 

Now I need to include CP_DATE into line chart, so the chart would look like this:

lucie_raboch_1-1718699965808.png

 

It is possible to create points or vertical lines based on CP_DATE? So basicaly we will have two different dates in line chart?

Thank you so much for your help.

 

I'm attaching pbx file:

https://drive.google.com/file/d/1gev9T2o3TtpKpcxUfqRMjqSSAkyB1sF4/view?usp=drive_link

 

2 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

lucie_raboch
Helper II
Helper II

this is solution, thank you

View solution in original post

8 REPLIES 8
lucie_raboch
Helper II
Helper II

this is solution, thank you

lbendlin
Super User
Super User

like that?

lbendlin_1-1719592658753.png

 

lucie_raboch
Helper II
Helper II

Hello,

Any update on this.

lucie_raboch
Helper II
Helper II

hi v-vogua,

CP_DATE is not static, I have attached a pbi file in the previous post so you can see what I need, thank you

Your CP Date examples are outside of the range of the regular dates.

lbendlin_0-1719071206898.png

 

Anonymous
Not applicable

Hi, @lucie_raboch 

Create a view and find the Reference line in format

vyohuamsft_1-1718764646023.png

 

Here is my preview:

vyohuamsft_0-1718764379233.png

For more details about it, you can check the link below:

Use the Analytics pane in Power BI Desktop - Power BI | Microsoft Learn

 

How to Get Your Question Answered Quickly

Best Regards

Yongkang Hua

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information or anything not related to the issue or question.

If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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