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.
Hi,
I have a table that shows data uploads per table (name) per day. Usually there is only one upload per table per day but in some cases table needs to be updated multiple times in one day. I would like to monitor the rowcount per table per day but these exceptions make it really hard. So, is there a way to filter the latest value per day per group (name)? You can find the pbix here.
Thank you in advance!
Julia
Solved! Go to Solution.
Hi @Anonymous
Create a new calculated table:
Table 2 =
FILTER (
'Table',
VAR day_ =
DATEVALUE ( 'Table'[date] )
VAR latest_ =
CALCULATE (
MAX ( 'Table'[date] ),
DATEVALUE ( 'Table'[date] ) = day_,
ALLEXCEPT ( 'Table', 'Table'[name] )
)
RETURN
latest_ = 'Table'[date]
)
This could also be done in Power Query
|
Please accept the solution when done and consider giving a thumbs up if posts are helpful. Contact me privately for support with any larger-scale BI needs, tutoring, etc. |
@Anonymous
You need to update the measure correctly. From the results it looks like you are using 'Table' instead of 'Table 2'.
Try:
Last day2 =
CALCULATE (
SUM ( 'Table 2'[value] ),
FILTER ( ( 'Table 2' ), 'Table 2'[date] = MAX ( 'Table 2'[date] ) )
)
|
Please accept the solution when done and consider giving a thumbs up if posts are helpful. Contact me privately for support with any larger-scale BI needs, tutoring, etc. |
Hi @Anonymous
Create a new calculated table:
Table 2 =
FILTER (
'Table',
VAR day_ =
DATEVALUE ( 'Table'[date] )
VAR latest_ =
CALCULATE (
MAX ( 'Table'[date] ),
DATEVALUE ( 'Table'[date] ) = day_,
ALLEXCEPT ( 'Table', 'Table'[name] )
)
RETURN
latest_ = 'Table'[date]
)
This could also be done in Power Query
|
Please accept the solution when done and consider giving a thumbs up if posts are helpful. Contact me privately for support with any larger-scale BI needs, tutoring, etc. |
Hi,
Thanks! As a table your solution seems to be working fine but when adding a measure to get the information for the latest day I now only get the same value for each name. The same measure use to work with the original table.
The measure I'm using is:
Julia
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 |
---|---|
14 | |
11 | |
10 | |
10 | |
9 |
User | Count |
---|---|
18 | |
13 | |
12 | |
11 | |
8 |