Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
Hi Power BI community
I would like to ask for your help.
I have a file that gives me the last activity of each users, on several services (5 services). I would like to create a column that gives me the last activity among all the services. For example
User Last activity Service 1 Last activity Service 2 Last activity service x Global last activity
User A 13/07/2020 09/07/2020 10/07/2020 13/07/2020
User B 05/03/2020 10/04/2020 20/05/2020 20/05/2020
Is there a function that allows to do that ?
Thanks a lot !
Laura
Solved! Go to Solution.
Hi @Anonymous ,
If you wanted to push this work away from the data model, then you would use the List.Max() function in Power Query.
This gives me the following output:
Pete
Proud to be a Datanaut!
Hi @Anonymous ,
You can use Power Query to handle it more dynamically:
let _user = [User] in
List.Max(Table.Transpose(Table.RemoveColumns(Table.SelectRows(#"Changed Type", each [User] = _user), "User"))[Column1])
Just replace the bold part with your last step name.
Hi @Anonymous ,
If you wanted to push this work away from the data model, then you would use the List.Max() function in Power Query.
This gives me the following output:
Pete
Proud to be a Datanaut!
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
106 | |
68 | |
48 | |
44 | |
42 |