- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

IBM DB2 with Parameters
Hi all!
I have an IBM DB2 connection and I want to add a parameter into a where clause.
I can do that but the thing is that if I do like this:
I can not change the origen in the configuration options.
Is there any way to that with the posibility of change the origin after?
Thank you so much
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Please clarify what you mean. Can you not change the value in the parameter to get different results?
Pat
Did I answer your question? Mark my post as a solution! Kudos are also appreciated!
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
@mahoneypa HoosierBI on YouTube
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi!!
No, I can change the value of the parameter but, I put the parameter into the query I have disable this option:
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

You can use a parameter that holds the database name and use it in place of your redacted part of Sql.Database( ). Or you can use parameters in your where clause or other parts of your SQL statement.
Pat
Did I answer your question? Mark my post as a solution! Kudos are also appreciated!
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
@mahoneypa HoosierBI on YouTube
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

If I use the parameters as a a part of my sql statement after I can not change the origin of data without change it in the Query.
The parameter that appears in the first picture works perfectly but the thing is after that when I need to change the origin on the configuration option you can see that is disable.

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
Anonymous
| 11-30-2023 02:37 PM | ||
11-01-2016 09:13 AM | |||
Anonymous
| 03-30-2021 01:02 PM | ||
10-16-2022 02:56 PM | |||
01-04-2024 01:56 AM |
User | Count |
---|---|
33 | |
18 | |
14 | |
11 | |
10 |