Forum Discussion
Angads
3 years agoAdvocate I
Help with dax!
I want if select all is selected in date slicer it should show total sales for all dates, if no date selected it should show last date sales in date column and id any specific date selected it should...
tamerj1
3 years agoCommunity Champion
Hi Angads
Please try
Values on selection =
SUMX ( TOPN ( 1, Sheet1, Sheet1[Date] ), Sheet1[Value] )Angads
3 years agoAdvocate I
Its giving me sales for selected date only. I am not getting answer for multiple dates select with above formuale also I want total sales when I select "select all" option in slicer. tamerj1