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.
Solved! Go to Solution.
Hi dojobrady,
You can try a direct filter on the Max closed date, e.g.:
CALCULATE(
AVERAGE( tablename[Sale Price] )
,FILTER( tablename, tablename[order closed date] = MAX( tablename[order closed date] )
)
This will then filter your table on the last order closed date in your current filter context, allowing you to select any date or range of dates from this table and the get the average sale price for the last date in that selection, per whatever other field(s) you use to slice this data.
Please refer if this example can help
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks.
Hi dojobrady,
You can try a direct filter on the Max closed date, e.g.:
CALCULATE(
AVERAGE( tablename[Sale Price] )
,FILTER( tablename, tablename[order closed date] = MAX( tablename[order closed date] )
)
This will then filter your table on the last order closed date in your current filter context, allowing you to select any date or range of dates from this table and the get the average sale price for the last date in that selection, per whatever other field(s) you use to slice this data.
Fixed! So, for me to learn:
Calculate can't do true false equations, but if you do calculate, you can add that filter formula to it to make it do the same thing?
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 |
---|---|
110 | |
94 | |
82 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |