10. Parameters in Power Query (and Other Kinds of Parameters)
10.7 Templates (.pbit) with Parameters
A Power BI template contains the report, model, queries and parameters, pan no data. When someone opens it, Power BI asks for the parameter values and then loads the data.
Steps in Power BI
- Build the report with parameters
FolderPathandSelectedCity(add clear Descriptions). - File › Export › Power BI template › type a template description ("Blinkit city report – choose your city and data folder") › OK › save
Blinkit_City_Report.pbit. - Send the .pbit to city managers (for example Zoya for Kolhapur).
- When Zoya opens it, a dialog shows each parameter with its description. She selects Kolhapur, enters her folder path › Load.
- She saves the result as her own .pbix.
Ravindra Bagale's Tip
Mitrano, khup students send a .pbit template and the receiver gets errors karan the parameter's default value points to the sender's laptop. Give parameters clear descriptions and sensible defaults, and test the template yourself on another machine or folder before sharing. Samjla ka?