Yes, so you need to transform that value into a table, to be able to combine it with another table… Now you might still run into errors after that, so I’ll add a link to a chapter for you to review below.
I still don’t get this remark because to the best of my knowledge you can’t dynamically change a variable or query name… as I understand it now you seem to be building a string to refer to a variable…
Nonetheless, I’m going to assume that is what you are referring to AND it is a separate query (IMPORTANT so not a step- or variable name in the same query!!). In such a case you can use the intrinsic #shared to get all functions, queries and so on within the Power Query instance.
let
Source = #shared,
ToTable = Record.ToTable(Source),
GetTable = Table.SelectRows(ToTable, each [Name] = Number.ToText(Last_Act_Mth_FinYYYYM) & "ASP"){0}[Value],
CombineTables = Table.Combine( { #"202207ASP", GetTable } )
in
CombineTables