Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi I have used SQL query to bring two cycles (8+4 2024 cycle and 6+6 2024 cycle) of forecast data into power query. Due to the large size of data, I created two parameters in power query called "current_forecast_cycle" and "quarter_commit_cycle" which is supposed to be equivalent to the fixed value "8+4 2024 cycle" and "6+6 2024 cycle", so that I can change the parameter values in the power BI server side each time when new cycle forecast is available.
Since I have zero M code experience, I just copied some prior answers from this community, like below. But it won't return a correct answer.
Can anyone help to suggest how to properly use M code to replace the two fixed cycle value with the two paramters in power query advance editor?
Much appreicated in advance.
Solved! Go to Solution.
Thank you @lbendlin . I finally managed to guess out how this "& and &" works in such situation, and that works perfectly.
move the closing parenthesis before the last double quote
Thank you @lbendlin . I finally managed to guess out how this "& and &" works in such situation, and that works perfectly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
27 | |
26 | |
25 | |
13 | |
10 |
User | Count |
---|---|
24 | |
21 | |
18 | |
16 | |
10 |