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
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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.