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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
kenrick
Regular Visitor

Set default visual filter value within a M Connector

Am currently developing an M web Connector and am recieving default value information for a filter from my endpoint. Would like to use this information to set the default value of the filter in Power BI when the filter is added.

For example currently when a filter is added it looks like this:

kenrick_0-1705613041902.png

Where as I want it to look like this:

kenrick_1-1705613075438.png


Would it be possible to do this within the M connector? And if so is there any documentation on how I can achieve this?

Thanks!

3 REPLIES 3
kenrick
Regular Visitor

Hi @v-yangliu-msft ,

Thanks for the prompt response!

We already have a functional connector, what we are currently trying to figure out if we can specify a default value within GetRows() of the Table.View function.


Currently our GetRows() is returning possible column values, and from my understanding this is what populates the filter selections from the image above. What I am wondering if is we can also specific a pre-selected value as well within GetRows() or is there some other way of doing this?

Thanks,
Kenrick

Hi @v-yangliu-msft


Just wondering if there is any update on this investigation.

Thanks,
Kenrick

v-yangliu-msft
Community Support
Community Support

Hi  @kenrick ,

 

This is the related document, you can view this content:

https://skillzcafe.com/blog/microsoft/power-bi/creating-custom-data-connectors-with-power-bi-develop...

Creating your first connector - Hello World - Power Query | Microsoft Learn

Custom connector development FAQ - Power Query | Microsoft Learn

 

Best Regards,

Liu Yang

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

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.