Forum Discussion

tspoon's avatar
tspoon
Frequent Visitor
1 year ago
Solved

Show the latest (by date) data on Card

Dear all,   I have the following Sales Table: No. Shop Item Date Sold 1 EmeraldZ Cloth 10/27/2024 100 4 EmeraldZ Cloth 11/3/2024 400 9 EmeraldZ Shoe 11/10/2024 300 ...
  • anmolmalviya05's avatar
    1 year ago

    Hi tspoon, I hope you are doing well,

    There is no need to convert sold column to text, you can keep it to number. You have to create a DAX measure to achieve your requirement. Please create the below measure and then drag and drop it into the card visual

    Sales on Latest Date =
    CALCULATE(
    SUM(Sales[Sold]),
    Sales[Date] = MAX(Sales[Date])
    )

    Did I answer your question? Mark my post as a solution! Appreciate your Kudos !!

     

    Let's Connect on LinkedIn: https://www.linkedin.com/in/anmol-malviya/?originalSubdomain=in