Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 |
---|---|
76 | |
75 | |
46 | |
31 | |
28 |
User | Count |
---|---|
99 | |
91 | |
51 | |
49 | |
46 |