Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I am trying to pass a field value in one report to a parm value in another report using a url in the Action feature. The field on first report should be hyperlink. I test everything with values hard coded in the url and the second report runs with no problem. If I change the hard coded value to be the expression from the first report, the second report opens saying 'no data available'. The following is my url expression where the shopper code is the field defined as an expression (in bold):
https://myreporturl?rp:FromDimDate=2022-07-31&rp:ToDimDate=2022-12-31&rp:DimShopperCode=Lookup(Fields!Shopper_Code.Value &CStr(Fields!Date_BK.Value),Fields!Shopper_Code.Value & CStr(Fields!Date_BK.Value), Fields!Shopper_Code.Value, "Shopper_dataset")
Is this written correctly?
No this is not correct. This will be passing your expression as a static value to the other report. What you need to do is to create the entire URL as a string expression so that it resolves the lookup function and concatenates that onto your url.
eg.
="https://myreporturl?rp:FromDimDate=2022-07-31&rp:ToDimDate=2022-12-31&rp:DimShopperCode=" & Lookup(Fields!Shopper_Code.Value &CStr(Fields!Date_BK.Value),Fields!Shopper_Code.Value & CStr(Fields!Date_BK.Value), Fields!Shopper_Code.Value, "Shopper_dataset")"
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
6 | |
4 | |
3 | |
2 | |
1 |
User | Count |
---|---|
7 | |
7 | |
6 | |
4 | |
3 |