Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
i need to create a measure which will calculate average of column- "visits" from table 'A' only for the latest month from column - "fiscal month" which is also part of table "A" using averagefx or any other function
Solved! Go to Solution.
Hi @Jane689
you may try
Measure =
VAR MaxMonth = MAX ( tableA[fiscal month] )
RETURN
AVERAGEX (
FILTER ( tableA, tableA[fiscal month] =MaxMonth ),
tableA[visits]
)
Hi @Jane689
you may try
Measure =
VAR MaxMonth = MAX ( tableA[fiscal month] )
RETURN
AVERAGEX (
FILTER ( tableA, tableA[fiscal month] =MaxMonth ),
tableA[visits]
)
Hi @Jane689
Can you please provide sample data as well as expected outcome as an example?
Best regards
Michael
-----------------------------------------------------
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Appreciate your thumbs up!
@ me in replies or I'll lose your thread.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 16 | |
| 8 | |
| 7 | |
| 7 |