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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
vojtechsima
Memorable Member
Memorable Member

Line Chart with Dynamic Vertical Lines (File Attached)

Hello guys,
I'd like to have the following chart:

vojtechsima_0-1660226810908.png

One continuous line with Sales Performance and then dynamic lines that would show me when the user attends training.

I have issues displaying those lines, for each user it can be different so I need a dynamic solution. 

I am attaching pbix file with the needed model.

Could someone please advise me on how to do it properly?

 
1 ACCEPTED SOLUTION

 

@lbendlin 
Yea, I am tied with the visual.
But I found a workaround, when I put a similar measure there and hide it, it looks thinner.

It's not the best solution but it works.

vojtechsima_0-1660571334361.png

 

View solution in original post

6 REPLIES 6
lbendlin
Super User
Super User

 for each user it can be different

Are you expecting to control this via RLS, or USERPRINCIPALNAME by itself? Outside of these option Power BI would not know which user is looking at it.

@lbendlin 
well not really, I would use Single Select Slicer.

 

Please note, I need to use Year, Month hierarchy and with that I am only able to get workaround like this, but I need the columns to be way thinner, as this doesn'T look that great.

vojtechsima_0-1660494609163.png

 

 

This seems to work - please check.

Thank you.
I was able to re-create this workaround as well using the Date column.
But it's not really applicable as I need to use the Year, Month hierarchy.

Any other idea? @lbendlin 

 

I think it is acceptable on Month level.  For year level a table visual may be more appropriate.

 

@lbendlin 
Yea, I am tied with the visual.
But I found a workaround, when I put a similar measure there and hide it, it looks thinner.

It's not the best solution but it works.

vojtechsima_0-1660571334361.png

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors