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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
alexXelya
Regular Visitor

Creating timeline according to join date

I want to create a new date column according to the user join date. Meaning I have an user who created a profile anytime in the last 5 years and I want to be able to create a date column that will track the evolution of a user's activity. I want to compare all users first month of activity , second month and so on. If any question has already been answered with the same topic please feel free to redirect me. Thanks in advance for the tips.

1 ACCEPTED SOLUTION
v-yulgu-msft
Employee
Employee

Hi @alexXelya,

 

Suppose there is a User Account field and a Acticty Date field in table. Please add below calculated columns:

Year_month =
'User Activity'[Date].[Year] * 100
    + 'User Activity'[Date].[MonthNo]

Rank =
RANKX (
    FILTER (
        'User Activity',
        'User Activity'[User] = EARLIER ( 'User Activity'[User] )
    ),
    'User Activity'[Year_month],
    ,
    ASC,
    DENSE
)

1.PNG

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yulgu-msft
Employee
Employee

Hi @alexXelya,

 

Suppose there is a User Account field and a Acticty Date field in table. Please add below calculated columns:

Year_month =
'User Activity'[Date].[Year] * 100
    + 'User Activity'[Date].[MonthNo]

Rank =
RANKX (
    FILTER (
        'User Activity',
        'User Activity'[User] = EARLIER ( 'User Activity'[User] )
    ),
    'User Activity'[Year_month],
    ,
    ASC,
    DENSE
)

1.PNG

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
prateekraina
Memorable Member
Memorable Member

@alexXelya

 

Please provide some existing dummy data and data which you expect to better explain your problem.

 

Prateek Raina

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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