cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Oneiricer
New Member

Cross Filtering Another Report via Web URL

Hi All,

I have successfully cross filtered another report via web URL, however am running into a strange issue.

I have managed to create via DAX the web URL string that I want, for example, the output is this:

 

https://app.powerbi.com/groups/b09b333e-c252-459b-b9a4-00386f58b608/reports/780dda2e-3271-4ec8-9e2e-...

 

Note that i've used the in filter clause and there are 3 keys seperated by comma in the above example.

The output of the DAX is correct as I can copy it from the table and paste it into the browser and it works.

However when i enable it via the web link icon/ conditional format - WEB URL and click on it, it leads me to the report with the following link:

 

https://app.powerbi.com/groups/b09b333e-c252-459b-b9a4-00386f58b608/reports/780dda2e-3271-4ec8-9e2e-...

 

Note the string inside the paranthesis is gone completely.

 

 

The DAX code is very straight forward:

 

 

The column input_keys contains the value already pre-formatted, such as:

 

INPUT_KEYS

%27ACURITY%7C108965%27,%27SONATA%7CN14226%27,%27SONATA%7C30082%27

 

Not sure why PBI is deleting the string value from my DAX when rendering the table visualisation via front end - Does anyone know why?

 

Many thanks

Oneiricer

 

 

3 REPLIES 3
Eyelyn9
Community Support
Community Support

Hi @Oneiricer ,

Say you're working in Power BI Desktop. You want to create a report that has links to other Power BI reports, but you want to show only some of the information in the other reports. First, filter the reports using query string parameters and save the URLs. Next, create a table in Desktop with these new report URLs. Then publish and share the report.

 

I have a test:

  • Original report in service:

Eyelyn9_1-1645407840853.png

 

  • Get links in Power BI Desktop

Eyelyn9_0-1645407721112.png

  • After publish, click the link, the Table/column name and the filtered value are existed:

Eyelyn9_2-1645408064610.png

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Eyelyn,

Not sure how your post solves my problem - i am able to generate the URL correctly via DAX.

However when i enable it via the web URL functionality, the dynamically generated text inside the parantheses disappears:

from

...?filter=d_x0020_ERRD%2FBASE_KEY%20in%20(%27ACURITY%7C108965%27,%27SONATA%7CN14226%27,%27SONATA%7C30082%27)

to:

...filter=d_x0020_ERRD%2FBASE_KEY%20in%20()

 

 

See how the text inside the parenthesis is cut? Do you know why that is the case?

Oneiricer
New Member

bumping this for more visibility

Helpful resources

Announcements
August 2022 update 768x460.jpg

Check it Out!

Click here to learn more about the August 2022 updates!

August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors
Top Kudoed Authors