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.
Hi,
Need help on a logic to only show the "latest update" for example:
Below on the left is the raw data, I want a filter that would then give me a result like the one showed on the right
EDIT: I need a DAX filter because the raw data I mentioned is already a result of two related tables.
Raw Data | Desired Output | |||
Start | End | Start | End | |
1/1/2017 | 1/31/2017 | 1/1/2017 | 2/18/2017 | |
1/1/2017 | 2/5/2017 | 3/12/2017 | 5/1/2017 | |
1/1/2017 | 2/18/2017 | 5/9/2017 | 7/3/2017 | |
3/12/2017 | 3/25/2017 | |||
3/12/2017 | 5/1/2017 | |||
5/9/2017 | 5/10/2017 | |||
5/9/2017 | 5/30/2017 | |||
5/9/2017 | 6/11/2017 | |||
5/9/2017 | 7/3/2017 |
Solved! Go to Solution.
You can't directly use a filter to achieve this output.
You can either create a measure to get last date:
LastUpdateDate=MAX(Table[End])
Or you can create a calculated table.
Table = SUMMARIZE(Table,Table[Start],"latest update",MAX(Table[End]))
You can also achieve it via Power Query approach:
Regards,
You can't directly use a filter to achieve this output.
You can either create a measure to get last date:
LastUpdateDate=MAX(Table[End])
Or you can create a calculated table.
Table = SUMMARIZE(Table,Table[Start],"latest update",MAX(Table[End]))
You can also achieve it via Power Query approach:
Regards,
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 |
---|---|
110 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |