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
Hi,
I want to pass the parameter into the API URL in Power bi to fetch the details of USage report
= OData.Feed("https://reports.office.com/pbi/v1.0/" & TenantID,null,[ODataVersion=4])
TenantID would be the list of parameter or when user select the tenent ID to get the details
Hi @Singh_10
1.As @lbendlinmentioned, the OData not supports direct query mode, so if you want to implement it , you consider to create a paramater, then input related information to filter tenant ID. e.g you use the username to filter the id, you can create a paramater called username, set it type to text.
The in the tenantid table, filter the table with the paramater.
Then change the code of the url to the following.
= OData.Feed("https://reports.office.com/pbi/v1.0/" & TenaneID[TenantID]{0},null,[ODataVersion=4])
You can edit the paramater in Data Settings Power BI Service or in Power query editor.
2.You can consider to put the data to SQL Server and use direct query mode to connect it so that you can use dynamic paramaters.
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous thank you for the response i will implement this and update this post
Are you expecting this to be refreshable on the service?
yes , refreshable when user select from the filter
Well, that's a separate issue, and one you cannot solve with the standard ODATA connector, as it doesn't even support Direct Query.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |