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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Tome_05
Helper II
Helper II

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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.