Forum Discussion
Raul
8 years agoPost Patron
DAX Measure to M language
Hello,
I need to convert this Measure to a new column into Query editor in M language:
TempFACT = CALCULATE(SUM(Task[Amount]);Task[Type]="A")
Is it possible?
Thank you!!
Hi Raul,
You can simply achieve it with Group By option in Edit Queries. Something like:
Thanks,
Xi Jin.
4 Replies
- v-xjiin-msftSolution Sage
Hi Raul,
You can simply achieve it with Group By option in Edit Queries. Something like:
Thanks,
Xi Jin.- RaulPost Patron
Thanks v-xjiin-msft, works correct.
- Greg_DecklerCommunity Champion
Why can't you just do it in a DAX calculated column?
Like:
TempFACT = SUMX(FILTER(ALL(Task),[Task]="A"),[Amount])
- RaulPost Patron
Hi Greg_Deckler
Because in the report page where there are this measure are a lot of them and I want to traspas it into the table in a column in the query because when I filter the report it's very slow.