Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 217157

Using a slicer in only a half part of a measure

$
0
0

prazomediorecebimento(dias) = divide(
calculate(
SUM(cnt_DocumentoItens[valor_faturado_civa]);cnt_Documentos[Anulado]=FALSE())
-CALCULATE(sum(cnt_DocumentoRefItens[Bruto(civa)]);cnt_DocumentoTipo[codigo]="NC";cnt_Documentos[Anulado]=FALSE())
-(CALCULATE(SUM(cnt_DocumentoItens[valor_faturado_civa]);cnt_Documentos[Tipo]="VD")
+calculate(sum(cnt_DocumentoRecItens[bruto]);cnt_Documentos[Anulado]=false()));
CALCULATE(calculate(SUM(cnt_DocumentoItens[valor_faturado_civa]);cnt_Documentos[Anulado]=FALSE())
-CALCULATE(sum(cnt_DocumentoRefItens[Bruto(civa)]);cnt_DocumentoTipo[codigo]="NC";cnt_Documentos[Anulado]=FALSE());filter(cnt_Documentos;SAMEPERIODLASTYEAR(cnt_Documentos[Data]))))*365

 

 

imagem.png

Hello,

 

I have this a measure that is a division between two parcels, and I have a date slicer.

 

I want the first part of the division to only aplly the slicer as a MAX but sum all the values before.

And the second part I want to use the slicer has MIN and MAX (the normal way).

 

Thank you,

 

Inês Costa

 

 


Viewing all articles
Browse latest Browse all 217157

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>