Right-click on the Tables folder in the Solution Explorer and select "Add Table." Create a new table that will serve as a parameter table. This table will contain the field parameters you want to define.
In your new parameter table, you can create columns for each parameter you want to define. You might create a "Parameter Name" column and a "Parameter Value" column, for example.
If your parameters need to filter other tables in your model, you will need to create relationships between the parameter table and the relevant tables in your model.
You can reference your parameters in DAX formulas by using the RELATED
or LOOKUPVALUE
function. For example, if you have a measure that should be calculated based on a parameter value, you could define the measure like this:
My Measure = SUMX(FILTER(Orders, Orders[Category] = LOOKUPVALUE(Parameters[Parameter Value], Parameters[Parameter Name], "Category")), Orders[Amount])
Once you've defined your parameters and any related measures or calculated columns, you'll need to deploy your model to Azure Analysis Services.
You can after connect to your deployed model from Power BI and write queries that leverage the parameters you've defined.