Forum Discussion
azizimranz
9 years agoFrequent Visitor
How to concatinate text with some dynamic value
Hi All, My scenario is, need to show a url hyperlink icon based on the environment. i.e. if the environment is staging, url would have ...staging..., and if the environment is production, url wou...
- 9 years ago
You can also choose for a Power Query solution (Query Editor).
If you only have a single value, you can also define a Parameter.
Example query code with both alternatives:
let Source = #table(type table[Environment = text],{{"Env 01"},{"Env 02"}}), #"Added Custom" = Table.AddColumn(Source, "Environnment and Server from Table B", each [Environment] & " " & Table.FirstValue(#"Table B")), #"Added Custom1" = Table.AddColumn(#"Added Custom", "Environmemnt and Server from parameter", each [Environment] & " " & Server) in #"Added Custom1"Screenshot for parameter definition:
Ashish_Mathur
Super User
9 years agoHi,
Show a sample dataset and the expected result.
azizimranz
9 years agoFrequent Visitor
Hi,
There is no relationship between those two tables.
Take one table having all the data, and other table having a single constant value.
I want to display the table having all the data, along with the concatination of that constant field in one of the custom columns, (off course for every record).