Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi PBI Expert,
I've been trying on this calculation and it works when minumum amount of materials is filtered but will get into memory issue when i unfilter the material (can be up to 100++). However, user has request to view all materials in one go.
I have this matrix table per below.
the measure that i'm using is below:-
Avglast3mthRev =
Hi, @Anonymous
Try like this:
Avglast3mthRev =
VAR CurrentMonthOrder =
MAX ( Data[Period Number] )
RETURN
CALCULATE (
DIVIDE ( [Rev], 3 ),
FILTER (
ALLSELECTED ( Data ),
Data[Period Number] <= CurrentMonthOrder
&& Data[Period Number] >= CurrentMonthOrder - 2
)
)
If it doesn't solve your problem, Please feel free to ask me.
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Try summarizing the table within Power Query using Group By. (I would suggest creating a reference query or a new one. https://www.youtube.com/watch?v=kytYzjTXUHs Guy In a Cube channel has good guidance for this topic 🙂
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
99 | |
97 | |
85 | |
70 | |
67 |
User | Count |
---|---|
116 | |
109 | |
94 | |
79 | |
72 |