Forum Discussion
Line chart - dynamic target or constant line issues
Hi All,
First, thanks to all the contributors for the help in this community. I can usually find a solution here but not today.
I am trying to create a line chart of water quality results over time where the user selects the testing sites and the analyte (or type of water quality test). Depending on the analyte selected I want to show the target line as a straight line across the date range selected. I've stored the targets for each analyte in a separate joined table.
After learning that I cannot use the legend field, I created measures for each of the sites using:
3 Replies
- BudmanFrequent Visitor
- amitchandakSuper User
Budman , what is measure used in visual. Does not seem like the above mentioned one.
Can you share that. Does is have +0 or some if condition to handle blank?
- BudmanFrequent Visitor
That is the measure I am using - one for each site. But I think I see where you are going. I will try to find some examples because my DAX skills are terrible. I welcome any suggestions. Thank you!