The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
I have 2 pbix file report1.pbix where I am fetching data using direct query mode and in report2.pbix I am using the data in slicers from report1.pbix using power BI dataset and then using direct query mode to fill data in table in report2.pbix based on filtering done in slicer I want to use dynamic M query parameter but the M query parameters that I have created and binded in report1.pbix are not visible in report2.pbix where I want to use them please provide the solution for this.
hi @ganotra_2730 ,
To use dynamic M Query parameters across two Power BI reports:
Enable DirectQuery for Datasets:
Replicate Parameters in Report2:
Bind Parameters in Report2:
Share Parameter Values:
Optional - Automate with REST API:
Use the same dataset in report2 by connecting to the published Power BI dataset from report1.
M query parameters cannot be passed directly across different reports in Power BI Desktop.
Consider using slicers or filters in report2 to dynamically filter data based on the dataset.
Alternatively, replicate the parameter logic via DAX measures or Power BI Service parameters for dynamic filtering.