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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
stefan321
Helper I
Helper I

Get latest Time

HI everyone,

hope someone can help me 🙂

I have the following Table.  What i am aiming for is to have the latest "Time" where a Server was "Online".
The Table contains different Servers with different Status and Time. For example, i want to have for Server A the Time "Wed, 20 Mar 2024 15:51:17" as it is the alst online Time.

i would show that "latest online" with dropdown menu or a checkbox. How is that possible?

ServernameStatusTime
Server AOnlineWed, 20 Mar 2024 15:51:17
Server AOnlineMon, 18 Mar 2024 15:50:51
Server AOfflineWed, 13 Mar 2024 15:52:59
Server BOnlineWed, 06 Mar 2024 15:50:14
Server BOnlineMon, 04 Mar 2024 15:58:29
Server BOnlineMon, 04 Mar 2024 15:58:29
4 REPLIES 4
some_bih
Super User
Super User

Hi @stefan321 in your simplify example, it is possible to use "Latest" when you put data into matrix

 

some_bih_1-1711453716890.png

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






HI 
thanks, but it should only show latest for server with status "Online"
Is it possobie with a measure / DAX query ?

You can try to create a measure like this : measure = CALCULATE(MAX(time), Status = "Online")

Or

If you only want the status "online" in your visual, you can add filtre in the filter panel with the column "status" and the value "online"

HI

Thinkmore logic is needed here. Please consider that i have in that table different Servers like "Server A" or "Server B". i need the last time (Time column) when server was online (Status column) from EACH Server. 
Example:

Server A --> 20 Mar 2024 15:51:17 (last online date)
Server B --> 06 Mar 2024 15:50:14 (last online date)

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.