Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi,
in my powerbi report I have this measure called "# Open Orders EOP" where I measure how many open orders we have per week. Now I also want to add the average age per open order. The result should look like column E from the screenshot below.
Column A, B, C and D is what I have in my powerbi report, but I want to add column E (the individual values are maybe not correct).
measure1
Solved! Go to Solution.
Hi @JC2022 ,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Hi @JC2022 ,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
I think I should create a measure, something like this:
But then the result is this (example of 1 order):
the total of 25 is correct because this one closed in the week of 202501 and the 2 for 202449 is also correct. But why do I have missing values for 202450 (should have value 9), 202451 (should have value 16) and 202552 (should have value 23)? It shows only for the "first week open" of the order.
Hi @JC2022 ,
When an order spans multiple Year Week values, simply averaging or changing summarization to Average won’t work, because DaysOpen is only calculated for the first week and remains blank afterward.
To get the correct average age per open order per week, you need a measure that
This ensures the calculation reflects the true open order duration instead of missing values skewing the result.
I Hope this helps. If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, I would be grateful for a 'Kudos' if you found my response helpful.
Right click on the column on values well of the matrix and swap summarization from sum to average or create a measure
Average( table[age per open order])
no, I have tried this already. It will have missing values, possibly because some orders are present in multiple Year_Week. The average should only be caluclated for the "# Open Orders EOP" = 1 per week.
User | Count |
---|---|
12 | |
12 | |
8 | |
8 | |
6 |
User | Count |
---|---|
27 | |
19 | |
14 | |
11 | |
7 |