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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
sw123
Helper III
Helper III

Use only last value

Hi,

 

I have a table that looks like this:

DateItemAmountEvent
14.5.2024A2607,09A
14.5.2024A2285,214B
14.5.2024A2090,322C
14.5.2024B9750A
14.5.2024B9000B
14.5.2024B9000C
13.5.2024A2622A
13.5.2024A2345B
13.5.2024A2765C
13.5.2024B9876A
13.5.2024B9200B
13.5.2024B9200C

 

I would like my report to show only the first value per item and date. How do I do that?

 

Thankful for help!

1 ACCEPTED SOLUTION
ddpl
Solution Sage
Solution Sage

@sw123 Cerate Measure as per below and use as filter

Measure = SWITCH(
    TRUE(),
    MAX('Table (4)'[Date]) = MAX('Table (4)'[Date]) && MIN('Table (4)'[Event]) = "A", 1,)

 

ddpl_0-1715684270734.png

 

 

 

 

 

View solution in original post

2 REPLIES 2
ddpl
Solution Sage
Solution Sage

@sw123 Cerate Measure as per below and use as filter

Measure = SWITCH(
    TRUE(),
    MAX('Table (4)'[Date]) = MAX('Table (4)'[Date]) && MIN('Table (4)'[Event]) = "A", 1,)

 

ddpl_0-1715684270734.png

 

 

 

 

 

Anand24
Super User
Super User

@sw123 ,
How are you determining the first value for a day if time is not available in the data? What should be the expected output for the sample data you provided?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.