Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
I have a table full of test instances. Each test is performed against multiple models by multiple individuals, sometimes multiple times within the same day.
I want to retrieve the results for each unique User/Model/Test within a calendar week only for the very last occurence within that week
On my table I have a numeric datekey, which includes the time. I have also including grouping columns for Year+Week (based on the date time stamp) and an item key combo of User/Model/Test
I am getting a "expression refers to multiple columns...cannot be converted to a scalar value" error with the following formula:
Column = GROUPBY(table,table[Uniquename],table[WeekGroup],"MaxDate",MAXX(CURRENTGROUP(),table[datekey]))
Not sure if I need an additional table of unique values or if I'm missing something else
User | Count |
---|---|
139 | |
113 | |
103 | |
73 | |
63 |
User | Count |
---|---|
136 | |
125 | |
107 | |
70 | |
61 |