Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

display penultimate application hour meter

Hi misters.

I have a problem that I have already resorted to different measures, I used max, keep filters, created virtual tables, relashionship and I could not solve it when filtering for example 11/01/2022 the penultimate hourmeter needs to be displayed, the problem happens if I filter 11/01 /2022 the hourmeter for that date only is displayed.

 

 

jeanso_1-1675044073406.png

 

2 REPLIES 2
FreemanZ
Super User
Super User

hi @Anonymous 

try like:

Measure =
VAR _date = SELECTEDVALUE(TableName[Date])
RETURN
MAXX(
    FILTER(
        ALL(TableName),
       TableName[Date]<_date
    ),
   TableName[Hourmeter]
)
Anonymous
Not applicable

the report still has failures, if I filter only 12/30 it doesn't return me the correct value.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.