Forum Discussion
Do not work pass parameters url with Cyrillic letters
Hello, Do not work pass parameters url with Cyrillic letters
URL?filter=Таблица/Поле eq 'value'
3 Replies
- v-henryk-mstfCommunity Support
Hi Wolt ,
Make sure the filter criteria are in the form of Table/Field:
URL?filter=Table/Field eq 'value'For more details, you can read related document:
Filter a report using query string parameters in the URL - Power BI | Microsoft Docs
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. - WoltRegular Visitor
Latins word: "Table" and "Field" is worked:
URL?filter=Table/Field eq 'value'But Cyrillic word: "Таблица" and "Поле" is not works:
URL?filter=Таблица/Поле eq 'value' - AnonymousNot applicable
Привет, Wolt!
Напишу тут, думаю, я не один такой, кто мучался с решением. Например, таблица называется "Объект". Если перевести в unicode, то получится:
\u041E\u0431\u044A\u0435\u043A\u0442
Это нам не подойдет. Есть такая штука как http://0xcc.net/jsescape/ . Тут можно привести в вид &#xXXXX; Делаем тоже самое но уже под нужный формат:
Объект
Но это все равно не то, работать не будет, так как там своя какая то кодировка. Надо допиливать вручную:
Т -> _x0422_
Вот такой символ будет работать. Теперь надо все перевести в такой вид и все будет работать.
Вот так, например, будет выглядеть d Объект/id Объектаeq 20777 в виде фильтра в URL:
filter=d_x0020__x041e__x0431__x044a__x0435__x043a__x0442_%2Fid_x0020__x041e__x0431__x044a__x0435__x043a__x0442__x0430_%20eq%20777