Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

To get the count

Hi,

 

I need help to build a visual in Power BI 

I have combined 6 differtnt report with the same coulumn name and similar data types. 

The below image is for one of the user, similarly we have more than 2000 users with mutiple entries.

 

First condtion is to convert the duation into seconds, which I did by dividng it by 60. And in the visual we don't want it show multiple entries. Which I got as below after it summarizes 

 

Now the next challenge is, I need to show the count how many of them have utilized more than 120 minutues, which I'm not able to do so and the data what i'm getting is wrong.

 

Kindly help

Thank you 

 

  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi Anonymous ,

     

    If you want to filter out users greater than 120 minutes in the visual, you can select this visual and apply this filter.

    If you want to calculate the number of users over 120 minutes, try this measure:

    Measure = COUNTROWS(FILTER(SUMMARIZE('Table','Table'[userDisplayName],"min",[Duration in minutes]),[min]>120))

    Drag it into the card.

     

    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

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous ,

     

    If you want to filter out users greater than 120 minutes in the visual, you can select this visual and apply this filter.

    If you want to calculate the number of users over 120 minutes, try this measure:

    Measure = COUNTROWS(FILTER(SUMMARIZE('Table','Table'[userDisplayName],"min",[Duration in minutes]),[min]>120))

    Drag it into the card.

     

    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