Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
v-eqin-msft
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.