I have a power query connection to a Tabular data model. I have some MDX that runs and would like to pass a value in the WHERE statement to the MDX from the value of a cell. Any ideas on how to do this? I set the Power Query procedure up before to grab the value of the cell and use that as a filter by pulling it in through a second procedure, but that method does not work when I use that named range in the MDX.
Essentially I have a "... WHERE ( [Table].[ID].&[123] )" and I want to "123" part to be replaced with the value in cell A1 each time I refresh the process.
Any ideas?