Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
 
					
				
		
I am trying to assign a value to duplicated values so I can visualize it without the duplicates.
- I have added an index column that assigns a value to each unique HCN but next step i'm hoping to assign based on the reg date as well, so it will take the reg date into account
The current vs ideal state is shown below:
Any help or insight is appreciated!
 
					
				
		
Hi @Anonymous ,
You can try to create a new column
Index = 
RANKX(
    'Table',
    'Table'[HCN] * 100000 + DATEDIFF(DATE(1900, 1, 1), 'Table'[Reg Date], DAY),
    ,
    ASC,
    DENSE
)Final output
Best regards,
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Sounds good. What have you tried and where are you stuck?
Can you provide sample data in a usable format, not as a screenshot?
 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
 
            | User | Count | 
|---|---|
| 87 | |
| 49 | |
| 36 | |
| 31 | |
| 30 |