Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello there.
I have defined a parameter FinancialYear_Start_Period in power query editor. I would like to use this parameter in a calcuated dax column. Is it possible?
Thank you, Michelle
Solved! Go to Solution.
You could load that parameter into a table, that way you will able to refer to that:
// Parameter1
10 meta [IsParameterQuery=true, Type="Number", IsParameterQueryRequired=true]
// ParamTable
let
Source = Parameter1,
#"Converted to Table" = #table(1, {{Source}}),
#"Changed Type" = Table.TransformColumnTypes(#"Converted to Table",{{"Column1", Int64.Type}}),
#"Renamed Columns" = Table.RenameColumns(#"Changed Type",{{"Column1", "Parameter"}})
in
#"Renamed Columns"
Hi @michellepace ,
Unless you load the parameters into the data model.
Right click the parameter in 'Edit Query' -> Check the ‘Enable load’ option.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
You could load that parameter into a table, that way you will able to refer to that:
// Parameter1
10 meta [IsParameterQuery=true, Type="Number", IsParameterQueryRequired=true]
// ParamTable
let
Source = Parameter1,
#"Converted to Table" = #table(1, {{Source}}),
#"Changed Type" = Table.TransformColumnTypes(#"Converted to Table",{{"Column1", Int64.Type}}),
#"Renamed Columns" = Table.RenameColumns(#"Changed Type",{{"Column1", "Parameter"}})
in
#"Renamed Columns"
@michellepace , I doubt that. It will not be visible.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
94 | |
84 | |
67 |