Forum Discussion
Anonymous
7 years agoNot applicable
URL Filter Parameter Not Working
Hi, I am having an issue passing parameters in a report URL. I am following the documented format: URL?filter Table/ColumnName eq 'value' but I get error 404 (see image below). The report works wit...
v-yulgu-msft
7 years agoMicrosoft Employee
Hi Anonymous ,
How did you get the report URL? The highlighted URL looks unmatched with the original one. Please refer to this document.
Best regards,
Yuliana Gu
Anonymous
7 years agoNot applicable
Hi Yuliana,
Thank you for responding!
I copied the report URL from my Workspace and placed it in the following measure:
Then, I used the following formula to calculate the report filter:
Subproject Filter =
Var SubprojectURL = [Subproject URL]
RETURN
IF(AND(
ISFILTERED('ViewProjects'[Project Name]),
NOT(ISBLANK(SELECTEDVALUE('ViewProjects'[Project Name])))
),
// THEN
SubprojectURL &
"?filter=" &
"ViewProjects/Project_x0020_Name" &
" eq " &
"'" &
SELECTEDVALUE('ViewProjects'[Project Name]) &
"'"
,
// ELSE
SubprojectURL
)
I then placed the measure "Subreport Filter" in a table.
Please let me know if you see anything wrong in my formulas.
Thank you!
Regards,
Carlos Tortoledo