Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
My report contains multiple entries for the same person, with a time stamp of each time it got updated. This is messing up the overall license count, since it's summing up every single row, whereas I only need the latest updated rows. I would need this to apply to my entire report (ie. filters need to reflect this), so I can't just select the 'Latest' aggregate on the visuals.
So for example, if the data contains:
Name | License | Last_Update |
Alex | Enterprise | June 1, 2021 |
Alex | Standard | Sept 1, 2021 |
Bob | Standard | Sept 15, 2021 |
Cam | Enterprise | Sept 15, 2021 |
Alex | Professional | Oct 1, 2021 |
I want only the last 3 rows should show up in my report & visuals.
Is this possible? Thanks.
Solved! Go to Solution.
You could add a calculated column to your table to flag only the newest updates like this.
Is Newest Update =
YourTable[Last_Update] = CALCULATE(MAX(YourTable[Last_Update]),ALLEXCEPT(YourTable,YourTable[Name]))
Then apply a filter to your report for [Is Newest Update] = TRUE
You could add a calculated column to your table to flag only the newest updates like this.
Is Newest Update =
YourTable[Last_Update] = CALCULATE(MAX(YourTable[Last_Update]),ALLEXCEPT(YourTable,YourTable[Name]))
Then apply a filter to your report for [Is Newest Update] = TRUE
Thanks! I couldn't get the Calculate nor the Allexcept functions to work when I'm trying to insert the calculated column as suggested ... but your logic inspired a different formula:
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
79 | |
78 | |
59 | |
36 | |
33 |
User | Count |
---|---|
94 | |
61 | |
56 | |
49 | |
41 |