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

Join 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.

Reply
Marcusdahlberg
Frequent Visitor

Change URL with dynamic values based on values in a table

Hi

 

I have a small issue that maybe someone can help me with.

 

I have a report where you can see all transactions that has been done in different accounting accounts, where some of them are payments of various invoices. These invoices are accessible for different user in our company and are stored on an external page/server from the "invoice-company".

 

What i got is a Url from the invoice company that should be a dynamic url, where 2 different values need to be changed so that the link points to the exact correct invoice. 

 

The link looks like this (i changed some just for secutiry reasons): 

https://ourcompany.invoiceprovider.com/viewer/SupplierInvoice$global/P1-001/?VoucherNumber=XXXXXX&InvoiceDate=XXXX-XX-XX. The parts that needs to be dynamic are obviously the XXXXXX that represent the unique voucher number and XXXX-XX-XX is the date for the same voucher.
 
I have the values for VoucherNumer and InvoiceDate in a table that is called "fact_ledg" and in this the values are in colum "VerNr" and "Date".
 
So the part that i would like to get help with is how i do to get these XXXXXX values to change to unique url:s based on "VerNr" and "Date" so that the user can click the link and get access to his/her invoices.
 
Hope you understand what im looking for.
 
Br / Marcus

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Marcusdahlberg , Create a new column in fact_ledg

"https://ourcompany.invoiceprovider.com/viewer/SupplierInvoice$global/P1-001/?VoucherNumber=" & fact_ledg[VerNr] & "InvoiceDate=" & fact_ledg[Date]

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

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Marcusdahlberg , Create a new column in fact_ledg

"https://ourcompany.invoiceprovider.com/viewer/SupplierInvoice$global/P1-001/?VoucherNumber=" & fact_ledg[VerNr] & "InvoiceDate=" & fact_ledg[Date]

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.