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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
mikess1281
Regular Visitor

need help creating a visual

This may be the wrong section, I have a request to create two charts in power bi and I am not sure how to alcomipsh the following and need some help.
Chart 1

1) He is wanting to go back four months and include two reference lines for each of the four months – one reference line for the daily 2024 average for the month, and another reference line for the daily 2023 average for the month.  

(the only way that how is the constant reference line, which is does not fit the requirments. I tried missing around with the line combo chart with dax with no luck.)

 

Chart 2  He wants to add two reference lines to a bar chart of facility . One line will represent the total for the associated facility in 2023, and the other line will represent the total for the facility in 2024.

1 ACCEPTED SOLUTION
Akash_Varuna
Super User
Super User

Hi @mikess1281 For Chart 1, create measures for 2023 and 2024 monthly daily averages using DAX and plot them as lines on a combo chart. Use dynamic calculations to adjust averages for the last four months.

For Chart 2, create measures for 2023 and 2024 facility totals, then add them as reference lines to a bar chart with facilities on the x-axis. Both charts require proper date formatting and relationships for accurate visuals.

View solution in original post

1 REPLY 1
Akash_Varuna
Super User
Super User

Hi @mikess1281 For Chart 1, create measures for 2023 and 2024 monthly daily averages using DAX and plot them as lines on a combo chart. Use dynamic calculations to adjust averages for the last four months.

For Chart 2, create measures for 2023 and 2024 facility totals, then add them as reference lines to a bar chart with facilities on the x-axis. Both charts require proper date formatting and relationships for accurate visuals.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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