Forum Discussion
Related Table grouping sum
I assume you are using a DirectQuery mode and that is why you cannot use the CALCULATE function in a calculated column.
Anyway, the default measure does not return the expected results because of the propagation of filter: TCOM_PEDSAI filters TCOM_ITEDPS, which filters TCOM_PROSER.
You will have to write the relevant measure. The measure should look something like this:
= CALCULATE( YourExpression
, SUMMARIZE( TCOM_PROSER
, TCOM_PEDSAI[PEDS_COD]
)
)- vitinho9 years agoHelper I
Hi, thanks for the help. But Summarize function don't appear for me either. any ohter idea what this could be?
- Anonymous9 years agoNot applicable
This has been brought up in at least two threads now. Are you using import, or direct query? Some functions are limited in direct query mode.
- vitinho9 years agoHelper I
Direct Query
- LaurentCouartou9 years agoSolution Supplier
I forgot to mention I activated the following options:
File > Options and Settings > Options > DirectQuery > Allo unrestricted measures in DirectQuery mode
- Anonymous9 years agoNot applicable
LaurentCouartouI believe that only makes those restricted functions available for measures, and vitinho is trying to use them in columns. I don't think that option will help here.