Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello.
I am looking to add a custom column in my query editor which will effectively replace the purpose of another column.
For example, Column A is used in many visuals and filters. I am creating Column B in the Query based on custom logic.
I now want every instance in which Column A is used in tables/filters/slicers etc. to now use Column B in its place.
Is there an easy way to do this?
Solved! Go to Solution.
Hi @Anonymous
I tried HotChilli 's workaround, I renamed columnA as columnB, but the table visual will rename column name as well instead of showing broken.
You may try to add columnB and then remove columnA. Then all visuals which using columnA will show broken and you can replace columnA with B without looking for them.
You can try conditional column to add column B by logic like column A.
Or you can build a Logic table and merge Main Table with logic table to get columnB.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file from your Onedrive for Business.
Best Regards,
Rico Zhou
If it's in the same table, rename the old column and create the new column as Column A.
Nothing will take effect until 'Close and Apply' - check what's broken in any visual
That's contrary to my expectation. What exactly would happen? Would all visuals break?
Hi @Anonymous
I tried HotChilli 's workaround, I renamed columnA as columnB, but the table visual will rename column name as well instead of showing broken.
You may try to add columnB and then remove columnA. Then all visuals which using columnA will show broken and you can replace columnA with B without looking for them.
You can try conditional column to add column B by logic like column A.
Or you can build a Logic table and merge Main Table with logic table to get columnB.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
117 | |
104 | |
77 | |
73 | |
50 |
User | Count |
---|---|
145 | |
109 | |
108 | |
90 | |
64 |