After some searching I found a way to create an Excel function to get parameter value upon invoking. Is there a way that the same thing could be done by passing a date from excel cell to the Power BI as a parameter value.This is for making the parameters dynamic and they should change values when the excel cell value is changed. The excel function which I am using is
(ParameterName as text) =>
let
ParamSource = Excel.CurrentWorkbook(){\[Name="Parameter_Table"\]}\[Content\],
ParamRow = Table.SelectRows(ParamSource, each (\[Parameter\] = ParameterName)),
Value=if Table.IsEmpty(ParamRow)=true
then null
else Record.Field(ParamRow{0},"Value")
in
Value
and the excel parameter table has two columns namely 'Parameter'(this is passed to the function) and 'Value'. Can the value from the 'Value' column be used to change the parameter in the Power BI. I have already loaded this excel table into the Power BI model. Any help will be appreciated.