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 there,
I have a table of data consisting of Stock Quantity for various Materials over a period of time.
I am trying to create a visual for the Running Totals for each of these Materials throughout the years.
So far this is what I have :
I would like for the table to show the last non-blank value displayed wherever it shows blanks.
For example, for Material 19814, on 30 April 2023 it shows 35. However, for the subsequent dates it shows blanks until 31 July 2023. Can someone help me figure out a way to show the last non-blank value, 35, for those blanks?
The formula that I've used in the measure for Running Totals is as follows:
@Greg_Deckler
Thanks for the reply, sorry for not explaining myself properly.
What I'm trying to show is the stock movement by material per month. So I expect the quantity of the stock to be the same for each period until there is movement either in or out.
For example, my report shows stock 35 for material 19814 in April. I would expect to see a stock of 35 for May and June until the stock moves out in July where it shows 0 in my report.
Is there a way to show this in my table?
@k_r Given that this is a single table and not a separate date table, you will likely have better luck not using CALCULATE for this. Also, I don't see how what you currently have is a running total as the numbers are not consistently increasing.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
User | Count |
---|---|
93 | |
92 | |
91 | |
79 | |
49 |
User | Count |
---|---|
160 | |
144 | |
103 | |
72 | |
55 |