Forum Discussion
Remove Duplicates
- 6 years ago
Hi,
This M code should let you comobine text with number
=Text_column&Number.ToText(Numeric_column)
Replace Text_column and Numeric_column with your actua table and column names.
Hi,
This M code should let you comobine text with number
=Text_column&Number.ToText(Numeric_column)
Replace Text_column and Numeric_column with your actua table and column names.
Thank you so much I found it.
- Ashish_Mathur6 years agoSuper User
You are welcome.
- cham6 years agoPost Patron
Hi,
Is there any way that I can get the average of sales according to that state and postcode column.
I want to get the average if because there are duplicate values in state and postcode column. So I want to get the average of all the NSW2019 COLUMN.
How can I do that.
I used below in Data tab and it worked. How can I do it in transform tab?
Average Sales = CALCULATE(AVERAGE('Sales'[Sales]), FILTER('Sales','Sales'[PostCode and State] = EARLIER('Sales'[PostCode and State])))- Ashish_Mathur6 years agoSuper User
Hi,
It is best to write a measure (DAX formula) to solve this question rather than write a M language code.