Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
PowerrrBrrr
Helper III
Helper III

Create parameter for different columns and get value from different columns

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??

2 REPLIES 2
AntoineTRICHET
Resolver III
Resolver III

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:

Idnamevalue
1aaaohcsjachacaxalkcjalkjcxax
2wwwsackljdadmcmansciajcackjhacs

 

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.

Helpful resources

Announcements
ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.