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,
I have a pretty basic question, but I can't seem to find the answer. I have created a conditional column in one of my tables. How can I modify these conditions afterwards if I want to make some changes?
Kind regards,
Matt
Solved! Go to Solution.
If you want to add the condition column in Query Editor, you can add custom column with Power Query syntax.
if [Column1] = "a" then 0 else 1
Click on your column and you should see the formula in the bar just above the table. Or are you doing this in the Query Editor?
Hi,
Thank you for your help, but I am indeed doing this in de query editor where I put 10 conditional lines (if X then Y), how can I change these lines from the editor?
Kind regards,
Matt
Hi Matthias93,
Maybe a little bit too late, but I don't think the reply (that is marked as solution) answered your question. You want to modify your Custom Column in the Query Editor.
To do this, go to your Applied Steps in the Query Settings (on the right side). Then click on the settings icon and then you can change your query. More information here.
Kind regards,
Ricardo
That's right Ricardo, thanks.
If you want to add the condition column in Query Editor, you can add custom column with Power Query syntax.
if [Column1] = "a" then 0 else 1
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 |
---|---|
61 | |
52 | |
50 | |
36 | |
33 |
User | Count |
---|---|
84 | |
71 | |
55 | |
45 | |
43 |