Forum Discussion
Auto Callouts/Text on Line Chart based on Formula or Criteria
Hi,
In datasets most of the times we are encountered with outliers. For Line Chart, I want support if someone can guide a way to assign text (stored in one column) against a datapoint whenever it breaches a certain threshold. e.g What is the way if I want to show Text given in Remarks Column below whenever Score value is >7
| Week | Score | Remarks |
| W1 | 3.1 | |
| W2 | 2.3 | |
| W3 | 3.4 | |
| W4 | 4.2 | |
| W5 | 5.1 | |
| W6 | 8.9 | Force Majeure |
| W7 | 2.2 |
4 Replies
- AnonymousNot applicable
Hi Umarsalamat ,
Please try below steps:
1. create a measure with below dax formula
Measure = VAR cur_score = SELECTEDVALUE ( 'Table'[Score] ) VAR _value = 7 RETURN IF ( cur_score > _value, "Force Majeure" )2. add a table visual with fields and measure
Please refer the attached .pbix file.
Best regards,
Community Support Team_ Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. - UmarsalamatFrequent Visitor
Thank You. The Reason/Remarks Column is Dynamic and team based on situation will insert the remarks in case of abnormal scores. So based on criteria of >7, The callout on Line chart need to be updated like below,
- AnonymousNot applicable
Hi Umarsalamat ,
Please try to add "Measure " to Tooltips.
Best regards,
Community Support Team_ Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.- UmarsalamatFrequent Visitor
Thanks for you time. I am looking for solution other than tool tip so that daily or weekly trends can be shared as snap over whstapp with clearly mentioned reasons of threshold breach