The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hey @richard-powerbi,
as always it depends. But I would place the calculated column in a small dimension rather than a fact table.
Since you are not providing us any examples its hard to give you a recommondation.
According to Kimball your column could form a junk dimension....
If we don't get an adequate description from you, this will just be a big guessing game.
BR,
Josef
Hey @richard-powerbi ,
are table2 and table3 transaction tables? For me it seems right at the moment that you should combine table 1,2,3 because they are forming a product dimension.
If table2 and 3 are transaction tables I would create a dax "fact table" with the product id and all the other measures/calculated columns that are referecing this product dimension.
BR,
Josef
@JosefPrakljacic wrote:are table2 and table3 transaction tables? For me it seems right at the moment that you should combine table 1,2,3 because they are forming a product dimension.
Yes I would call table2 and table3 transaction tables.
So you're basically saying combine as much transaction tables as possible into 1 transaction table?
I always try to avoid wide tables, I prefer to categorize things in seperate tables to keep a better overview of what's happening. Is this bad practice?
Is it better for performance to have several transaction tables which are note very wide or is it better to have 1 wide transaction table like you're saying?
@JosefPrakljacic wrote:If table2 and 3 are transaction tables I would create a dax "fact table" with the product id and all the other measures/calculated columns that are referecing this product dimension.
I've always had the 'feeling' that a fact table needs to 'exist' (I mean in chronological order of creation) before a dimension table. Is this not true? Can I make a fact table from a dimension table?
Not sure if I understand you correctly, but I do not understand why I should put all the measures/calculated columns in the fact table. Or do you mean this: have 1 fact table with just the ID, another combined dimenstion table with all the dates, then another dimension dax table with the measures/calculated columns?
Hey @richard-powerbi,
I've expressed myself misleadingly. I hoped that table2 and table3 were dimension tables.
Now that all three are fact tables, it makes the whole thing a little more difficult.
There is a rule of thumb that says, each process should have its own fact table.
Are these three different processes that fill these transactional tables 1,2,3?
If so, then you have three fact tables and you put your calculated column into the dimension table needed by all three.
If all three transaction tables serve one overall process, then I would have started to slim down the transaction tables by putting their attributes into dimensions and having only IDs and aggregates.
@Richard you have to understand that this is all a big guessing game, because without a data model I can't make any qualified statement that would help you.
I just feel like I'm looking for the needle in the hay stack.
BR,
Josef