Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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
User | Count |
---|---|
98 | |
76 | |
76 | |
48 | |
26 |