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
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
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.