Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Keeping up with (static) Dimension Table when FactTable updates | How do you do it? Best practices?

Hey all,   I know the wording of the title is a bit off, and I'll explain why. I have a colleage that created a live report on Power BI Service, which pulls data from one of our system which provid...
  • AlexisOlson's avatar
    AlexisOlson
    4 years ago

    Direct Query makes things more complicated but it should still be possible to create a dimension table either as a DAX calculated table--something like SUMMARIZE ( Fact, Fact[Customer] )--or by creating a similar new query in the query editor that links to the same source as the direct query. In the first case, you could do some kind of union or join with your spreadsheet table to get the DimCustomer table to use for the model. Same for the latter; you'd append or merge the two sources together to get a full dimension table.

    With any method, you'll need to do a model refresh to update static data additions since you can't DirectQuery a spreadsheet (last I heard anyway).