Forum Discussion
How to Display Maintenance Events on a Production Profile Line Chart in Power BI Hello every
- 1 year ago
Add a dimension for wells. And change the acidental 1:1 date->maintance with 1:many
Wells = DISTINCT( Production[WELL_Name] )
Firstly made sure you have date dimension hooked up to the two tables.
Then add a measure with a constant value
RefLine =
calculate(
max( production[water rate],
Removefilters( dates )
)
Add the line, and make it invisible.
You could could use custom data labels with a measure like below to show a icon when there was maintenance
If( not isempty( maintenance ), "🔧")
You can just use the date dimension as the drillthrough for the custom tooltip
- Deku1 year agoSuper User
- neeesz7801 year agoRegular Visitor
Hi Deku, thanks for your help it worked perfectly fine but what I noticed is that maintenance events are duplicated on the graph for both wells A1 , A2 ? you can't filter using wells
Any idea why?
- Deku1 year agoSuper User
Add a dimension for wells. And change the acidental 1:1 date->maintance with 1:many
Wells = DISTINCT( Production[WELL_Name] )