cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Analitika
Post Prodigy
Post Prodigy

Lines by year in visual in Power BI

Hi,

 

I would like to ask how make that lines appear in visual according to selected years. For example, if I select 2021 2022 from slicer, then two lines of measure appear in visual. If more years selected then more lines appear. 

 

Currentlly visual looks like this:

Analitika_0-1665123728934.png

 

 

 

1 ACCEPTED SOLUTION
HoangHugo
Solution Specialist
Solution Specialist

Hi, Use Line Chart and add Year Column into Legend

legend.PNG

View solution in original post

1 REPLY 1
HoangHugo
Solution Specialist
Solution Specialist

Hi, Use Line Chart and add Year Column into Legend

legend.PNG

Helpful resources

Announcements
November 2022 Update

Check it Out!

Click here to read more about the November 2022 updates!

Microsoft 365 Conference â__ December 6-8, 2022

Microsoft 365 Conference - 06-08 December

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power BI Dev Camp Session 27

Ted's Dev Camp

This session walks through creating a new Azure AD B2C tenant and configuring it with user flows and custom policies.