Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
Hello, I am trying to set parameterized data source for snowflake in power bi. I am able to parameterize for single database connection it's working and now trying to do for multiple databases. I am using the following query but it's not helping. Please suggest . let
Source = Snowflake.Databases(Snowflake,DW),
DB_Database = Source{[Name=SnowflakeDB,Kind="Database"]}[Data],
MO_DB =
if DB_Database = "DB1"
then DB_Database = Source{[Name=SnowflakeDB,Kind="Database"]}[Data]
else
DB_Database = Source{[Name="DB2",Kind="Database"]}[Data],
DATAMART_Schema = MO_DB{[Name=SnowflakeSchema,Kind="Schema"]}[Data],
MO_View = DATAMART_Schema{[Name="View_MO",Kind="View"]}[Data],
#"Filtered Rows" = Table.SelectRows(MO_View, each [MONTHINFO] >= #date(2021, 1, 1))
in
#"Filtered Rows"
Hi @SruthiK
Thanks for reaching out to us.
Is there any error message when you try to parameterize for multiple databases?
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Hi, we are not getting any error message and we are not able to get the expected result also we are unable to choose parameters while getting data source.
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
112 | |
112 | |
105 | |
94 | |
58 |
User | Count |
---|---|
174 | |
147 | |
136 | |
102 | |
82 |