cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jonnyA
Post Patron
Post Patron

I have an error on a formula I cannot figue out

I cant figure why this formula isn't working?

 

AR From Billed Claims = SUM('New_Demo_Charge_Dataset'[Balance]) - [AR Related To Credentialing]
Anyone know what I am doing wrong?  It works on some other dataset i am using.  i just copied it over.
Thank you in advance for your help!
See below for error ...
jonnyA_0-1634933756143.png

 

1 ACCEPTED SOLUTION
jonnyA
Post Patron
Post Patron

The reason the formula's were not working was because The Billing Day was text.

View solution in original post

3 REPLIES 3
jonnyA
Post Patron
Post Patron

The reason the formula's were not working was because The Billing Day was text.

View solution in original post

v-stephen-msft
Community Support
Community Support

Hi @jonnyA ,

 

The error message tells us that your data type is wrong. Please check whether there is text in your data type and modify your data type.

 

https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-data-types

https://docs.microsoft.com/en-us/power-query/data-types

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

aj1973
Community Champion
Community Champion

Hi @jonnyA 

You Copied the formula from Import mode Model to Live connection mode on SSAS? 

SSAS can reject some DAX formulas espacially when the Format of the columns are not the same, like the one you have. I think you have a column that's been formated in Power Query via Import mode and when you want to use Live connection mode to SSAS, this late didn't recognize the new Format.

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Helpful resources

Announcements
Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors