The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi @Zubair_Muhammad @Anonymous ,
What is the use of assume referential integrity in power BI?
Thaks,
-Arul
Solved! Go to Solution.
It improves performance if you use it. If you use it and you don’t have referential Integrity, then you may get incorrect results. If your db has referential integrity, then use it to get better performance. If you don’t know if you do or not, or if you don’t, then don’t use it to ensure you get the correct answer in preference to a faster incorrect answer.
It is used with direct query mode to improve performance. From memory. It switches from left outer joins to inner joins for the converted SQL code.
Hi @MattAllington ,
Can u pls explain me what is the advantage and disadvantage of using assuming referential integrity ?
Thanks,
-Arul
It improves performance if you use it. If you use it and you don’t have referential Integrity, then you may get incorrect results. If your db has referential integrity, then use it to get better performance. If you don’t know if you do or not, or if you don’t, then don’t use it to ensure you get the correct answer in preference to a faster incorrect answer.
Thank you.
User | Count |
---|---|
79 | |
74 | |
42 | |
30 | |
28 |
User | Count |
---|---|
108 | |
96 | |
53 | |
48 | |
47 |