Skip to main content
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Anonymous
Not applicable

Adding Upper and Lower Limit in a Line Chart

Hi, I am new with PowerBI and I have a problem adding Lower & Upper Limit for my Line Chart.

Day Shift ONLY (2) is the cleaned up main table which includes TAGs and their readings through the Date.Day Shift ONLY (2)Day Shift ONLY (2)

Then, I unpivoted the table so that I could plot the values against Date on Day Shift ONLY (3)

Day Shift ONLY (3)Day Shift ONLY (3)

This is how my chart goes along with the slicer.

Line ChartLine Chart

Now, there is another table where I inlude Lower and Upper Limit for each TAG.

Ahmad_Ershad_0-1741748660199.png

How do I include the Lower and Upper Limit Line along with each TAG Line in the chart. Let say I selected 55AICA073 on the slicer, I want the chart to show the Values line, Lower Limit Line, and Upper Limit Line for 55AICA073? If I selected another TAG, chart will show it's respective Lower Limit, Upper Limit, and Values line. Here I attached my Melamine Utility Monitoring Excel file for reference. Thank you for your help.

https://1drv.ms/u/c/f073b93ac622488c/EQjuHvHwFgRNhcpKtI_xSKQBeKFoHwFK4HqX2FkCg5uOgQ?e=HWK9gh 

3 REPLIES 3
lbendlin
Esteemed Contributor III

Your values are in different orders of magnitude.  Are you planning to only allow the report user to choose a single tag?

 

lbendlin_0-1741782906600.png

 

Anonymous
Not applicable

Yes they are in different magnitude. But, some are in the same magnitude for example, 55AIA075 pH of Cooling Water Return and 55AIA076 pH of Cooling Water Supply. That is why I use slicer to select any tag in the chart. Let say I want to view pH of both of them ONLY in the chart, I would select 55AIA075 and 55AIA076.

Here is my progress so far.

Screenshot 2025-03-13 115759.png

In addition, I also want to see their trend against the Lower & Upper Limit. Each TAG has their own Lower & Upper Limit. For example for 55AIA075, 55AIA075LL=4.5 and 55AIA075HH=7. How do I make it possible where I can select 55AIA075 in the slicer and the chart will show the trendline, Lower Limit, and Upper Limit for the 55AIA075? Maybe I could attach the relevant files for you to take a look at. I forgot to include in the Excel file, the Lower Limit is in the Column F, and Upper Limit is in the Column G. https://1drv.ms/u/c/f073b93ac622488c/EQjuHvHwFgRNhcpKtI_xSKQBeKFoHwFK4HqX2FkCg5uOgQ?e=7uCniD 

lbendlin
Esteemed Contributor III

Keep working on your data model. Eliminate bidirectionals,  add a proper calendar table.

 

By the way, you can consider using the analytical functions like "constant Y axis line"

 

lbendlin_0-1742088826726.png

 

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Users online (4,737)