Forum Discussion
Malo
6 years agoRegular Visitor
operand error for sum with directquery
Dear all, I've an issue with the last version of Power BI (2.84.981.0 64-bit (august 2020)). I've opened an old report, last modified on 08th June 2020 (it work well with no problem), and I've added...
- Anonymous5 years ago
Hi Malo ,
You could create a measure using VALUE() function to convert text to number.
Then use SUMX() function to calculate the sum of measure.
Measure = VALUE(SELECTEDVALUE('Table'[Column1])) Measure 2 = SUMX('Table',[Measure])
Best Regards,Jay
Anonymous
5 years agoNot applicable
Hi Malo ,
You could create a measure using VALUE() function to convert text to number.
Then use SUMX() function to calculate the sum of measure.
Measure = VALUE(SELECTEDVALUE('Table'[Column1]))
Measure 2 = SUMX('Table',[Measure])
Best Regards,
Jay
Malo
5 years agoRegular Visitor
Thanks for the solution. It work well