Filter Stops Working After Uploading to Power BI Service

Lali2023

New Member
Joined
Nov 29, 2023
Messages
11
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hello,

On Power BI Desktop, I have a filter that will only show items due today. This is the formula I use in the created column to single out today:

This_Day = IF('Combined Tables'[Due Date] = TODAY(),1,0)

In the table that is supposed to do the filter, it works fine, showing what is due.

However, when I uploaded the file and the semantic model to Power BI, instead of listing today's item as '1,' it changed it to '0.' I had tried to change the semantic model to say '1,' but the report does not function as it did in the Desktop version.

Does anyone have an idea what I'm doing wrong?
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
when using Power VI desktop, the semantic model uses your local PC time to determine what is today. When you upload to the service, it uses UTC to deferment what is today. To solve this, you can add a certain number of hours or subtract a certain number of hours in order to get your local time zone, eg
=Today() +time(10,0,0)
 
Upvote 0
Hi Matt,
Thank you for responding. I adjusted the formula to this:

This_Day = IF('Combined Tables'[Due Date] = TODAY(),1,0)+time(10,0,0)

and it gave a result of 12/30/1899 10:00 AM. Do I need to use DAX to do the IF statement and then change the time?
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,205
Members
452,618
Latest member
Tam84

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top