Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

How to make a dropdown list

I want a dropdown list which combines tow columns "FROM_CURRENCY" (CAD, USD...) and "To_CURRENCY" (CAD, USD...)in Sql server. EX: CAD -> USD and USD -> CAD are the same and I write them as CADUSD. I also want them not to be repetitive.

Can someone help me with that?

 

Thanks

  • Anonymous ,

     

    Add a custom column in Query Editor.

    Text.Combine(List.Sort({[FROM_CURRENCY],[To_CURRENCY]}))

1 Reply

  • v-chuncz-msft's avatar
    v-chuncz-msft
    Community Support

    Anonymous ,

     

    Add a custom column in Query Editor.

    Text.Combine(List.Sort({[FROM_CURRENCY],[To_CURRENCY]}))