Forum Discussion
Execute syntax formatted as string
Hi, REWINDER
Can you provide sample data for testing? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures or Excel. I look forward to your response.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi v-zhangti,
Thank you for your reply,
I am not sure what is the easiest way to share data, therefor I have put together two tables and the measure example.
Expected outcome: Should the measure in the table return 150000litres for a given filtered FY, this is what I hope tyo achieve with a measure referencing the expression in the MetaData table.
Something like:
Selectedvalue('table'[Expression])
Metadata measure table
| MeasureName | Expression |
| #LitresFuel | Sum('Fueltransaction'[Litres]) |
|
Table Fueltransaction
| Transaction | Litres |
| FY23 | 150000 |
I hope this helps,