Forum Discussion

Skinken's avatar
Skinken
New Member
6 years ago
Solved

Counting hourly dependant on a serial

Hi everyone I have never worked with power BI before, but i have gotten the task of making some sort of list that accomplishes the following : Im trying to count how many times for 24 hours a day...
  • BA_Pete's avatar
    6 years ago

    Hi Skinken ,

     

    I would add a [dateOnly] column to the data in Power Query. You can do this by selecting your [Timestamp] field in Power Query, then go to the Add Column tab, then find the Date button on the ribbon and select 'Date Only'.

    Apply this change to the model.

    Then create a measure something like this:

    _noofPings = COUNT(yourTable[Serial])

     

    Add [Serial], [dateOnly], and [_noofPings] to a table visual and this should show you what you want.

    You can click on the [_noofPings] column header of the table visual to sort high-low/low-high.

     

    Pete