Skip to main content
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

Not applicable

Line based on card value

Hi guys,


Currently i am working on a dashboard in which i want to show a graph about a (slicer selected) period of weeks in combination with the stock levels and a seperate slicer which impacts a card about the current value based on the week number. Now i want to add a line, which displays the value that is shown on the card visual, inside of the line graph. However i can't seem to find the solution in video's or earlier posted question, does anybody know how to help? I made a concept picture below.Card line into line graph.png

Super User
Super User

@Anonymous , In the analytics pane you can use the constant line. In that using fx you can use measure , if will use grand total value of that measure

Not applicable

@amitchandak, thanks for your reply, but when i add in the Fx line it does not change based on the "current week" slicer, it stays at a 4.5mil number instead of the shown value in the cardCard line with fx line.png

Hi @Anonymous 

Thanks for reaching out to us.

The value of this measure in the card and chart is different, it should be affected by the Context. So you have to change the measure in Line Chart, please share the relevant sample file or measure and data, thanks.



Best Regards,

Community Support Team _Tang

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

Helpful resources

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

Top Solution Authors