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
Hi all,
Another begginer question. I am working with products entering and leaving a facility, and I am trying to get the count of stock at any particular date.
I have a stock dimension with product ID, category, date of entry and the date of leaving, as such:
And I want to know the total count of each category at any given time. This is what the desired outcome would be (I've entered this manually):
I have already created a calendar table, so I only need to add the two columns with counts for A and B.
Hope it makes sense, and as always.
many thanks!
Solved! Go to Solution.
I've found the solution, I leave the code I used for future reference:
@Anonymous ,
You may refer to the following posts.
Thanks for your reply. Unfortunately that doesn't seem to work for me.
I am no expert in DAX, so maybe I am inputing the code incorrectly, however, even that measure would not provide me with the solution I need, which is a different count for each category, not just a total count.
Would really appreciate some help 🙂
Any new ideas?
I've found the solution, I leave the code I used for future reference:
Any ideas?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
114 | |
76 | |
57 | |
52 | |
44 |
User | Count |
---|---|
168 | |
116 | |
63 | |
57 | |
50 |