Forum Discussion

RAKESH1986's avatar
RAKESH1986
Icon for Helper II rankHelper II
3 years ago
Solved

Convert DAX measure code in to power query-Timein and Timeout

Hi ,

 

i have added measure in the desktop, it working fine, but I want to get the same output in the power query...

 

this code is in desktop...

 

could you help me with how I can write the same code in power query..?pls

 

Thanks

 

 

  • Hi RAKESH1986 

     

    You may try the Group by feature from Transfrom > Group By. Group by User column and execute Min aggregation on Access_Time column. To have more aggregated columns, switch to Advanced and add more new aggregations. Grouping or summarizing rows - Power Query | Microsoft Learn

     

    If this is not what you want, can you provide some sample data and expected result in table format? This could help me understand your requirement better. 

     

    Best Regards,
    Community Support Team _ Jing
    If this post helps, please Accept it as Solution to help other members find it.

1 Reply

  • v-jingzhang's avatar
    v-jingzhang
    Icon for Community Support rankCommunity Support

    Hi RAKESH1986 

     

    You may try the Group by feature from Transfrom > Group By. Group by User column and execute Min aggregation on Access_Time column. To have more aggregated columns, switch to Advanced and add more new aggregations. Grouping or summarizing rows - Power Query | Microsoft Learn

     

    If this is not what you want, can you provide some sample data and expected result in table format? This could help me understand your requirement better. 

     

    Best Regards,
    Community Support Team _ Jing
    If this post helps, please Accept it as Solution to help other members find it.