Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have a PBI report using a matrix visual. I want to add another column to it which has URL values. I have the URLs to be displayed in a column (plan_5500_link). The data category for this column has been set to web URL. Now since it is a matrix visual, I want to display the URLs only at the 2nd level (PLAN_NAME_GRP level). So I created a measure as such:
Is there a way I can display the URL as an icon (as in the last column of the screenshot) but only at the 2nd level of the matrix? Let me know if you need any other details.
Solved! Go to Solution.
I changed your formula a bit & got it to work 🙂
Plan 5500 link =
VAR CurrentPlanNameGrp = SELECTEDVALUE(ABTTableData[PLAN_NAME_GRP])
IF (
ISINSCOPE ( 'ABTTableData'[PLAN_NAME_GRP] )
&& NOT ISINSCOPE ( 'ABTTableData'[INVESTMENT_NAME2] ),
CALCULATE(MAX ( 'ABTTableData'[plan_5500_link] ),ABTTableData[PLAN_NAME_GRP] = CurrentPlanNameGrp), BLANK()
)
Thank you so much for your help @MFelix
Hi @Pp110784 ,
Believe the problem is on your syntax in my case I have done the following measure:
URL LINE VALUE =
VAR URLValue = "https://www.google.com/search?ie=UTF-8&q={"&SELECTEDVALUE('ABTTableData'[PLAN_NAME_GRP])&"}"
RETURN
IF(ISINSCOPE('ABTTableData'[PLAN_NAME_GRP])&&NOT ISINSCOPE('ABTTableData'[PLAN_SPONSOR_NAME]), URLValue)
Has you can see it work correctly:
Redo your measure to:
Plan 5500 link =
IF (
ISINSCOPE ( 'ABTTableData'[PLAN_NAME_GRP] )
&& NOT ISINSCOPE ( 'ABTTableData'[PLAN_SPONSOR_NAME] ),
MAX ( 'ABTTableData'[plan_5500_link] )
)
Should work
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsI changed your formula a bit & got it to work 🙂
Plan 5500 link =
VAR CurrentPlanNameGrp = SELECTEDVALUE(ABTTableData[PLAN_NAME_GRP])
IF (
ISINSCOPE ( 'ABTTableData'[PLAN_NAME_GRP] )
&& NOT ISINSCOPE ( 'ABTTableData'[INVESTMENT_NAME2] ),
CALCULATE(MAX ( 'ABTTableData'[plan_5500_link] ),ABTTableData[PLAN_NAME_GRP] = CurrentPlanNameGrp), BLANK()
)
Thank you so much for your help @MFelix
Glad to know you were able to made it work.
Since I did not know how your model was setup I just gave an approximate formula. But happy that I guided you to the correct path.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsI applied your formula, but that made all the Plan 5500 links disappear.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.