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
gellmann94
Frequent Visitor

Excel Online Data source with calculated columns

Hello,

I have the following scenario.
My data source is an exce spreadsheet online (I am using it online so that I don't need a gateway).

Some of columns have formulas to give value to the cell.
An example would be If(Date<Today();1;0).
This is a very easy case, but to give to idea of a cell's value updating with time.

What I have noticed, however, is that this logic of updating with time seems not to work with automated refresh.
What I mean is that inside PowerBI, I don't get the actual value of the cell, but rather the value that the cell had when it was firstly uploaded, even though on the excel online ( the data source) the value is updated correctly.

Is this working as intended or did I miss something?

 
 
 




1 ACCEPTED SOLUTION

Hi @gellmann94 ,

AFAIK, power bi service will convert DateTime values to UTC format instead keep the original format(local timezone). I think your scenario may be related to DateTime UTC conversion, you can check the following blog to know more about this:

Convert UTC to Local Time with Daylight Savings Support in Power BI 
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

4 REPLIES 4
v-shex-msft
Community Support
Community Support

Hi @gellmann94 ,

As the document said, it seems like related to your workbook and refresh settings, can you please share more about your refresh settings?

How to Get Your Question Answered Quickly  

DAX TODAY function 
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

I would like to add some pictures to my words, to clarify what I mean:

In the first picture you can see the offers that are included in the data model.
Please note that there aren't any offers whose data is later than 8/12/2019 (8th of December)


PBI Model Data.png

 

The second picture shows what happens if I apply the same selection criteria to the data on the excel online data source.
As you can see there are plenty offers with date greater than 8/12/2019.

Excel Online.png

Finally, please note that I manually refreshed the dataset before taking these screenshots and nothing changed.

 

 

Hi @gellmann94 ,

AFAIK, power bi service will convert DateTime values to UTC format instead keep the original format(local timezone). I think your scenario may be related to DateTime UTC conversion, you can check the following blog to know more about this:

Convert UTC to Local Time with Daylight Savings Support in Power BI 
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Hello Xiaoxin, thank you for your answer.

I am not sure if I made it clear enough in my original post, but all the time logic is implemented in the online excel data source, therefore I don't understand why you linked the article about the TODAY() function in DAX.

Anyway, I am glad to provide the details about my refresh setting, if you can clarify what those are.

Do you mean how the refresh is scheduled for the Power BI Data Set in the Service?
In this case, the data is refreshed daily at midnight.

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.