Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
blockingHD
New Member

Differences between imported data in PowerBi desktop and Service

I am using the following function to determin if an entity from Dynamics 365 was created last month:

Date.IsInPreviousMonth([createdon])

 

In PowerBI desktop this gives me this result as either 'TRUE' or 'FALSE':

image.png

 

However in PowerBI service it is returning '0' or '-1':

image.png

 

So when the report gets published it breaks any page that uses this filter. Any ideas why this is happening and if it is a bug or not?

2 ACCEPTED SOLUTIONS

Hi @v-piga-msft,

 

Thank you for the reponce I have tried uploading that PBIX and it works correctly showing TRUE and FALSE on both PowerBi desktop and PowerBi service. This rules out the function being an issue maybe it is the datasource?

 

Kind regards,

Blocking

View solution in original post

Hi @blockingHD ,

Do you publish the same report?


This rules out the function being an issue maybe it is the datasource?


I'm not sure either. I have not had this issue before.

May be this is an template issue. Please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

Best  Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @blockingHD ,

By my tests, I cannot reproduce your issue in my site.

Capture.PNG

Please have a test with my test pbix which I have attached to check if you still have this issue in power bi service.

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-piga-msft,

 

Thank you for the reponce I have tried uploading that PBIX and it works correctly showing TRUE and FALSE on both PowerBi desktop and PowerBi service. This rules out the function being an issue maybe it is the datasource?

 

Kind regards,

Blocking

Hi @blockingHD ,

Do you publish the same report?


This rules out the function being an issue maybe it is the datasource?


I'm not sure either. I have not had this issue before.

May be this is an template issue. Please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

Best  Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.

Top Solution Authors
Top Kudoed Authors