Forum Discussion

manoj_0911's avatar
manoj_0911
Icon for Kudo Commander rankKudo Commander
2 years ago
Solved

Help with Detail Report Navigation in Power BI

Hi everyone,

I'm building a Power BI report using data from a contact center (MS SQL Server database). The data includes durations (available, on queue, etc.) in seconds, along with group names, agent names, transaction dates, and IDs. I've cleaned up a sample of the data and attached it as an Excel file for reference.

My Goals:

In my detail table, I'd like to:

  • Display SUM of Available Time and other durations (on queue, idle, busy, break) in HH:MM:SS format
  • Ideally: Allow users to select page number and page size for the detail table.

Challenges:

Unfortunately, I understand that Power BI Desktop doesn't directly support adding page numbers and size selection to detail reports.

Request:

I'd appreciate any suggestions on achieving a similar user experience for navigating a potentially large detail table.

Attached Files:

  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi manoj_0911 ,

    1. Please try like:

    Measure = 
    VAR __total_seconds = SUM('Sheet1'[AVAILABLE])
    VAR __hours = INT( __total_seconds / 3600 )
    VAR __minutes = INT( MOD( __total_seconds, 3600) / 60 )
    VAR __seconds = MOD( __total_seconds, 60 )
    VAR __result = FORMAT ( __hours, "00" ) & ":" & FORMAT ( __minutes, "00" ) & ":" & FORMAT ( __seconds, "00" )
    RETURN
    IF(ISBLANK(__total_seconds), BLANK(), __result)

     

    2. This custom visual provides table paging functionality, hopefully it will help:

    Business Apps – Grid by MAQ Software

     

    Best Regards,
    Gao

    Community Support Team

     

    If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
    If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

    How to get your questions answered quickly --  How to provide sample data in the Power BI Forum -- China Power BI User Group

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi manoj_0911 ,

    1. Please try like:

    Measure = 
    VAR __total_seconds = SUM('Sheet1'[AVAILABLE])
    VAR __hours = INT( __total_seconds / 3600 )
    VAR __minutes = INT( MOD( __total_seconds, 3600) / 60 )
    VAR __seconds = MOD( __total_seconds, 60 )
    VAR __result = FORMAT ( __hours, "00" ) & ":" & FORMAT ( __minutes, "00" ) & ":" & FORMAT ( __seconds, "00" )
    RETURN
    IF(ISBLANK(__total_seconds), BLANK(), __result)

     

    2. This custom visual provides table paging functionality, hopefully it will help:

    Business Apps – Grid by MAQ Software

     

    Best Regards,
    Gao

    Community Support Team

     

    If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
    If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

    How to get your questions answered quickly --  How to provide sample data in the Power BI Forum -- China Power BI User Group