Hi All, I need to calculate Minimum time & Maximum Time spent in office in given time period data. I have used MIN and MAX function...But Its not giving me proper solution. Please suggest me related to this.
From your description, if I understand your scenario correctly, you could refer to the scenario below.
Assuming that you have table with two columns date and spent_time. You want to calculate the Max and Min spent time by a Slicer (a given time period data).
You could create the measure below.
Max_time = MAX('Office'[Time])
Min_time = MIN('Office'[Time]
The result of the picture is below.
If that is not the case in your scenario, could you share a dummy pbix file which can reproduce the scenario, so that we can help further investigate on it? You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.)
Community Support Team _ Cherry Gao If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.