Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hi,
I have a few Target Lines that i would like to have in my chart (either bar, line, etc). but i do not want to overcrowd the chart with too many things. so if i can make these target lines as one of the filter then it will be great.
thanks.
Solved! Go to Solution.
Hi @Anonymous ,
I created some data:
Here are the steps you can follow:
You can put the target value into a new table as a slicer, choose which target value to use
1. Create measure.
Measure =
var _1=SELECTCOLUMNS('Slicertable',"1",[Target])
return
CALCULATE(SUM('Slicertable'[amount]),FILTER(ALL(Slicertable),'Slicertable'[Target] in _1))
2. Format – Y-Axis Constant Line 1 – fx
3. Enter the Y-Axis Constant Line 1 interface and select [Measure].
4. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @Anonymous ,
I created some data:
Here are the steps you can follow:
You can put the target value into a new table as a slicer, choose which target value to use
1. Create measure.
Measure =
var _1=SELECTCOLUMNS('Slicertable',"1",[Target])
return
CALCULATE(SUM('Slicertable'[amount]),FILTER(ALL(Slicertable),'Slicertable'[Target] in _1))
2. Format – Y-Axis Constant Line 1 – fx
3. Enter the Y-Axis Constant Line 1 interface and select [Measure].
4. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 16 | |
| 10 | |
| 10 | |
| 8 | |
| 7 |
| User | Count |
|---|---|
| 41 | |
| 36 | |
| 34 | |
| 28 | |
| 20 |