The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
How can we pass parameter values from a different column but in the query I pass values from another corresponding value in another column and do calculation. So for ex: I have two columns Id and Name. I crreate a list of Ids and create a parameter for it. Now when I select Id , I would like the value in the Name column for that corresponding ID to be passed in my Power Query. Is it possible?? How??
Hi @PowerrrBrrr
Not sure I completely understood your issue. But I think in Power Query you just have to merge the two queries by the id and then expand the column you want and finally do your calculation. In Power Query to do calculations you need to have the data in the same query.
Please accept it as a solution if it solved your issue
Not sure I understand your solution but thats maybe you didnt get my question. So here I go again:
I have a table with something like this:
Id | name | value |
1 | aaa | ohcsjachacaxalkcjalkjcxax |
2 | www | sackljdadmcmansciajcackjhacs |
And I have a Parameter where the Parameters are defined on the as Query type with Ids from above table. So when I open my file I get parameter to select the "Id" from a drop down and based on Id value the report gets filtered. And I also have a power Query in my model which needs [Value] column to be passed. And Now Thats my question that how can I send the [Value] to my power query based on the Id selected as a parameter.
User | Count |
---|---|
65 | |
61 | |
60 | |
53 | |
27 |
User | Count |
---|---|
181 | |
88 | |
70 | |
48 | |
46 |