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
thiagocamillo
Helper I
Helper I

Fixed sliced date in a column without chage by row context

Hi,

I need help to fixed a date sliced on a colum without change contex by rows.

I tried ALL, ALLSELECTED, ALLEXCEPTED.... but i did't have the expected result.

I would appreciate if anyone can help

 

-----------------
Calc. Data de Referencia (IRC) =
var vIS =
CALCULATE(
MIN(DimData[Date]),
ALLSELECTED(DimData[Date])
)
return
vIS"

------------------

thiagocamillo_1-1655724373089.png

 

thiagocamillo_2-1655724410106.png

thiagocamillo_3-1655724434521.png

 

 

 

1 ACCEPTED SOLUTION
thiagocamillo
Helper I
Helper I

3 REPLIES 3
thiagocamillo
Helper I
Helper I

For the solution of this case I wached this video Power BI From and To Date Filtering with One Slicer - YouTube

  and before pubished this arcticle to my especific preoblem.

Modelo para analise de dados em Power BI (DAX) analisando o contexto de intervalo de tempo ou duas d...

thiagocamillo
Helper I
Helper I

Hi, @amitchandak 

thanks but it still didn't work as expected, the date is now with the general minimum, not following the slicer. (Ex. Slicer 01/04/2022 and data 01/01/2021 (Minimum of dimdata)

 

 

amitchandak
Super User
Super User

@thiagocamillo , try like

 

Calc. Data de Referencia (IRC) =
var vIS =
CALCULATE(
MIN(DimData[Date]),
ALLSELECTED(DimData)
)
return
vIS

 

or


Calc. Data de Referencia (IRC) =
var vIS =
CALCULATE(
MIN(DimData[Date]),
ALLSELECTED()
)
return
vIS

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

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