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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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

Top Solution Authors