Forum Discussion
Index Key
- 1 year ago
Hi glmoon5 ,
Thanks for reaching out to Microsoft fabric Community Forum.
Based on the sample data as you provided as per the query :- You can create a Geography-based index in Power BI by first sorting the data by Geography.
- Then removing duplicates from a duplicated Geography column, adding an index to that unique list, and finally merging it back with the original table to assign a consistent index per Geography group.
Expected output :
Reference : Add an index column - Power Query | Microsoft Learn
If this post was helpful, please consider marking Accept as solution to assist other members in finding it more easily.
If you continue to face issues, feel free to reach out to us for further assistance!
do you want to create a calcuated column or a measure? could you pls provide some sample data and expected output?
- ryan_mayu1 year agoSuper User
then could you pls proivde some sample data and expected output? We don't need top 20, maybe just top 3 or top 5 sample data
- glmoon51 year agoHelper I
I don't have the data handy.....I was thinking this was pretty straight forward for someone how knows more about PBI that me?