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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
tanito
Frequent Visitor

Custom Connector User Input as Record

Hello,

 

I try to build a custom connector that implements a certain logic in the navigation. Unfortunately, input parameters are not yet queried in the navigation. I hope you experts can help me.

 

I define the navigation table and add a data column:

viewsTable2 = Table.AddColumn(viewsTable, ‘Data’, each ChangeTable([SCHEMA_NAME],[VIEW_NAME],OdbcDatasource)),

 

In the ChangeTable function, I want to output a table that is filtered. To do this, I define an inner function in ChangeTable that should take a record parameter and returns a table:

ChangeColumnNames = (schema as text, view as text,source) =>

    let

        ...

        Func = (paramsRecord as record) =>

            let

                tbl = ...

            in tbl;

        NewType = type function (

        paramsRecord as

        [ ...]

        ) as table,

        Ascribed = Value.ReplaceType(Func, NewType)

    in

        Ascribed;

 

How is only the empty record displayed in the navigation and not the concretisation of the record from the variable newType?

 

tanito_0-1716813912030.png

 

 

If I now click on OK and look at the dataset, specific user input is now requested. But why only now and not in the navigator?

tanito_1-1716813912031.png

 

 

It would be good for my further code if the record can be kept. Is that possible?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @tanito 

Based on my understanding, you want to add a new record in table by inputing data, and the data can display in navigator,based on my understanding, Navigator provides existing data sources, and if you want to display the data entered in Power Query in real time in Navigator, you can't do it,  you can refer to the following link.

Handling navigation for Power Query connectors - Power Query | Microsoft Learn

You can use function to filter in navigator, you can refer to the following link.

Solved: Custom Connector and Navigation Tables - Microsoft Fabric Community

 

Best Regards!

Yolo Zhu

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

1 REPLY 1
Anonymous
Not applicable

Hi @tanito 

Based on my understanding, you want to add a new record in table by inputing data, and the data can display in navigator,based on my understanding, Navigator provides existing data sources, and if you want to display the data entered in Power Query in real time in Navigator, you can't do it,  you can refer to the following link.

Handling navigation for Power Query connectors - Power Query | Microsoft Learn

You can use function to filter in navigator, you can refer to the following link.

Solved: Custom Connector and Navigation Tables - Microsoft Fabric Community

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.