Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello community,
I have a line chart with [Date] and average of [Sales].
I want to highlight Selected value in line chart. But right now when I select any value , line chart disapears ( filters only selection ) and only shows selected value.
Can anyone help me?
Can't someone give me a little details how to do that?..
Hi @Akbarov ,
Power BI cannot highlight a value through the slicer in line chart.You can try changing colors dynamically using conditional formatting in a column chart.
1. create a disconnected table as slicer:
Table = CALENDAR(MIN(Sheet2[Date]),MAX(Sheet2[Date]))
2. create a measure and apply to conditional formatting.
Measure = IF(MAX(Sheet2[Date])>=MIN('Table'[Date])&&MAX(Sheet2[Date])<=MAX('Table'[Date]),"red","black")
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Akbarov , for that you need to have a slicer of the independent table and then create a measure
if(max(Dimension[COlumn]) = selectedvalue(IndTable[Column]), "Red", blank())
Create a bar visual and use that in conditional formatting using the field value option. Convert that to line
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 128 | |
| 88 | |
| 79 | |
| 67 | |
| 62 |