The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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