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
cgillman
Regular Visitor

Custom columns that don't work on the web

I have a formula in my model that the website version doesn't seem to like.

In my query, I have a custom column that counts the number of days between 2 dates

PowerBI Issue 01.JPG

 

Both the CreateDate and PMStartDate are date only fields format as MM/DD/YYYY with no time.

It works really well on Power BI Desktop.

 

When I upload it to the web, I get an error on any visualization that has the custom column.

 

PowerBI Issue 03.JPG

 

 

Is there some reason why the website doesn't like the formula?

Is there a better formula to use to calculate the number of days between 2 dates?

 

Thanks

 

1 ACCEPTED SOLUTION
cgillman
Regular Visitor

I'd like to update everybody on this.

I tried deleting the dataset and re-uploaded the report and everything worked.

I'm not sure why it does this, but every once in a while, this specific report needs to be deleted on the web and re uploaded.

It should just replace the current template with the new one.

View solution in original post

1 REPLY 1
cgillman
Regular Visitor

I'd like to update everybody on this.

I tried deleting the dataset and re-uploaded the report and everything worked.

I'm not sure why it does this, but every once in a while, this specific report needs to be deleted on the web and re uploaded.

It should just replace the current template with the new one.

Helpful resources

Announcements
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