Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
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:
Solved! Go to Solution.
@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?
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!
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 79 | |
| 38 | |
| 31 | |
| 27 | |
| 27 |