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
Good day
I need help, I am trying to create report where it will show me the Stock on Hand per las day of the week. I have two table one with Stock Codes,Description,Stock Link and Also Stock Transaction Table that have Transactions Date, and Stock Link,
The transactions on the The Stock Transaction table include the IN (GRV) and INV (Out) so I created a measure to find the stock on hand by Taking INs (GRVs) Less Outs(INVs)
I add Matrix table then then added the dates on Rows and stock Code and Description on the Column and Stock on hand on Value I am getting negative values in some rows but there is no negative stock balance on the data ,
How can i solve this?
Hi, @Khathu_King
Could you please consider sharing more details about it and posting expected result so it is clear on what needs to be implemented? And It would be great if there is a sample file without any sesentive information here.
It makes it easier to give you a solution.
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
You can have measure like
This Week last day value = CALCULATE(lastnonblankvalues('Date'[Date],sum('Table'[Qty])) , FILTER(ALL('Date'),'Date'[Week Rank]=max('Date'[Week Rank])))
You need rank column for week in date table
Week Rank = RANKX(all('Date'),'Date'[Week Start date],,ASC,Dense)
OR
Week Rank = RANKX(all('Date'),'Date'[Year Week],,ASC,Dense) //YYYYWW format
The measure is giving incorrect results.please use below excel screen short to create Pbix file with the results maybe i missed a step
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 |
---|---|
165 | |
116 | |
63 | |
57 | |
50 |