RodrigoFinguer
Board Regular
- Joined
- Jun 13, 2017
- Messages
- 75
Hello there,
I have a table below, and I have calculated a measure using power pivot to return the status of the tag number of the last date.
But my current dax formula returns the value for every row, but I need to return if the tag number in the last date is deleted or not.
My formula:
Any solution? I couldn't find anything!
Thanks!!
I have a table below, and I have calculated a measure using power pivot to return the status of the tag number of the last date.
But my current dax formula returns the value for every row, but I need to return if the tag number in the last date is deleted or not.
| TAG STATUS | DATE | DAX CALCULATE (WHAT I HAVE) | DAX CALCULATE (WHAT I NEED) | ||||
|
|
| RELEASED |
| ||||
|
|
| RELEASED |
| ||||
|
|
| DELETED |
|
My formula:
Power Query:
=CALCULATE(MAX([Tag Status]);FILTER(Tag_Base;[Tag Number]=[Tag Number]&&[Date]=MAX([Date])))
Any solution? I couldn't find anything!
Thanks!!