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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Patrick_Pontor
New Member

How synchronize 2 graphics ?

Hello

I want to synchronize 2 graphic box with a general timestamp filter.
My data are organised like that : timestamp / parameter_name / value.
- On TOP graphic, I have data  with parameter_name = Current temperature, Effective temperature setpoint, netatmo_temperature_haut and Temperature probe calibration offset from feb-02 to March-31
- On Bottom graphic, I have data  with parameter_name = Taux de marche from feb-19 to March-28


graphic 1.png
Graphics are correctly syncronized because I use X axis parameter : start = fx( timestamp min) , end =fx(timestamp max),

with : 

timestamp min = CALCULATE(MIN(rawdevicestate_follow[timestamp]),REMOVEFILTERS((rawdevicestate_follow[parameter_name])))
timestamp max = CALCULATE(MAX(rawdevicestate_follow[timestamp]),REMOVEFILTERS((rawdevicestate_follow[parameter_name])))

 

-----------------------------------------------------------------------------
But, when I change the timestamp general filter (from feb-2 ...) , graphics are not synchronized !!
graphic 2.png


Can you help me ?

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Patrick_Pontor , try like

 

min = var _1= CALCULATE(MIN(rawdevicestate_follow[timestamp]),REMOVEFILTERS((rawdevicestate_follow[parameter_name]))) +0
var _min = minx(ALLSELECTED('Calendar'), 'Calendar'[Date])
var _max = maxx(ALLSELECTED('Calendar'), 'Calendar'[Date])
return
CALCULATE(if(max('Calendar'[Date]) <_min || max('Calendar'[Date]) >_max , BLANK(), _1))

 

 

max= var _1= CALCULATE(Max(rawdevicestate_follow[timestamp]),REMOVEFILTERS((rawdevicestate_follow[parameter_name]))) +0
var _min = minx(ALLSELECTED('Calendar'), 'Calendar'[Date])
var _max = maxx(ALLSELECTED('Calendar'), 'Calendar'[Date])
return
CALCULATE(if(max('Calendar'[Date]) <_min || max('Calendar'[Date]) >_max , BLANK(), _1))

 

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

View solution in original post

2 REPLIES 2
Patrick_Pontor
New Member

Thanks !!! It's OK !!

amitchandak
Super User
Super User

@Patrick_Pontor , try like

 

min = var _1= CALCULATE(MIN(rawdevicestate_follow[timestamp]),REMOVEFILTERS((rawdevicestate_follow[parameter_name]))) +0
var _min = minx(ALLSELECTED('Calendar'), 'Calendar'[Date])
var _max = maxx(ALLSELECTED('Calendar'), 'Calendar'[Date])
return
CALCULATE(if(max('Calendar'[Date]) <_min || max('Calendar'[Date]) >_max , BLANK(), _1))

 

 

max= var _1= CALCULATE(Max(rawdevicestate_follow[timestamp]),REMOVEFILTERS((rawdevicestate_follow[parameter_name]))) +0
var _min = minx(ALLSELECTED('Calendar'), 'Calendar'[Date])
var _max = maxx(ALLSELECTED('Calendar'), 'Calendar'[Date])
return
CALCULATE(if(max('Calendar'[Date]) <_min || max('Calendar'[Date]) >_max , BLANK(), _1))

 

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

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.