Forum Discussion

powerbiexpert22's avatar
powerbiexpert22
Icon for Impactful Individual rankImpactful Individual
10 months ago
Solved

Use Case of Dynamic M Parameters

I am not clear about use case of Dynamic M Parameter, i have gone through below video however i am not clear in which sceanrio i should use it. what i understand is Dynamic M parameters are used in c...
  • Thomaslleblanc's avatar
    10 months ago

    The video is just showing an example, using DirectQuery. That is not a requirement for using M Parameters

  • Thomaslleblanc's avatar
    10 months ago

    After diggin a little more, I think the main objective of Power Query parameters, dynamic M, is to help pass parameters from a deployment pipeline to change the servername and database name for Dev versus QA versus Prod. This example in the 2 videos I watched were shwing a table (with a unique list) passing the selected value to the parameter, thus filtering the table. 

    It is just an example, to show how it can work. This is not necessary a common use of the parameter.

  • Thomaslleblanc's avatar
    10 months ago

    yes, you can just use a filter or slicer to accomplish the same thing. They are using a Direct Query example for the use of passing a parameter to the source database to only retrieve a sub-set of the data.