Forum Discussion
Target line from minimum to maximum
- 5 years ago
Hi, Anonymous
It’s my pleasure to answer for you.
According to your description, I think you can create a measure,then use it in line values.
Like this:
Measure2 = IF ( SELECTEDVALUE ( 'Table 3'[month] ) = 1, MIN ( 'Table 3'[amount] ), IF ( SELECTEDVALUE ( 'Table 3'[month] ) = 12, MAX ( 'Table 3'[amount] ) ) )Here is my sample .pbix file.Hope it helps.
If it doesn’t solve your problem, please feel free to ask me.
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, Anonymous
It’s my pleasure to answer for you.
According to your description, I think you can create a measure,then use it in line values.
Like this:
Measure2 =
IF (
SELECTEDVALUE ( 'Table 3'[month] ) = 1,
MIN ( 'Table 3'[amount] ),
IF ( SELECTEDVALUE ( 'Table 3'[month] ) = 12, MAX ( 'Table 3'[amount] ) )
)Here is my sample .pbix file.Hope it helps.
If it doesn’t solve your problem, please feel free to ask me.
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- dwightathompson1 year agoRegular Visitor
Thank you for your answer. I was also trying to solve this problem and your solution worked nicely for me!