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 everyone,
I've been scratching my head over this the last couple of days.
Whenever I switch the connection every calculated column remains in the table i originally created it in, keeping the name of the table but without any other fields. Both datasets in question have the same table / data structure / data type.
The new connection simply creates a table with a 2 appendix with all the fiels except the calculated column.
Here's an example:
I created a very basic calculated column as an example
Located in this table
When I switch the connection to a different dataset, the structure looks like the following, the new connection created a new table:
I'm quite sure it has something to do with how Power BI handles calculated columns being attached to tables directly so it might not be possible but i didn't loose hope yet :D. I tried changing a couple of this with tabular editor but the only thing I could thing of was to recreate all calculated columns and measures to restore the functionality.
Here are my questions:
Best regards and have a nice day!
Timo
@Wienforth Well, with DAX Editor Pro (Enterprise DNA) you can select your columns, switch the Table and click Save to transfer the calculated column to another table. I really should release a free version of that tool...or maybe add that functionality to Metadata Mechanic.
that would be more than fantastic! 😄 Do you know of any other sort of pain free way to transfer columns?
Best regards and thanks as always for your replies!
Timo
@Wienforth I would think that Tabular Editor could do it if you wrote the C# code. I'll have to dig up my code for moving calculated columns and measures. There may be other third-party tools out there, I'd have to look around and see what's out there. With measures you can just change the Home table, but there's nothing native that I know with for calculated columns.
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 |
---|---|
82 | |
81 | |
52 | |
39 | |
35 |
User | Count |
---|---|
95 | |
79 | |
52 | |
49 | |
47 |