Forum Discussion

coryan's avatar
coryan
New Member
4 years ago
Solved

Last date

Hi everyone,   I am trying to get the distribution of sales for the last date on various products. But I only want from the max date, not from the last of each column. For example:   Date        ...
  • v-zhangti's avatar
    4 years ago

    Hi, coryan 

     

    Please try the following methods.

    Measure = IF(SELECTEDVALUE('Table'[Date ])=CALCULATE(MAX('Table'[Date ]),ALL('Table')),1,0)

    Put the measure into the filter of the bar chart and set it equal to 1.

    Is this the result you expect?

     

    Best Regards,

    Community Support Team _Charlotte

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.