Quantcast
Channel: All Power Query posts
Viewing all articles
Browse latest Browse all 122259

Re: link the time slicer to a measure (calculation)

$
0
0

Hi ,

 

You can try to use below measure if it works on your side:


FundReturnTmp =
CALCULATE ( 
      IF ( MAX([Date].[Year])=MINX(ALLSELECTED(Global_AssetType);[Date].[Year]);100 ; PRODUCT ( Global_AssetType[FundReturn] ) * 100 ) ;
      FILTER ( ALL ( Global_AssetType );  Global_AssetType[Date] <= MAX ( Global_AssetType[Date] ) ) ;
      VALUES ( Global_AssetType[OrderKey] )
)

Regards,

Xiaoxin Sheng


Viewing all articles
Browse latest Browse all 122259

Trending Articles



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