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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
az38
Community Champion
Community Champion

How to set the Parameter value during data load?

Hello

 

I have a dataset S:

Col1  Col2

A       1

B       2

C       3

 

And I have a parameter TestPar (not required, any type)

 

During data load I want to set TestPar = 2 (value Col2 when Col1="B") and then continue to dataset S transformation (for example remove top rows and addcolumn)

 

Any ideas? 

Thnx!


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
3 REPLIES 3
v-cherch-msft
Employee
Employee

Hi @az38 

 

You may go to 'Manage Parameters' to set and use it in query editor.Below is the article about it.

https://powerbi.microsoft.com/en-us/blog/deep-dive-into-query-parameters-and-power-bi-templates/

 

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi, thnx, but it's not the same what I need. I need to remember somewhere (Parameter for example) value from the particular cell then remove row with this cell then show this value in the Report

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
az38
Community Champion
Community Champion

There is a good solution to create new column and fill it https://community.powerbi.com/t5/Desktop/Get-data-from-single-cell-in-DataSet-M-Language/m-p/625782#...

 

But what if i don't want to create new column and want to store value from the cell somewhere


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.