Forum Discussion

rmcgrath's avatar
rmcgrath
Icon for Advocate III rankAdvocate III
2 years ago
Solved

How to make a parameter be today's date

I have created two parameters: StartDateParam = 1/1/2022 EndDateParam = 3/5/2024   I have the following M code to pull in a stored procedure into Power BI:   let      StartDate = Text.From ( S...
  • Daniel29195's avatar
    Daniel29195
    2 years ago

    rmcgrath 

    i dont get, why you want to put it in the current value . 

     

    i meant go to advanced edior 

     

    and change the m code for the following line . 

     

     

    let me know if this helps /

     

     

    If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution
    It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🤠:

  • rmcgrath's avatar
    rmcgrath
    2 years ago

    Got it...thank you!!  I appreciate the help!