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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
richrussell
New Member

Need to add a new parameter to a dataset via Powershell

I can update existing parameters on datasets, no problem.  The documentation for that is good, and it explicitly says that "All specified parameters must exist in the dataset."

 

But is there a way to programatically add a new parameter, that doesn't already exist?  I know it can be done via the GUI but I need to programatically add a new parameter to datasets that already exist.  I've searched quite a bit, and while I find all sorts of references to creating new datasets and updating existing parameters, I can't find anything on adding a new parameter to an existing dataset. 

 

Any pointers to documentation on this would be great--I'll gladly take it from there.  Thanks in advance.

1 REPLY 1
Hariharan_R
Solution Sage
Solution Sage

Hi,

Parameters can be created only in Power Query layer using GUI method and we dont have option to create parameter through programmatically and again you can't create parameter once it published as a dataset.

 

Thanks

Hari

Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


My Blog :: YouTube Channel :: My Linkedin


Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.