Forum Discussion
Measure Correct on Desktop, but Incorrect When Published
- 9 years ago
Hey thanks for responding.
I deleted the measure and recreated it a few times, and suddenly the issue dissappeared...really unsure how it fixed itself, but I guess simplifying the formula (as mentioned above) and just clearing whatever cache it was working with (by deleting/recreating the measure) seems to have fixed it.
I will come back to this thread if I run into this issue again.
What's your data source?
I haven't reproduced your issue.
I created a sample table like yours, the measure shows same data in Power BI Desktop and Service.
Late Projects =
IF (
ISBLANK (
COUNTROWS (
FILTER (
DISTINCT ( SELECTCOLUMNS ( Table3, "Late", Table3[YESProjectLate] ) ),
NOT ( ISBLANK ( [Late] ) )
)
)
),
0,
COUNTROWS (
FILTER (
DISTINCT ( SELECTCOLUMNS ( Table3, "Late", Table3[YESProjectLate] ) ),
NOT ( ISBLANK ( [Late] ) )
)
)
)
Regards,
Hey thanks for responding.
I deleted the measure and recreated it a few times, and suddenly the issue dissappeared...really unsure how it fixed itself, but I guess simplifying the formula (as mentioned above) and just clearing whatever cache it was working with (by deleting/recreating the measure) seems to have fixed it.
I will come back to this thread if I run into this issue again.
- lovedatsnow6 years agoNew Member
I ran into this same issue. Was able to resolve by unpublishing the app, then republishing it. Looks like that may have reset from cache in the power bi service.