This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Dear all,
I'm developing a custom BI connector and I can show input parameters (e.g. date) in this here:
I do this via this code in M:
let
dataFunction = (param1 as any, optional param2 as any) as table =>
GetData(actions, params, {param1, param2}, serverUrl),
typeParam = type function (
param1 as (type date meta [
Documentation.FieldCaption = "Start Date",
Documentation.FieldDescription = "Start of time range",
Documentation.SampleValues = {#date(2024, 1, 1)}
]),
optional param2 as (type date meta [
Documentation.FieldCaption = "End Date",
Documentation.FieldDescription = "End of time range",
Documentation.SampleValues = {#date(2024, 12, 31)}
])
) as table
in
Value.ReplaceType(dataFunction, typeParam)
Solved! Go to Solution.
I want to create the parameters for the UI dynamically
I don't think you can do that. Parameters need to be static.
Hi @RaBu78 ,
May I ask if you have resolved this issue? Please let us know if you have any further issues, we are happy to help.
Thank you.
Hi @RaBu78 ,
Thank you for reaching out to Microsoft Fabric Community.
Thank you @lbendlin for the prompt response.
I wanted to check if you had the opportunity to review the information provided and resolve the issue..?Please let us know if you need any further assistance.We are happy to help.
Thank you.
I want to create the parameters for the UI dynamically
I don't think you can do that. Parameters need to be static.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.