Forum Discussion
Problem with Table total (no measure)
Hey _chris_
it looks like you have created a data model where the table that contains "Projekt" is related to your SQL table.
My assumption is that the missing row from the SQL has no relation to the "Project" table, meaning that the value from the related SQL table is blank or the value is missing in the related project table.
Hopefully, this provides an idea of how to tackle your challenge.
Regards,
Tom
- _chris_2 years agoHelper III
Hi Tom,
thanks for your reply. However, unfortunately, this does not help. I have two tables which are connected through a link key. With relation activated, the error occurs:
Turning off the relation and filtering for this link key gives me all lines of data. You can see that in the detail table the link key is set correctly
Turning on the relation again and enabling "Show elements without data" gives the following:
To me this does not make any sense...
Any other idea?
Thx, Christian
- TomMartens2 years agoSuper User
Hey _chris_ ,
assuming both tables are related by 1-to-many relationship the problem you are facing is an indication that keys from the table of the many-side are missing in the table on the one-side.
From the screenshots the origin of the linkkey column is not clear.
An easy way to spot the existence of missing values is
- create a slicer from the linkkey column from the table on the one-side (make sure the relationship is activated
I'm pretty sure that first element of the slicer is (Null)
Hopefully this helps to tackle your challenge.
Regards,
Tom
- _chris_2 years agoHelper III
Thanks again, I tested everything. I have a proper 1:n relationship, no NULLS and no double values on the 1 side. Now I put the LinkKey field from the master and from the detail table as you can see. The LinkKey matches 100% but still no data is shown.
How likely is a bug in PowerBI? Would you recommend to open a case with Microsoft?
Thx, Christian