Join 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!View all the Fabric Data Days sessions on demand. View schedule
Hi there,
I have three measures that created the lines on a line graph as shown below.
Now I don't want to display the Upper limit and lower limit lines for the months that are gone. For example, I don't want to show the lines for uppper and lower limit from April to October as they are passed now as shown in the picture below:
Is there any way in power BI that we could setup the line color of the graph to transparent white for the months that are gone??
Solved! Go to Solution.
@Dunner2020 , Try like
Upper Limit new = if(max(Date[date])> eomonth(today(),0), [Upper Limit], [Actutal value])
Lower Limit new = if(max(Date[date])> eomonth(today(),0), [Lower Limit], [Actutal value])
@Dunner2020 , Set you upper limit
limit
Upper Limit new = if(max(Date[date])> eomonth(today(),0), [Upper Limit], blank())
lower Limit new = if(max(Date[date])> eomonth(today(),0), [lower Limit], blank())
@amitchandak @Megha166 , wow it works. Thanks for the reply.
Before I accept the reply as a solution, quick question is it possible to joint the upper and lower limits to the actual value line for the passed months (as shown in the picture)
I tried the following measures to generate similar thing:
It produced the following output
As you can see that the color of actual value is changed and to brown. Is there any way of doing that?
Thanks :). Amit already my solution to your question.😊
@Dunner2020 , Try like
Upper Limit new = if(max(Date[date])> eomonth(today(),0), [Upper Limit], [Actutal value])
Lower Limit new = if(max(Date[date])> eomonth(today(),0), [Lower Limit], [Actutal value])
You can write new measures for upper limit and lower limit and set them to zero for all the months prior to current month and then plot them on line graphs.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!