Forum Discussion
Table Relationship Excluding Values
I have a table (EXAM) with (for example) 100 unique Identifiers and some columns of data (1s and 0s for an EXAM). In a second table I have a subset of those IDs, but the table may have multiple rows for each ID with the rows varying by the column condition.
There is a proper 1-Many relationship from the EXAM to the CONDITIONS based on the identifier.
If I drop fields from both tables into a table visual, I get the expected number of rows (more than 100).
But, what I am not getting - at least not in all cases - the table visual is not showing the proper value for EXAM. It is showing an empty/null column and not a 1 or a 0. Especially bad when I am trying to track the EXAM = 1 and it is not there. For some rows, a value is displayed.
Can anyone explain this phenomenon and help me fix it?
6 Replies
- lbendlinSuper User
Read about AutoExist AutoExist and Normalization - SQLBI
Please provide sample data that covers your issue or question completely.
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
Please show the expected outcome based on the sample data you provided.
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523- comish4lif2Advocate II
I appreciate your response. I don't think it is an issue of auto exist.
If you look at the datatable on it's own, I get 318 rows that have that specific value.
If I join that first datatable with a second datatable, and create a table visual, I only get 250 values. BUt I do get the row based on the member ID as a key.
For security reasons, I am unable to provide my PBIX file.- lbendlinSuper User
Please provide sanitized sample data that fully covers your issue. This does not have to be your actual data.
Please show the expected outcome based on the sample data you provided.
- PawelWronaResolver II
If I understand you correctly, you simply miss rows in final table, which are not included in CONDITIONS table. If so, assuming that your EXPORT table has IDs coming from Master table, in the fields section for your table visual, expand the options for IDs and select to "Show rows with no data".