Closed safer-lgtm closed 2 months ago
To resolve the issue of seeing -1 and 0 instead of TRUE and FALSE in Power BI Service, I created a calculated column to convert the values.
Billable_Converted = SWITCH(
TRUE(),
'Table'[Billable] = -1, TRUE(),
'Table'[Billable] = 0, FALSE(),
'Table'[Billable] = TRUE, TRUE(),
'Table'[Billable] = FALSE, FALSE(),
BLANK()
)
Billable
column.TRUE
values.However, I'm not entirely sure what caused the issue in the first place. It could be due to API discrepancies or some other reason.
I created a small report considering Billable Hours, but after the refresh, although it was set to TRUE in Power BI Desktop, I get -1 and 0 instead after the refresh in Power BI Service. Any idea why this might be happening?
Here is how it looks in Power BI Desktop:
Here is how it looks in Power BI Service: