Create something like the below in the query editor, call it DataBaseSource or whatever, then reference it in a visual in our report. You can rename MySources, but for the other two make sure to put in the names of your Parameters in between the quotes.
let
Source = #table ( {"Source", "Server", "Database"},
{
{"MySources", #"ServerParameterName", #"DatabaseParameterName"}
}
)
in
Source
Hi @ezenunez Itās great to know that you are making progress with your query. Please donāt forget if your question has been answered within the forum it is important to mark your thread as āsolvedā. Also, weāve recently launched the Enterprise DNA Forum User Experience Survey, please feel free to answer it and give your insights on how we can further improve the Support forum. Thanks!
Thanks Melissa,
Sorry, I might not explain myself well.
I am looking to "retrieve or read āthe name of the data base I am using.
Is there any Power Query M Function for that ?
If can read it, them I want to insert as # DatabaseParameterNameā to later use it in my virtualizationā¦
The end goal is to be able in the visualization what database I am usingā¦
Thanks again
Iām sorry but I donāt follow, weāre still talking database right - not companies?
If so than you should have a Parameter set up for the Database, just pass that Parameter to the #table, in order to āreadā itās value.