Forum Discussion
Markzolotoy
Impactful Individual
5 years agoPaginated report parameter in DAX
If I have this expression: COUNT(Table1[Field1]) Can use a report parameter n a place of a table name? Something like this: COUNT(@parameter_TableName[Field1]) Thanks
bradsy
Microsoft Employee
5 years agoWrite your query, then edit the dataset(right click in the left side dataset section where your dataset is). There is an expression button next to the query, can see in picture.
Markzolotoy
Impactful Individual
5 years agoSo, the expression would be something like this:
="EVALUATE COUNT(" & Parameters.parameter_TableName.Value & "[Field1])"