Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Solved! Go to Solution.
Hi @EllenG ,
Just as amitchandak mentioned,Wrongly place parenthesis.
the following data,base data:
If you want to determine if there is an Amount greater than 0 for that day and output the date if there is, then use the following measure,just what amitchandak provided:
LastOrdered = CALCULATE(max(Sales[Delivery Date]),filter(Sales, Sales[Amount]>0))
If you want to get the largest date of all dates with amount > 0, then use the following measure:
LastOrdered = CALCULATE(max(Sales[Delivery Date]),filter(ALL(Sales), Sales[Amount]>0))
Wish it is helpful for you!
Best Regards
Lucien
Hi @EllenG ,
Just as amitchandak mentioned,Wrongly place parenthesis.
the following data,base data:
If you want to determine if there is an Amount greater than 0 for that day and output the date if there is, then use the following measure,just what amitchandak provided:
LastOrdered = CALCULATE(max(Sales[Delivery Date]),filter(Sales, Sales[Amount]>0))
If you want to get the largest date of all dates with amount > 0, then use the following measure:
LastOrdered = CALCULATE(max(Sales[Delivery Date]),filter(ALL(Sales), Sales[Amount]>0))
Wish it is helpful for you!
Best Regards
Lucien
@EllenG , Try like
LastOrdered = CALCULATE(max(Sales[Delivery Date]),filter(Sales, Sales[Amount]>0))
Wrongly place parenthesis
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
96 | |
79 | |
66 | |
62 |
User | Count |
---|---|
145 | |
113 | |
105 | |
85 | |
65 |