Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello, guys!
I think the solution is not difficult, but I still can't find it. Could you help me?
The task - find measure average by filtered date perion in pivot table by each objects (object - rows, month - columns).
For this, i use such formula:
and it works fine, till i have to use month slicer to change full year to 10 month, for example.
The "test" still calculate the whole year average.
How could I avoid it? And get dynamic average, depends on choosing months?
Lind to db: https://gofile.io/d/VLBPTf
How it should be (11 months):
Avg sales between dates |
25 849,87 |
25 849,87 |
25 849,87 |
25 849,87 |
25 849,87 |
25 849,87 |
25 849,87 |
25 849,87 |
25 849,87 |
25 849,87 |
25 849,87 |
Solved! Go to Solution.
@Anonymous
https://drive.google.com/file/d/1STDGBeSwvVf6ZUHqHOSFK4TYXmSmDlim/view?usp=sharing
Please share Kudoes and Please mark this as solution
Proud to be a Super User!
@Anonymous
Calculate(Measure,DATESBETWEEN(Dates[Date],MIN(Dates[Date]),MAX(Dates[Date])))
Please try this! Please share your Kudoes!
Vijay Perepa
Proud to be a Super User!
hi @VijayP
nice to see you
i tried it. This formula gives the each month measure.
However, I need to find average measure on choosing period using slicer.
Ok, I will prepare data.
@Anonymous
Try that measure what you calculate is showing Average by using AVERAGE or AVERAGEX function and then incorporate in my Formula and hope that works! 👍
Proud to be a Super User!
@Anonymous
https://drive.google.com/file/d/1dhaLDcmJaJ4v-0iTTKV77sKtgfcm0V-l/view?usp=sharing
Please find attached file with solution. let me know whether you are looking for this
Proud to be a Super User!
@VijayP https://gofile.io/d/uBbbpZ
no, it doesn`t work (
It should works like "Average sales per FY" but be date filter depended.
For example, if you choose 1-11 months,
it should be 25 849,87 in every cell.
@Anonymous
https://drive.google.com/file/d/17KnLGewTPZYq3pCqj3zFi_FGUfwmJeDe/view?usp=sharing
I think it should work
Proud to be a Super User!
no, sir, it doesn`t (
if works well when u choose all months
but it doesn`t , when u use date filter:
@Anonymous
Its working for me.
Proud to be a Super User!
@Anonymous
Will this Do?
Proud to be a Super User!
@Anonymous
https://drive.google.com/file/d/1STDGBeSwvVf6ZUHqHOSFK4TYXmSmDlim/view?usp=sharing
Please share Kudoes and Please mark this as solution
Proud to be a Super User!
@Anonymous
Please share your Kudoes, Many if possible hahahahah 😂
Proud to be a Super User!
@Anonymous
I thinks this is the approach.
Proud to be a Super User!
i use such formula as measure:
@Anonymous , Try if one of these can work
This year = CALCULATE([Measure],DATESYTD(ENDOFYEAR('Date'[Date]),"12/31"))
This Year = CALCULATE([Measure],filter(ALL('Date'),'Date'[Year]=max('Date'[Year])))
hi @amitchandak
there are no working formulas, unfortunately.
And moreover, it shouldn't be used only for current/last year.
Cause, pivot table is filtered by years also.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
75 | |
54 | |
38 | |
31 |
User | Count |
---|---|
99 | |
56 | |
50 | |
42 | |
40 |