Forum Discussion
Missing Data Rows
- Anonymous5 years ago
Hi all,
Thank you so much for your help, and showing me the matrix and that date slider 🙂
I figured out what my issue was. It was in the SQL.
SELECT ID, Status, Group, MIN(Date)
FROM Table
WHERE Date
BETWEEN '2020-10-30' AND '2020-11-05'
AND Group= 'A'
AND Status = 'Staus1'
Group By Group,Status, ID
ORDER BY MIN(Date) DESC
It's because I used the between clause to compare the data. Obviously, If I ignore everything before that date the minimum date changes. So that number will be higher than the numbers in the report.
Anonymous ,
Check the attached file.
- Anonymous5 years agoNot applicable
That's a much smarter solution than what I had, thank you. (you can tell I'm rather new to PowerBI)
Sadly I have a couple of calculated fields hidden away as columns in my version of the report, I'm not sure I would be able to add them on using the matrix.
But as clunky as my version is it, it does work with the table.
My main issue is that I can't figure out why I have a data mismatch between the database and PowerBI. The data I'm using in SQL is correct but power BI appears to be missing some of my records.