For my reports I obviously need to combine data. But what is the best practise on doing so?
For instance, I have a table
I could for instance create a view which results in a table which contains all data.
So I grab all cars from Cars and join them with Manufactureres on the ID. This means I have the name of the Manufacturer multiple times in the result.
I can also create one table with only the Cars data I need and the Manufacturers ID. I also create a table with the ManufacturersID and Name because that's all I need. This means I always export all Manufacturers to powerBI because I join them within powerBI. So useless Manufacturers without cars are also exported.
Which one is the best way forward? Am I right to say that this depends on the scenario? So if there are 400k card and 12 manufacturers you're repeating their names 400k times while you can also send them out all 12 at once.
You may try to create relationships in power bi.Below are some articles for your reference.If you need further help,you may share some data sample and expected output. You can upload the .pbix file to OneDrive and post the link here. Do mask sensitive data before uploading.We could show you how to create the relationships.