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
Anonymous
Not applicable

Default value parameter

Hello everyone, I am creating a text parameter but not a list and I would like to put a default value when the report is opened. I saw that with the parameter list I can set the default value while with the single parameter no. Is it possible through the M language to enter a default value? Thank you

3 REPLIES 3
Greg_Deckler
Super User
Super User

@Anonymous Maybe use a query parameter?


@ 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...
Anonymous
Not applicable

I can't use the query parameter because I use direct query

Hi @Anonymous ,

 

In direct query,you can also use query parameter,check the blog below:

https://blog.gbrueckl.at/2019/03/using-power-bi-desktop-direct-query-with-parameters/#:~:text=So%20the%20%E2%80%9Cfeature%E2%80%9D%20is%2C,parameterize%20your%20Direct%20Query%20queries.

 

Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!

 

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.