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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
alsm
Helper III
Helper III

Filter table dates based on date in measure

On screen I have date slicer

alsm_0-1697817890369.png

I have measures like max date, previous month end, previous quarter end, previous year end

MaxSelectDate = MAX(Dates[Date])
PrevME = DATE(YEAR([MaxSelectDate]), MONTH([MaxSelectDate]),1)-1
PrevQE = EOMONTH(Date(Year([MaxSelectDate]),INT(DIVIDE(MONTH([MaxSelectDate])-1,3))*3,1),0)

I wish to display table like

alsm_1-1697818124653.png

 

However, I want to show only dates corresponding to MaxSelectDate, PreviousME and PreviousQE.

How can I add this in a filter?

 

Another related question, Is there a way I 'display' calculated table which is essentially a filtering above table based on selected measures

3 REPLIES 3
alsm
Helper III
Helper III

Thank you fr your reply. I will not contort myself

Is there a way to show data for a few selected dates like PreviousME (last month end), PreviousQE (last quarter end), PreviousYE (last year end)

you can use your measures for that. Consider feeding the slicer from a disconnected table. Not absolutely required but would make it a bit easier to troubleshoot.

lbendlin
Super User
Super User

Another related question, Is there a way I 'display' calculated table which is essentially a filtering above table based on selected measures

You can use table variables inside a measure but the eventual result must be a scalar value. If you really want to contort yourself you can stuff the table data into a concatenated string and display that.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors