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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
vsatamraju
Employee
Employee

Default current data update in power bi

Hello Team,

 

I have three reports and one timeline slicer to set the time frequency.

My reports are frequently refreshed i.e twice a day .

Now, The problem here is when report got refreshed ,lastest data is updating but still the slicer is set to the old date and i need to adjust the slicer with latest date 😞

Is ithere any wasy to set the current date as today in power bi  .

 

Thanks for the help 🙂

 

 

1 ACCEPTED SOLUTION
v-ljerr-msft
Employee
Employee

Hi @vsatamraju,

 

In this scenario, you should be able to use similar formula like below to create a calculate column in your Date table to flag if the date is the latest date, then use the created calculate column "IsLatestDate" as a Slicer with "LatestDate" selected on your report.Smiley Happy

IsLatestDate =
IF (
    DateTable[Date] = CALCULATE ( MIN ( DateTable[Date] ), ALL ( DateTable ) ),
    "LatestDate",
    "OtherDates"
)

latestDate.PNG

 

Regards

View solution in original post

1 REPLY 1
v-ljerr-msft
Employee
Employee

Hi @vsatamraju,

 

In this scenario, you should be able to use similar formula like below to create a calculate column in your Date table to flag if the date is the latest date, then use the created calculate column "IsLatestDate" as a Slicer with "LatestDate" selected on your report.Smiley Happy

IsLatestDate =
IF (
    DateTable[Date] = CALCULATE ( MIN ( DateTable[Date] ), ALL ( DateTable ) ),
    "LatestDate",
    "OtherDates"
)

latestDate.PNG

 

Regards

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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