Forum Discussion
DAX Formula for subtracting
Are you editing things in Power BI Desktop?
https://www.simple-talk.com/sql/bi/direct-query-power-bi/
Yep, using powerBi Desktop and using Direct Query
- parry2k9 years agoSuper User
What is the data type for the field in SQL? What I can see from your screen shot, it is treating the field as string than number field. Can you click on the table as per screen shot 1 and then select modelling table, select field and change it to number (not sure if direct query allows that), if not then probably you need to create a column using dax and convert it to number:
Add new column called, for example new column is called myValue
myValue = VALUE(Table1[TextField])
I didn't tested above formula but we can always fix it in case there is an issue.
Thanks,
- Wise19 years agoHelper I
Thanks,
The PowerBi desktop doesnt have that circled calandar icon, not sure if its the same thing, but i have changed the type here;
- parry2k9 years agoSuper User
Yes this is correct, becuase of live connection, you don't see that circled image which I sent. My bad.
Hope it fixed your issue.