Forum Discussion
Data inconsistency when using Mixed Mode
Adding to my previous reply.
The cause of the changed behavior seems to be due to a weak relationship between your fact and dimension tables. A relationship between an import and a DIrectQuery table. This won’t allow the join logic to be pushed to the source - and therefore you don't get any unmatched results. By changing storage mode for the dimension table to dual you should get the same behavior as you experienced previously.
You can read more on storage modes here: https://docs.microsoft.com/en-us/power-bi/desktop-storage-mode
| Relationships | Import | Dual | DirectQuery |
| Import | Strong | Strong | |
| Dual | Strong | ||
| DirectQuery | Strong | Strong |
- Anonymous7 years agoNot applicable
Hi Toerstad ,
Thanks for the reply. The dimension and fact tables are by nature designed that way i.e. there would be many instances of dimension keys not being in the fact table as the month on month's data gets ingested. I would need to seek out with the business to see to have a all the entries entered into the dimension tables as and when new ones appear.
The other method of relatedtable or lookup dax formulae would definitely degrade performance.
Coming to the storage mode, I am not able to select properties for individual tables. All I get is PowerBI showing 'Storage Mode:Mixed(Click to Change)' at the bottom. When I do that, it asks if all tables storage mode to be changed to 'Import Mode'.
- Toerstad6 years agoAdvocate I
Hi.
Add your dimension table in DirectQuery storage mode.
Then you can change it to Dual storage mode as shown below.
I'm not sure, but since this is a fairly new feature you might have to update your Power BI Desktop.