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 All -
I am trying to filter a table base on the following condition (Status=New, SME group is not populated (blank)) but it came back with error " A single value for column [] in table [] can not be determined. This can happen when a measure formula rfers to column that contain many values without specifying aggreation..." I am new with this and any help are greatly appreciated. Thank you in advance!
Solved! Go to Solution.
Hi, @HugoTran
filtercondition =
If( min(tablename[status])="new" || min(tablename[sme group assigned])<>blank(),"filter","not filter")
hi, @HugoTran
when you use measure you need aggegation functions like sum(), min(), max(),....
try like below
filtercondition =
min(tablename[status])="new" || min(tablename[sme group assigned])<>blank(),"filter","not filter")
Thanks for the help. When I update the agg function to MIN, I got error "Too many arguemtns were passed to the FIRSTNONBLANK funciton. The maximum argument count for the function is 2."
Hi, @HugoTran
filtercondition =
If( min(tablename[status])="new" || min(tablename[sme group assigned])<>blank(),"filter","not filter")
@Dangar332 I'm pretty sure you saw that I was already helping here, and stepped on my work none the less.
@Anonymous Definitely appreciated for your help. Thank you!
Got it. Thanks a bunch.
correction - MIN function*
@HugoTran You'll need to use an aggregation function in those cases (like MAX), or you can try using the FIRSTNONBLANK function with your example.
Thank you for the quick reply. when I added the MAX aggr function, I get the following error.
Tried FIRSTNONBLANK and get another error "Too many arguemtns were passed to the FIRSTNONBLANK funciton. The maximum argument count for the function is 2."
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 |