简体   繁体   中英

Apply filter in the URL power Bi

I need to apply filter on a power BI report in the URL

_58909_87f86c04?rs:embed=true?filter=V_REPL_CE10010_C3/BUKRS eq '9036'

I used this code, but its not filtering.The table is inside a schema(oracle database). Should i include even the schema name?Or is there anything wrong in the code? or is there any other way to solve this

table name:V_REPL_CE10010_C3
col name:BUKRS(The column type is text)

_58909_87f86c04?rs:embed=true?filter=V_REPL_CE10010_C3/BUKRS eq '9036'

_58909_87f86c04?rs:embed=true?filter=V_REPL_CE10010_C3/BUKRS eq '9036'

On which URL you are trying to append the filter? Considering rs:embed=true it looks like you are working with Power BI Report Server on-premise, but you didn't tagged this in your question.

The "table name" that you are passing in the URL filter is the name of the table in Power BI's model, so no, you should not prefix it with schema name. So check in your model, is the table name really V_REPL_CE10010_C3 (table name in the model can be different than the table name in the database, eg it can be something like Query1 for example). If the table name or column name are not correct, but in general the URL filtering works, you should see a message that the filter is invalid:

在此处输入图像描述

If you don't see such message, and you don't see the filter passed in the URL, then URL filtering is not supported with the URL kind that you are using ( eg URL acquired from Publish to web ).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM