Forum Discussion
Fixed line in line graph
- 4 years ago
Hi Anonymous ,
In your fomula below, you add a extra symbol "{", it caused the error.
Additonally, you should use the allexcept function, otherwise the fixed line value is the same for each date.
If the Axis of the line chart is [Date], modify the formula like this:
Fixed Line = CALCULATE ( [DSP Average], ALLEXCEPT ( 'Unscheduled Leave', 'Unscheduled Leave'[Date] ) )Get the correct result in my sample.
I attach my sample below for your reference.
Best Regards,
Community Support Team _ kalyjIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Unfortunately this still isnt working 😞 I have duplicated the meausre as one measure needs to capture all (with as you mentioned above the parenthesis) and one that is affected by the slicer but it picks up for both
My measure is
Hi Anonymous ,
Sorry I'm not very clear "one measure needs to capture all" and "one that is affected by the slicer but it picks up for both".
In your original post, you want the "DPS Average" to not change but the others to change, so when you replace the DPS Average with the Fixed Line, what happend? Does it still change by the slicer?
Best Regards,
Community Support Team _ kalyj
- Anonymous4 years agoNot applicable
So what I mean is that I have three slicers - Division, Branch Section. I have the same formula for two meausres. One i want all Division, Branch section to be fixed and not changed. But my slicers (Division, Branch and Section) change the other measure. Does that make sense?