Forum Discussion

irta's avatar
irta
Microsoft Employee
7 years ago
Solved

Auto grouping or bin?

I'm looking for something which can do the auto grouping/slice given K values. We have the table showing execution time by count(X axis is duration time, Y axis is count). As shown below, the grap...
  • TeigeGao's avatar
    7 years ago

    Hi irta,

    According to your description, my understanding is that you want to auto group your data in X-axis to 4 part.

    In this scenario, we can use the grouping and binning function in PowerBI desktop. Please refer to the following steps:

    1. Right-click on the field (in this scenario is duration time) you want to group, select “New Group”.
    2. Then configure it like below:
    3. After that drag this bin and count measure to visual, the result will like below:

    For more information, please refer to this document: https://docs.microsoft.com/en-us/power-bi/desktop-grouping-and-binning

    Best Regards,

    Teige