Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello,
I have a table that displays activities due today. In the data table, I have a column that marks today with a '1' and the filter works fine in Power BI Desktop.
When I uploaded the report to Power BI Service, the row that has the '1' gets turned to a '0.' I went into the semantic model online and changed the value, refreshed it, but will not show up in the filtered table.
I have a gateway connected to the data, but do not know why the value would change from one format to the other.
Does anyone have an idea why this would happen?
Hello @Sahir_Maharaj ,
I tried the DAX and keep getting the errors listed above. Do you have any ideas how I can adjust code?
Hello @Anonymous,
Can you please try this DAX:
Today Flag =
VAR TodayUTC = TODAY()
VAR LocalTimeOffset = -5 // Example: EST is UTC-5. Adjust this based on your time zone.
VAR AdjustedToday = DATEADD(TodayUTC, LocalTimeOffset, HOUR)
RETURN
IF (
YourTable[YourDateColumn] = AdjustedToday,
1,
0
)
Hope this helps.
Hi Sahir,
Another error I'm receiving says that the last argument of the the DateAdd function has to be Day, Month, Quarter, Year. Will the function still work with Hour?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
75 | |
68 | |
41 | |
35 |
User | Count |
---|---|
102 | |
56 | |
52 | |
46 | |
40 |