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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi All,
I want to create a visual as shown below.
I have taken a line and stacked column chart but with that i am able to achieve this visual as shown below:
I want this green background to cover months till september how can i achieve that?
Solved! Go to Solution.
Hi @Bhavya98 ,
For this you need to create a measure and then use it has your values in the bar or the line chart something similar to:
DateColour = if( EOMONTH(MAX('Calendar'[Date]), 0) <= date(2022, 9,30), 1)
Now use this metric has your background:
In my example I use may has the base value but has an example it works properly.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @Bhavya98 ,
For this you need to create a measure and then use it has your values in the bar or the line chart something similar to:
DateColour = if( EOMONTH(MAX('Calendar'[Date]), 0) <= date(2022, 9,30), 1)
Now use this metric has your background:
In my example I use may has the base value but has an example it works properly.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsCheck 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!