Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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?
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.