I’m currently using Power Automate to pass on dax measures to a dataset and have the evaluated result returned. This works great for passing on scalar values as parameters for the calculation. Given the limitation of only being able to do 120 calculations per minute, I wish to pass on a full table to be evaluated and return the results so it’s just one call.
- so very important to note is that the values being passed on to the dataset will be a table which will be virtual.
So let’s assume this is an existing table in the model:
| Filter X | Filter Y | Filter Z |
|---|---|---|
| A | M | P |
| B | N | Q |
| C | O | S |
| D | A | T |
| E | B | U |
and in my measure being passed on, I’m trying to figure out the occurence of the following combination
var ToBeCheckedDatatable =
DATATABLE(
"Pass on X",STRING,
"Pass on Y",STRING,
"Pass on Z",STRING,
{
{"A","M","P"},
{"B","N","U"},
{"E","B","U"}
}
)
edna - datatable evaluation.pbix (17.5 KB)
So the result should be something like:
| Pass on X | Pass on Y | Pass on Z | Occurrence |
|---|---|---|---|
| A | M | P | 1 |
| B | N | U | 0 |
| E | B | U | 1 |
I was thinking about doing something like:
var result =
ADDCOLUMNS(ToBeCheckedDatatable,
countrows(treatas(summarizecolumns(Filter X,Filter Y, Filter Z),Pass on X,Pass on Y,Pass on Z))
But I cannot reference the Pass on X,Pass on Y,Pass on Z because they are columns of a table created in a variable.
Any assistance would be more than welcome!


