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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
cborde3
Frequent Visitor

Trend Line

Hello,

 

I work for a utility and am trying to create a 24 Rolling Hour Historigraph graph showing outage restoration with a trendline showing remaining outages:

 

cborde3_0-1651677969381.png    

Fig. 1  Sample Data (Outage Start and End Times)

cborde3_1-1651678037221.png

Fig. 2  24 Hour Historigraph for outage restoration.

 

I'm trying to showing remaining outages trend along with restorations.  I'm fairly new to PBI so please bear with me.

 

Thanks

3 REPLIES 3
v-kkf-msft
Community Support
Community Support

Hi @cborde3 ,

 

I am not sure if I understood your question correctly. Do you want to use the Trend line in the Power BI analysis pane?

 

vkkfmsft_0-1652085803526.png

 

Then you can use it in the following visuals.

The following visuals can use a trend line if there's time data:

  • Area chart
  • Clustered column chart
  • Line chart
  • Line and clustered column chart
  • Scatter chart

For more information, please refer to: Use the Analytics pane in Power BI Desktop 

 

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@cborde3 , Try a measure like

 

calculate(countrows(Table), filter(Table, Table[Tourbal clear time] >=now()-24  && Table[Tourbal clear time] <= now()) )

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you for the reply.  I'm receiving the following error:

 

cborde3_0-1651689118327.png

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.