Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
reubwork
Resolver I
Resolver I

Converting a calculated table into an import mode table

For slicers, I often use a pattern whereby I create a calculated table that does a distinct across the slicer columns from some import table. 

 

```

 

Slicer Table = 
DISTINCT(
  SUMMARIZE(
     FactTable,
     FactTable[SomeColumn]
  )
)

 

 

However In one of my larger datasets is taking a bit too long to refresh, so I'm looking to simply the model by replacing the above with an import query from the datasource. 

I can do this the manual way, - delete the old table, create the new, recreate relationships, update any measures and then fix any visuals.... but was wondering whether anyone knows of a technique that doesn't then require fixing all the visuals. If I could switch the import partition to an M query... everything downstream would remain the same as it has the same column names, lineage... 

I've tried updating the partition in the tmdl definition, but power bi complains that you can't convert a calculated table to an import table. 

 

 

1 ACCEPTED SOLUTION
Idrissshatila
Super User
Super User

Hello @reubwork ,

 

I tried creating the dim table i POwer query but it didn't work to replace the calculated table, so you need to delete it and then re-create the relationships again.

 

sorry bro I tried!



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

3 REPLIES 3
reubwork
Resolver I
Resolver I

nb: the difficult bit isn't creating the table and remapping the relationships. It's that it breaks any visuals using the original table columns. Ideally there'd be a way to swap in a new version of the table object, with the same columns, and types... and have the downstream report visuals not notice anything had changed. Logically, I think this makes sense but the implementation seems to not allow. 

Idrissshatila
Super User
Super User

Hello @reubwork ,

 

I tried creating the dim table i POwer query but it didn't work to replace the calculated table, so you need to delete it and then re-create the relationships again.

 

sorry bro I tried!



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Yeah, looks like it. I'm wondering why though, under the hood. 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.