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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
lucie_raboch
Helper I
Helper I

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 I
Helper I

this is solution, thank you

View solution in original post

8 REPLIES 8
lucie_raboch
Helper I
Helper I

this is solution, thank you

lbendlin
Super User
Super User

like that?

lbendlin_1-1719592658753.png

 

lucie_raboch
Helper I
Helper I

Hello,

Any update on this.

lucie_raboch
Helper I
Helper I

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

 

v-yohua-msft
Community Support
Community Support

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

August Carousel

Fabric Community Update - August 2024

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