Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I have 3 fields Serial, Date and Temp. The date field is actually a date time field I converted to just a date. I am trying to get the max Temp per date for each serial number.
In the past I have done this to get the max date of each serial and filter on only the columns with 1.
Max Date = IF('Export'[datetime]=CALCULATE(MAX('Export'[datetime]),ALLEXCEPT('Export','Export'[serialnumber])),1,0)
The complexity here is adding the Temp. I need to flag each row somehow that this is the max temp for that serial on that day.
Here is a sample of what I am trying to do. I dont necessarly need a max temp column with 1,0 but that how I was able to do it before.
Solved! Go to Solution.
if([Temp] = maxx(filter(Table, [serial] = earlier([Serial]) && [Date] = earlier([Date]) ) ,[Temp]) ,1,0 )
if([Temp] = maxx(filter(Table, [serial] = earlier([Serial]) && [Date] = earlier([Date]) ) ,[Temp]) ,1,0 )
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 |
---|---|
15 | |
11 | |
11 | |
10 | |
10 |
User | Count |
---|---|
19 | |
14 | |
14 | |
11 | |
8 |