Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2878

Re: Dynamic filter on measure based on prompt

$
0
0

Hey Ann,

 

Create the below 2 variables as measures.

  • v_Max Month =If([Month]=Max([Month]) In Report) Then 1 Else 0

 

  • v_Amt for Max Month =[Amount] Where (([v_Max Month]=1) In ([Month]))

 

Voila


You'll see that for all the Months & Distribution Channels, the measure v_Amt for Max Month shows the Amount from Max Month for that Distribution Channel.

 

Let me know if that helps.


Thanks,

Mahboob Mohammed


Viewing all articles
Browse latest Browse all 2878

Trending Articles