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

DAX with dimension data (min or max)

$
0
0

Hi.

 

I have the following formula and its working.

 

CALCULATE([Total_Quantity];Fact_Forecast_Received[Type]=1;Fact_Forecast_Received[Current date]="2016-02-01")

 

Will now use selection box to select two dates = Current date and then use the min and max function to create two

columns. One with the max value selected and one with min value selected.

 

I have tried to use min and max like below with now success.

 

CR_min = min(Fact_Forecast_Received[Current date])

 

CALCULATE([Total_Quantity];Fact_Forecast_Received[Type]=1;Fact_Forecast_Received[Current date]=[CR_min])

 

 

 


Viewing all articles
Browse latest Browse all 213819

Trending Articles