Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi,
I have a measure that gives me the last date of available data that is then used in other measures:
@mboucher_rcr , try like
new measure =
var _max1 = MAX(ItemSales[WkStartDate])
var _max = date(year(_max1)-1, Month(_max1) , Day(_max1))
return
maxx(filter(Allselected(ItemSales), ItemSales[WkStartDate] <=_max) , ItemSales[WkStartDate])
Hi,
Thanks for that. I've just tried it and am getting this error: A single value for column 'WkStartDate' in table 'ItemSales' cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum...
Thanks,
Michael
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
90 | |
87 | |
84 | |
68 | |
49 |
User | Count |
---|---|
131 | |
111 | |
96 | |
71 | |
67 |