cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ailsazheng
Frequent Visitor

How to separate line graph into 2 parts?

how to mimic.gif

 

So I have one field with a bunch of project statuses. Each status is either in planning or active. I would like to have a single line graph broken up into 2 sections, one with projects in planning and another with active projects.

 

I created a new field called "Status Grouper" with a Switch statement, categorizing every status as either "Active" or "Planned" accordingly. However, I can't seem to put my Status field and my Status Grouper field on the same graph at the same time! I am pretty new to Power BI, how can I go about this? Thank you very much for your help.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Re: How to separate line graph into 2 parts?

Hi @ailsazheng

 

Currently it it not possible to add such a line in line visual. However we can add the status column into the legend to work around.

Capture.PNG

 

For more details, please check the pbix as attached.

 

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

2 REPLIES 2
Community Support
Community Support

Re: How to separate line graph into 2 parts?

Hi @ailsazheng

 

Currently it it not possible to add such a line in line visual. However we can add the status column into the legend to work around.

Capture.PNG

 

For more details, please check the pbix as attached.

 

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

ailsazheng
Frequent Visitor

Re: How to separate line graph into 2 parts?

Thank you Frank!

Helpful resources

Announcements
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Join THE global Microsoft Power Platform event series.

Join THE global Power Platform event series.

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors