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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

select MIN date of relative date slicer in every row of table

Hi! I have this measure:

Measure = 
VAR FECHA = CALCULATE(MIN('DATA BASE'[DATE]),ALLSELECTED('DATA BASE'[DATE]),VALUES('DATA BASE'[resp x dep 2]))
RETURN FECHA

and in my table is returning me this:

Captura.PNG

i want to force the measure to only display the values that have information in the MIN date selected in the slicer. Similar as when I select the specific date:

Captura2.PNG

I will use this variable for another measure

Thank you for the help!!

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , try like

Measure =
var _min = minx(allselected('DATA BASE'),'DATA BASE'[DATE])
RETURN
CALCULATE(MIN('DATA BASE'[DATE]),filter('DATA BASE','DATA BASE'[DATE]=_min ))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
lbendlin
Super User
Super User

The slicer needs to be fed from an independent date table.

 

Create a measure that compares your fact date to the min slicer date

 

Show Row :=
VAR FECHA = MIN('SLICER'[DATE])
Return 'DATA BASE'[Start]=FECHA

 

Then filter the visual by Show Row = True

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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