Forum Discussion

PriyankaA905's avatar
PriyankaA905
Frequent Visitor
4 years ago
Solved

Countrows in Report Server -Direct Query Mode

Hi, we encountered with the following error while using the balance bucket formula:

Bal_Bucket =
CALCULATE(DISTINCTCOUNT('MISREP.UTK_T_LIAB_AVG_BAL_NEW'[IACLINK_ACTUAL_ACNUM]),
FILTER( VALUES('MISREP.UTK_T_LIAB_AVG_BAL_NEW'[CURRENT_BALANCE_ASON]),
COUNTROWS(
FILTER(Bucket,
'MISREP.UTK_T_LIAB_AVG_BAL_NEW'[CURRENT_BALANCE_ASON]>= Bucket[MIN]
&& 'MISREP.UTK_T_LIAB_AVG_BAL_NEW'[CURRENT_BALANCE_ASON]<Bucket[MAX]))
> 0))

 

 

Also we discovered that there is no option as "Allow unrestricted measures in DirectQuery mode" in Report Server.

What is the solution for the above problem?

1 Reply