Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 11 | |
| 6 | |
| 4 | |
| 4 | |
| 3 |