I have a table report which is built from 2 tables. These 2 tables have a one-to-many relationship.
When I exported the underlying data from this table to excel, it resulted multiple lines for 1 row. While the visual table shows the correct information from the combined tables.
What I have:
|Location C||Expired in 2018|
Table 1 & Table 2 relationship is set by the Location.
The underlying data exported is a follow
|1||Location A||Expired in 2018|
|2||Location B||Expired in 2018|
|3||Location A||Expired in 2018|
|4||Location C||Expired in 2018|
|5||Location C||Expired in 2018|
|6||Location A||Expired in 2018|
|7||Location D||Expired in 2018|
Is there any thing I missed out that caused this data multiple exported?
Could you please post a screenshot about how you create the table report? I am not able to reproduce your issue.
Please show that how you create visual using the sample data you post, there is an example for your reference.
Here's the screenshot
1. Table #1: engine status
2. Table #2: contract
3. Relationship between engine status & contract (many-to-one)
Would you mind sharing the data of tables in your PBIX file? I make a test using the sample data you post but can't reproduce your issue. Are you able to get same issue when using the sample data? And do you use the "Export data" option in Power BI Desktop or Power BI Service?
I'm sorry, I cannot provide the data due to my company's policy.
I tried to create dummy data to reproduce the error using it. But, I cannot reproduce the error as well.
I cannot find the pattern that might caused the error either.
In the actual data, the location that is available in Table #1 may not be available all in Table #2, and vice versa.
But, this condition works fine using dummy data.
Is there anything that might caused the data duplicated, that I need to look further?
This is a must watch for a message from Power BI!
Click here to read more about the December 2020 Updates!
Click here to read the latest blog and learn more about contributing to the Power BI blog!
Mark your calendars and join us for our next Power BI Dev Camp!.