Hi all,
I have a use case where I want to ask user to enter the data source name (existing power BI provided data sources) to connect to and then subsequently retrieve the input values for that data source and so on process that data further using custom logic ( like mask sensitive information)..
For example:
// This file contains your Data Connector logic section SampleConnector; [DataSource.Kind="SampleConnector", Publish="SampleConnector.Publish"] shared SampleConnector.Contents = (DataSourceName as text) as any => let Source = if (DataSourceName = "HDFS") then SampleConnector.HDFS() else "Unknown" in Source; [DataSource.Kind="SampleConnector", Publish="SampleConnector.Publish2"] shared SampleConnector.HDFS= (ServerName as text) as any => let Files = Hdfs.Files(ServerName) in Files; ....... more functions.....
Is there a way to achieve this?