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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
BackesLucas
New Member

Right chart for using bars, lines, and area

Good afternoon, folks.

I need to create a chart that on the X Axis has a calendar, and on the Y Axis some information:

  • 2 bars that would be quantities in the month, with legend (Inlet and Output);
  • 1 Line with Accumulated Input only;
  • And here my difficulty, I need to highlight 2 (or more) months, as these are important;

Here is an example of what I would like to have in PowerBI:

I need help from PowerBI Community.png

Please, can you suggest to me how to achieve my goal?

1 ACCEPTED SOLUTION
ryan_mayu
Super User
Super User

@BackesLucas 

I tried in PBI, one dot can't generate shadow.

 

here is a workaround for you .

 

create a new column

 

Column =
var _x=maxx(FILTER('Table','Table'[Date]=EARLIER('Table'[Date])-1 ),'Table'[important])
var _x2=maxx(FILTER('Table','Table'[Date]=EARLIER('Table'[Date])+1 ),'Table'[important])
return if(_x="x"||'Table'[important]="x"||_x2="x","x")
 
11.png12.png
 
pls see the attachment below
 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
ryan_mayu
Super User
Super User

@BackesLucas 

I tried in PBI, one dot can't generate shadow.

 

here is a workaround for you .

 

create a new column

 

Column =
var _x=maxx(FILTER('Table','Table'[Date]=EARLIER('Table'[Date])-1 ),'Table'[important])
var _x2=maxx(FILTER('Table','Table'[Date]=EARLIER('Table'[Date])+1 ),'Table'[important])
return if(_x="x"||'Table'[important]="x"||_x2="x","x")
 
11.png12.png
 
pls see the attachment below
 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Deku
Super User
Super User

You can try using a combo chart with reference lines. Reference lines were enhanced last month and might meet your requirements 

 

Deku_0-1746570837426.png

 


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 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
Top Kudoed Authors