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.
I have created data and Ticket number in my column as below
Created Date | Ticket Number |
March 19, 2022 | INC1627413 |
March 18, 2022 | INC1627413 |
March 17, 2022 | INC1627413 |
March 16, 2022 | INC1627413 |
March 15, 2022 | INC1637653 |
March 15, 2022 | INC1637653 |
March 14, 2022 | INC1637653 |
March 14, 2022 | INC1637653 |
March 13, 2022 | INC1637659 |
March 13, 2022 | INC1637659 |
i have to create nem column which has the maximum data for each ticket in all the rows examle as below
March 19, 2022 is the max date for INC1627413
March 15, 2022 is the max date for INC1637653
Created Date | Ticket Number | Max Date |
March 19, 2022 | INC1627413 | March 19, 2022 |
March 18, 2022 | INC1627413 | March 19, 2022 |
March 17, 2022 | INC1627413 | March 19, 2022 |
March 16, 2022 | INC1627413 | March 19, 2022 |
March 15, 2022 | INC1637653 | March 15, 2022 |
March 15, 2022 | INC1637653 | March 15, 2022 |
March 14, 2022 | INC1637653 | March 15, 2022 |
March 14, 2022 | INC1637653 | March 15, 2022 |
March 13, 2022 | INC1637659 | March 13, 2022 |
March 13, 2022 | INC1637659 | March 13, 2022 |
Solved! Go to Solution.
Hi @Anonymous ,
Please refer to my pbix file to see if it helps you.
Create a column.
max_ = CALCULATE(MAX('Table'[ Created Date]),FILTER('Table','Table'[Ticket Number]=EARLIER('Table'[Ticket Number])))
If I have misunderstood your meaning, please provide your pbix file without privacy information and desired output.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Please refer to my pbix file to see if it helps you.
Create a column.
max_ = CALCULATE(MAX('Table'[ Created Date]),FILTER('Table','Table'[Ticket Number]=EARLIER('Table'[Ticket Number])))
If I have misunderstood your meaning, please provide your pbix file without privacy information and desired output.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous Try this:
Max_date = DATEVALUE(MAX('Table'[DATE]))
Did I answer your question? If so, please mark my post as a solution!
Proud to be a Super User!
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 |
---|---|
98 | |
96 | |
75 | |
71 | |
64 |
User | Count |
---|---|
140 | |
109 | |
103 | |
82 | |
73 |