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 model has one table AA which is imported, one table BB which comes by Direct Query. The query has two parameters.
Table AA is represented as a table visual with n rows and 3 columns A, B, C.
When the user selects one cell of a particular row (say row 5), I want to grab the correspondent values in columns B and C and assign that values to two parameters.
I will use those two parameters to run a query and update my dataset in Direct Query.
Any suggestion?
Thanks
Hi @daXtreme,
I realised I can 'capture' the value of the cell the user has selected by SELECTEDVALUE function.
I wish I could set parameter P1 value equal to the selected value. In that way, I'll be able to run the query:
let
filterquery="SELECT * FROM TABLEXX WHERE COLUMNX = '" & Number.ToText(P1) & "'",
Origine = Sql.Database("MY SQL SERVER", "MY DB", [Query=filterquery])
in
Origine
Thanks for helping,
As far as I know, you cannot do that. What does it mean "update my dataset in DQ" in this scenario?
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
70 | |
38 | |
26 | |
26 |
User | Count |
---|---|
100 | |
87 | |
45 | |
43 | |
35 |