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

Display 'Related Items' as link within PowerBI Report

Hello,

 

Looking for some assistance and couldn't find what I'm looking for searching the internet.

 

We've been asked to put together a 'Issues Log Report' and be able to drill down into the details in particular accessing the 'Related Items' and seeing that information. The SharePoint list has the 'Related Items' column i.e. lookup column but I'm unsure how to generated the 'Report' on PowerBi.

 

I'm assuming I'd have to format the 'Related Items' column to extend the options selected but I don't know how I'd format it so the hyperlink would work in the report. 

 

How would we achieve this on PowerBI? 

 

Thanks in advance 😁

2 ACCEPTED SOLUTIONS

Yes, if you have some table with URL link (or any other values from which you are able construct URL link), you can load to report (and if you want, you can relate to detail data in report).

Then you can add classic Table and add some column (you can use some another value for link label), and in Conditional formating section, select rigth column when you can show, enable Web URL link format, and then select column contains URL link.

View solution in original post

v-cazheng-msft
Community Support
Community Support

Hi, @Shelley-Baynton 

You can try the following steps.

 

1 Create a Measure (Measure can save your Memory)

format_url =

SWITCH (

    SELECTEDVALUE ( items[item] ),

    "A", "https://docs.microsoft.com/en-us/dax/switch-function-dax",

    "B","https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-table-formatting"

)

 

2 Conditional format ‘item’ column

v-cazheng-msft_3-1613527765943.png

 

v-cazheng-msft_1-1613527597411.png

The result looks like this:

v-cazheng-msft_2-1613527597412.png

When clicking the item, related link will be opened in browser.

 

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.

 

View solution in original post

3 REPLIES 3
v-cazheng-msft
Community Support
Community Support

Hi, @Shelley-Baynton 

You can try the following steps.

 

1 Create a Measure (Measure can save your Memory)

format_url =

SWITCH (

    SELECTEDVALUE ( items[item] ),

    "A", "https://docs.microsoft.com/en-us/dax/switch-function-dax",

    "B","https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-table-formatting"

)

 

2 Conditional format ‘item’ column

v-cazheng-msft_3-1613527765943.png

 

v-cazheng-msft_1-1613527597411.png

The result looks like this:

v-cazheng-msft_2-1613527597412.png

When clicking the item, related link will be opened in browser.

 

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.

 

lbendlin
Super User
Super User

Generally you have two options

 

1. Include the list column and let Power Query do the lookup.  This is SLOOOOOW.  Might work with short lists and few related items

2. Import the list, and also import the related list.  Use the data model to link them together.

3. (Bonus option) Use the ODATA connection to sharepoint to hand craft a query that returns everything you need in a flat table.

Yes, if you have some table with URL link (or any other values from which you are able construct URL link), you can load to report (and if you want, you can relate to detail data in report).

Then you can add classic Table and add some column (you can use some another value for link label), and in Conditional formating section, select rigth column when you can show, enable Web URL link format, and then select column contains URL link.

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.