March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello all,
I have the booking and release date for inmates in a Jail. I would like to have the count of inmates in jail per month. I have tried the following DAX code:
Hello there,
It sounds like you're working on a data analysis project involving inmate counts from booking and release dates, and you're encountering some discrepancies in your results. It's possible that the issue lies in the relationship between your 'Date' table and the 'vwBookingSearch' table, especially considering multiple years of data. The Max('Date'[Date]) function might indeed be affecting the output, so exploring alternative approaches or refining your DAX code could be beneficial. Additionally, ensuring a proper relationship between your tables could help resolve the discrepancy. Having accurate data is crucial, just like having a reliable mugshot to identify individuals accurately.
@apaulso9 , seems similar to HR problem. Refer to the blog or file attached
Thank you. The HR problem is similar but also gives very low answers. I know from the data source that the inmates get booked into that the inmate count is nearly 70 every month. Here Is what I get with both of these attempts:
This is identical for what I tried the first time and the second. My data looks the same as the HR example.
I can tell it has something to do with the date relationship because if I break it down by year this is what I get a smaller number then all the months combined for 2022.
I fixed this by duplicating the table and deleting all other relationships from it.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
129 | |
90 | |
75 | |
58 | |
53 |
User | Count |
---|---|
200 | |
104 | |
101 | |
67 | |
55 |