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.
Hi @YonghunLee
If you means to create unique id in power bi, it is possible as long as for the same name(different people), there are different values in other columns.
You could create index column with DAX as below:
https://community.powerbi.com/t5/Desktop/Create-unique-ID/td-p/677570
For example,create a column below:
Final Rank =
RANKX (
Table,
RANKX ( Table, [Primary column],, ASC )
+ DIVIDE (
RANKX ( Table, [Secondary column],, ASC ),
( COUNTROWS (Table ) + 1 )
)
)
rank as unique id =
RANKX (
'Table (2)',
RANKX ( 'Table (2)', [name],, ASC )
+ DIVIDE (
RANKX ( 'Table (2)', [column1],, ASC ),
( COUNTROWS ( 'Table (2)' ) + 1 )
),,ASC,Dense
)
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hey there. I have the same issue. Have you found the solution?
Ugh! I"m going to have to find another community. Can't seem to find actual answers in here very often. Frustrating.
Hi @YonghunLee
If you means to create unique id in power bi, it is possible as long as for the same name(different people), there are different values in other columns.
You could create index column with DAX as below:
https://community.powerbi.com/t5/Desktop/Create-unique-ID/td-p/677570
For example,create a column below:
Final Rank =
RANKX (
Table,
RANKX ( Table, [Primary column],, ASC )
+ DIVIDE (
RANKX ( Table, [Secondary column],, ASC ),
( COUNTROWS (Table ) + 1 )
)
)
rank as unique id =
RANKX (
'Table (2)',
RANKX ( 'Table (2)', [name],, ASC )
+ DIVIDE (
RANKX ( 'Table (2)', [column1],, ASC ),
( COUNTROWS ( 'Table (2)' ) + 1 )
),,ASC,Dense
)
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
97 | |
78 | |
64 | |
55 |
User | Count |
---|---|
143 | |
109 | |
89 | |
84 | |
66 |