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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.