Forum Discussion
Netope
Helper I
1 year agoInject date selection from a dropdown slicer into a dax formula
Hi I am trying to create a measure that sums Totals for all contracts with EndDate >= the Year/month selected in a slicer dropdown. See PBI File with additonal explanations. https://drive.goo...
- Anonymous1 year ago
Hi Netope ,
You need to create an unrelated dimension table, for which you can view the following results:
Table = SUMMARIZE('Selected Value',[EndDate]) Total = var _s = SELECTEDVALUE('Table'[EndDate]) RETURN CALCULATE(SUM('Selected Value'[Act]),FILTER('Selected Value',[EndDate]>=_s))An attachment for your reference. Hope it helps!
Best regards,
Community Support Team_ Scott ChangIf this post helps then please consider Accept it as the solution to help the other members find it more quickly.
- 1 year ago
Thanks! it worked just fine
Anonymous
1 year agoNot applicable
Hi Netope ,
You need to create an unrelated dimension table, for which you can view the following results:
Table = SUMMARIZE('Selected Value',[EndDate])
Total = var _s = SELECTEDVALUE('Table'[EndDate])
RETURN CALCULATE(SUM('Selected Value'[Act]),FILTER('Selected Value',[EndDate]>=_s))
An attachment for your reference. Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Netope
Helper I
1 year agoThanks! it worked just fine