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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
vsatamraju
Microsoft Employee
Microsoft 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
Microsoft Employee
Microsoft 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
Microsoft Employee
Microsoft 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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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