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
brs09j
Helper II
Helper II

Is it possible to create a paramter and have it applied without a prompt?

I have unchecked the required box when creating a parameter but don't see a difference between when the box is checked. I don't see the ability to not select or type in an input. I'm thinking I am missing something here. I'm also guessing that no matter what the prompt for the parameter will show though.

 

Thanks.

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

When you manage the parameter, do you have a current value set?


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

5 REPLIES 5
Greg_Deckler
Super User
Super User

When you manage the parameter, do you have a current value set?


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler

 

Thank you. I now see that when the required box is checked you need to set a current value but when it is not checked no current value is needed.

 

No matter what, a prompt will always display though right?

 

Also, if I leave the current parameter value box blank I notice that the data on my table becomes empty. For instance, my query parameter returns 3 years (2016, 2017, 2018). The fact table has a year column that is filtered based off this query parameter. Leaving it blank causes the table to be empty. Thus, if you don't have an input required isn't that going to break your model?

Hmmm, this is not my experience with parameters when working with Folder ingests for example. If the parameter current value is set, then it doesn't prompt me for the folder name, for example. 


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler

 

When I open the Power BI file I'm never prompted for a parameter but if I save as a template and open I'm always prompted for a parameter.

Ah, I must have missed the template portion of your question. Yeah, that would definitely be the case.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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.