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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Add Hyperlink to other Hierarchy in Table Matrix

This is the sample table I have.

Campaign IDCampaign1Campaign2Campaign3Campaign4Campaign Link
123Test April 17thParent Campaign Test April 17thTest April 17th v2May 10th Testinghttps://test.crm5.dynamics.com/CRMReports/viewer/drillopen.aspx?ID={123}&LogicalName=campaign
234Parent Campaign Test April 17th   https://test.crm5.dynamics.com/CRMReports/viewer/drillopen.aspx?ID={234}&LogicalName=campaign
345Test April 17th v2Parent Campaign Test April 17th  https://test.crm5.dynamics.com/CRMReports/viewer/drillopen.aspx?ID={345}&LogicalName=campaign
456May 10th TestingParent Campaign Test April 17thTest April 17th v2 https://test.crm5.dynamics.com/CRMReports/viewer/drillopen.aspx?ID={456}&LogicalName=campaign
567WBN-2020-05-23 Azure incentive AU 2323Parent Campaign Test April 17thTest April 17th v2May 10th Testinghttps://test.crm5.dynamics.com/CRMReports/viewer/drillopen.aspx?ID={567}&LogicalName=campaign
 

This is the Report

Power BI Q.png

As you can see all the highlighted is the Campaign2, Campaign3 & Campaign4 and does not have a hyperlink.

How can I lookup or have a workaround to add the hyperlink on the Campaign2, Campaign3 & Campaign4?

 

Any thoughts? Thank you!

1 ACCEPTED SOLUTION

Hi, @Anonymous 

 

You can create a Measure like following and then add it to the Matrix visual.

 

CampaignLink =

IF (

    HASONEVALUE ( 'sample table'[Campaign Link] ),

    SELECTEDVALUE ( 'sample table'[Campaign Link] ),

    MAX ( 'sample table'[Campaign Link] )

)

 

The result looks like this:

v-cazheng-msft_1-1613538044698.png

 

If you want to add hyperlink to another column, you can consider Conditional formatting with Web URL. You may need create a Measure firstly, in this issue, there is a reply may help you.

 

Best Regards,

Caiyun Zheng

 

Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

5 REPLIES 5
v-cazheng-msft
Community Support
Community Support

Hi, @Anonymous 

 

I've done test with your sample data. I got a Matrix as following. Is it the result you wanted?

 

v-cazheng-msft_0-1613532081130.png

 

 

v-cazheng-msft_1-1613532081133.png

 

 

v-cazheng-msft_2-1613532081135.png

 

Here is the sample.

 

Best Regards,

Caiyun Zheng

 

Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Anonymous
Not applicable

Thanks so much for the response.

As I can see in the Value you used "First Campaign Link" 

Screenshot 2021-02-17 114735.png

I used SELECTEDVALUE(Campaigns[Campaign Link]) to remove the "First" and the hyperlink in the Campaign2, Campaign3 & Campaign4 is gone. Is there a way to have a hyperlink for the other column. The ID for them is like in the Campaign 1.

 

Thank you.

Hi, @Anonymous 

 

You can create a Measure like following and then add it to the Matrix visual.

 

CampaignLink =

IF (

    HASONEVALUE ( 'sample table'[Campaign Link] ),

    SELECTEDVALUE ( 'sample table'[Campaign Link] ),

    MAX ( 'sample table'[Campaign Link] )

)

 

The result looks like this:

v-cazheng-msft_1-1613538044698.png

 

If you want to add hyperlink to another column, you can consider Conditional formatting with Web URL. You may need create a Measure firstly, in this issue, there is a reply may help you.

 

Best Regards,

Caiyun Zheng

 

Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Anonymous
Not applicable

Thanks for the response @amitchandak 

I just want to have a single column for all the hyperlink for the Campaign 1,2,3,4.

Is there any workaround we can do for this one?

Thank you so much!

amitchandak
Super User
Super User

@Anonymous , if you have added using conditional formatting web URL, then do it for total and value

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors