Forum Discussion

deepuev's avatar
deepuev
Regular Visitor
9 years ago

filter only latest data based on person name

I wanted to filter only the latest data and show it on powerBI . The data is coming from azure stream analytics. The data is about a person presence at a location .The dash board should show only highest value of a column for a spcific person . Each row will contain person name , rank ( a number derived from current time where the latest will always be the highest) and some other parameters as rest of the columns. So i wanted to show only the last enrty for a person based on highest value of rank. Can i do this using Q& A ?

8 Replies

    • deepuev's avatar
      deepuev
      Regular Visitor

       

       

         Using the query " name station timein latest timein as table " i get the left side result . But what i want is to filter the rest of the entries which are not latest data for a person. From the left side output image , i want only the highlighted entries to be visible as shown right side image .These are current positions and do not want to show the rest which are not highlighted.

       

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi deepuev,

        What is the result when you ask question like"Last timein for each name " or "Highest timein for each name "?

        Thanks,
        Lydia Zhang