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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
zawlh
Helper I
Helper I

Comparison Charts for the Same ID

I have a data table with duplicated users id with different information and different dates. 
What would be the best comparison charts to compare for those data.

This is the example data for some users.

User IDDateScoreEducationRideLocation
11/1/202050High SchoolBicycleUrban
11/1/202270Under GraduateBicycleRural

2

1/1/202040High SchoolBikeRural
21/1/202280High SchoolCarUrban

The data looks like taking survey with different times for the same users.

I would like to ask some suggestions that what would be the best comparison idea to compare 1st time data and 2nd time data.

 

Thank you for your suggestion.

1 ACCEPTED SOLUTION
ryan_mayu
Super User
Super User

@zawlh 

maybe you can create a column

rank = RANKX(FILTER('Table','Table'[User ID]=EARLIER('Table'[User ID])),'Table'[Date],,ASC)

1.PNG2.PNG

 





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

Proud to be a Super User!




View solution in original post

2 REPLIES 2
ryan_mayu
Super User
Super User

@zawlh 

maybe you can create a column

rank = RANKX(FILTER('Table','Table'[User ID]=EARLIER('Table'[User ID])),'Table'[Date],,ASC)

1.PNG2.PNG

 





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

Proud to be a Super User!




That's really help for me.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.