Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi Team,
I have one table with a date column. I want changes/update date value by the user. Like, I have one date -1/20/2020 and I want to replace with this value to 1/25/2020. I don't want to go every time to replace my value in the query editor. It wants to display a popup window to replace the value. I need this functionality like a parameter or run time function. Is there any Dax or function?
Solved! Go to Solution.
Hello @Anonymous
in Power BI you cannot place a parameter in the visuals and give this information back to Power Query.
What you could do however to create 2 tables with one column (date)... one for replace and the other for replace with. Put both columns as a filter value in the visual. Create a new date column in your fact? table where you check if one date is selected in the first table. If yes and if in this column the date it's equal to the selected value and if a date is selected in the second table, replace it.
However if you are doing this in Excel, you can create a table with both dates, and then integrate the data in power query. So when a refresh is launched, the data is read from this table and integrated in an output.
If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too
Have fun
Jimmy
Hello @Anonymous
in Power BI you cannot place a parameter in the visuals and give this information back to Power Query.
What you could do however to create 2 tables with one column (date)... one for replace and the other for replace with. Put both columns as a filter value in the visual. Create a new date column in your fact? table where you check if one date is selected in the first table. If yes and if in this column the date it's equal to the selected value and if a date is selected in the second table, replace it.
However if you are doing this in Excel, you can create a table with both dates, and then integrate the data in power query. So when a refresh is launched, the data is read from this table and integrated in an output.
If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too
Have fun
Jimmy
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
13 | |
8 | |
8 | |
7 |
User | Count |
---|---|
17 | |
13 | |
7 | |
6 | |
6 |