Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Tome_05
Helper III
Helper III

How to conditionally combine logs for the same user

Thank you as always.

I have a question about the BI Power Query editor, so please let me know.

As shown in the attached image, there are two logs for the same user, and I would like to combine them into one log.

The conditions are:

If the first registration date and time is "Null", I want to display the first registration date and time that is not "Null".

For the latest access date and time, I want to display the latest access date and time that is "Null".

If the event at the time of first registration is "Null", I want to display the event at the time of first registration that is not "Null".

For the event at the time of last access, I want to display the event at the time of last access that is "Null".

For the number of participations, I want to display the total number of the two.

Please tell me how to do this.
Thank you in advance.スクリーンショット 2024-09-19 144639.png

1 ACCEPTED SOLUTION
ryan_mayu
Super User
Super User

@Tome_05 

pls see if this is what you want

11.PNG

12.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
ryan_mayu
Super User
Super User

@Tome_05 

pls see if this is what you want

11.PNG

12.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.