Calling Power BI reports from ADF

Bodke, Anil 0 Reputation points
2024-06-06T11:57:54.79+00:00

Hello,

I have one report with multiple client folders this is the ADLS gen 2 folder location for one client and data source connection: AzureStorageDataLake for different files:

  1. https://lstest.dfs.core.windows.net/clientA/prepay-claim-daily/1202405300915/validated/common/fail/F...
  2. https://lstest.dfs.core.windows.net/clientA/prepay-claim-daily/1202405300915/validated/common/fail/F...
  3. https://lstest.dfs.core.windows.net/clientA/prepay-claim-daily/1202405300915/validated/common/fail/F...
  4. https://lstest.dfs.core.windows.net/clientA/prepay-claim-daily/1202405300915/validated/common/fail/F...
  5. https://lstest.dfs.core.windows.net/clientA/prepay-claim-daily/1202405300915/validated/common/fail/F...
  6. https://lstest.dfs.core.windows.net/clinetA/prepay-claim-daily/1202405300915/validated/common/fail/F...
  7. https://lstest.dfs.core.windows.net/clientA/prepay-claim-daily/1714506078004/validated/common/summar...

similarly we have different connection string for other clients like 

https://lstest.dfs.core.windows.net/clientB/prepay-claim-daily/123456789/validated/common/summary/Su...

https://lstest.dfs.core.windows.net/clinetB/prepay-claim-daily/123456789/validated/common/fail/FileA

and so on....

This is the connection string I'm using currently for one DataSet in power BI for File A

Abodke_1-1717521156722.png

It'll bring all the files present in the folder in this I'm filtering one file which is FileA. 

I'm repeating the same steps for remaining files.

 

Now what I want is: in the below highlighted snip after Common_Validatons we want to add a next step

Abodke_2-1717522194500.png

as calling Power BI report and the Common_Validations step has below variables:

Abodke_4-1717522773637.png

 

we want to utilize these parameters in the connection string for Power BI dataset like below:

FileA dataset connection string like:

https://lstest.dfs.core.windows.net/@variables('Customer')/prepay-claim-daily/@pipeline().parameters...

 FileB:

https://lstest.dfs.core.windows.net/@variables('Customer')/prepay-claim-daily/@pipeline().parameters...

FileC:

https://lstest.dfs.core.windows.net/@variables('Customer')/prepay-claim-daily/@pipeline().parameters...

FileD:

https://lstest.dfs.core.windows.net/@variables('Customer')/prepay-claim-daily/@pipeline().parameters...

FileE:

https://lstest.dfs.core.windows.net/@variables('Customer')/prepay-claim-daily/@pipeline().parameters...

FileF:

https://lstest.dfs.core.windows.net/@variables('Customer')/prepay-claim-daily/@pipeline().parameters...

 

1 report and 6 dataset connections  (Common for all clients)

and these dataset connections need to be dynamic. That means when I run for client A report will have Client A information and the dataset connection has to pass from ADF Pipeline.

Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,409 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,015 questions
{count} votes