Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
Issue with Power Query on Power BI Desktop (February 2022) showing a few duplicates in Profil View when importing a large Table from a PostgreSQL database. Those duplicates do not exist but are being deleted when asked to.
- Imported a Table called "s_tache" from a PostgreSQL database :
- Distribution indicates duplicates in the Primary Key ("tae_id") field. Unique values does not match Number of values :
- Checking the source database with a SQL query. "tae_id" is indeed the primary key and does not countain duplicates (Yes, my name is Captain Obvious. How could you tell?)
- Deleting rows works. No more duplicates in the Primary Key field :
- Keep Rows > Keep duplicates DOES NOT return any row (???):
- After filtering [tae_id] = 4457 only a single row comes up.
- In report view the table does not seem to have duplicates. :
The data here was manipulated with the following steps (probably irrelevant but just incase):
However I'm not sure if this is only a "visual" bug and if the importation is done properly. My DAX measures do not match the expected results given by SQL (those queries are relatively complex and mistakes could be on me of course).
Regards,
Bastien
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Glad to hear that it could be fixed by NativeQuery and thanks for your sharing which would help others who may have the same issue in the community.
Best Regards,
Community Support Team _ Yingjie Li