We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
I have a questiion as to how this works , for example;
= Expression.Evaluate( "a",
[ a = List.Sum, b = List.Average ] )
( {2,3,2,2} )this will work fine, and jsut change to "a" or "b", to change result but neither of these work ?
= Expression.Evaluate( "a",
[ a = List.AnyTrue , b = List.AllTrue ] )
( {2,3,4,true, 2,2} )
or
= Function.Invoke(
List.AllTrue ,
{ {2,2,2,2,2}} ) so why does it not work and how can I get it to do so, i wanted to just be able to change a parameter to a or b and change
the result .
Richard.
Solved! Go to Solution.
to answer my own question, List.Any / All true expects a list of true / false values, not a list
with a true or false in it. this is why I had an error.
to answer my own question, List.Any / All true expects a list of true / false values, not a list
with a true or false in it. this is why I had an error.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 10 | |
| 8 | |
| 7 | |
| 7 | |
| 5 |