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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.