Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
My dashboard is based on sql statement but I dont want to include Database Server or Schema manually in the query.
I have created parameters but i dont get to select both parameters because my backend is teradata.
How can I include Parameters in M query so that I can pass the database server and schema using parameters ?
my M query looks something similar.
let
Source=Teradata.Database(ServerNameparameter,[HierarchicalNavigation=true,
Query="Select column from Schema.table"])
in
Source
I want include my Schemaparameter in the place of Underlined/Boldfont "Schema" above in the code
thanks in advance.
yes it is working when replaced with Parameter in M query. Can we use Date parameters in where clause ?
and refer these parameters in 'Slicer' ? so from dashboard when we are changing the dates in either slicer or filters they have to be applied in the where clause of the query. is it possible?
that worked, thank you 😊
@madhaviml15 , try if you can replace this with the M query parameter - PSchema
Query="Select column from " & PSchema & ".table"])
refer if needed
https://radacad.com/change-the-source-of-power-bi-datasets-dynamically-using-power-query-parameters
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
72 | |
67 | |
51 | |
38 | |
26 |
User | Count |
---|---|
87 | |
54 | |
45 | |
40 | |
36 |