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

View all the Fabric Data Days sessions on demand. View schedule

Reply
caitertotz
Regular Visitor

Find last value based on date

I have been racking my brain for days now trying to get this to work. I have a series of data each with several dates for each month, I need my report to ONLY show me the last current date of the month selected from the slicer & corresponding values.  (i.e. I select March from my slicer, it should only show me the values for 3/25/18 56,315 - Paperless, 189,626 - Paper, 12,287 - Combo)

 

I need to only use one slicer for all visuals, by month. There has to be an easy way?!

 

data 1.png

1 ACCEPTED SOLUTION
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @caitertotz,

 

You could get your expected output by the following steps.

 

1. Create a calculated table below to get the Week of value.

 

Table = VALUES(Table1[Week of ])

2. Create a measure below in the Table to filter.

 

selected = 
IF(SELECTEDVALUE(Table1[Week of ]) = MAXX(ALLSELECTED('Table'),[Week of ]),1,0)

3.  Put the selected measure in Visual level filters and create the visual.

 

Capture44.PNG

 

 

In addition, you could have a reference of my test pbix file.

 

Hope it can help you !Smiley Tongue

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @caitertotz,

 

You could get your expected output by the following steps.

 

1. Create a calculated table below to get the Week of value.

 

Table = VALUES(Table1[Week of ])

2. Create a measure below in the Table to filter.

 

selected = 
IF(SELECTEDVALUE(Table1[Week of ]) = MAXX(ALLSELECTED('Table'),[Week of ]),1,0)

3.  Put the selected measure in Visual level filters and create the visual.

 

Capture44.PNG

 

 

In addition, you could have a reference of my test pbix file.

 

Hope it can help you !Smiley Tongue

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

Top Solution Authors
Top Kudoed Authors