The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi All,
I want to set a dynamic default parameter
Explanation : When parameter is passed from application it should filter my report if no paramter is passed i should be able to set default value to filter the report.
Note : Parameter filtering is working but setting default paramter is not working.
Please help me it is very critical we need it for our project.
Hi @chotu27,
please check the following documentation for applying filters on report, these filters can be applied after the report was loaded
https://github.com/Microsoft/PowerBI-JavaScript/wiki/Filters
for applying filter on report load, provide report level filters dynamically in IReportLoadConfiguration
https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embed-Configuration-Details
you can set the filters dynamiclly using the apis mentioned above to acomplish the default filtering.
Thanks,
Mahir,